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

Required trailing slash for $plugin_cache #56

Closed haukebruno closed 9 years ago

haukebruno commented 9 years ago

A trailing slash is required when setting _$plugincache. Without the trailing slash, line 1639 will fail while executing the check.

It would be cool, if you can add a "trailing slash check" like in line 1633-1635 for _$sessionfilename.

BaldMansMojo commented 9 years ago

This is the default as deliverd:

my $plugin_cache="/var/nagios_plugin_cache/"; # Directory for caching plaugin data. Good idea to use a tmpfs You see there is a trailing slash. Perhaps you have deleted when you customized it. No one else had this problem.

Sorry - Martin