BaldMansMojo / check_vmware_esx

chech_vmware_esx Fork of check_vmware_api.pl
GNU General Public License v2.0
124 stars 67 forks source link

Can't run check_vmware_esx #46

Closed goku417 closed 10 years ago

goku417 commented 10 years ago

Hi,

When I try to run check_vmware_esx.pl, I get that:

Unable to create session lock file "/var/nagios_plugin_cache/192.168.4.77_session_locked"

Can somebody help me please ? It would be greatly appreciated.

Thanks !

BaldMansMojo commented 10 years ago

Hi,

line 1228: my $plugin_cache="/var/nagios_plugin_cache/"; # Directory for caching paugin data. Good idea to use a tmpfs

because it speeds up operation

Adopt to your needs. You can use /tmp for example here. I use a special cache directory which is a tmpfs. A tmpfs is only located in memory and therefore speeds up the process.

Best wishes Martin

goku417 commented 10 years ago

Thank you!