Re: check_wmi_plus and check_win_eventlog showing no events
Posted: Wed Jul 06, 2016 10:27 am
I reverted to the previously installed version to allow time for other projects and then to revisit this again. The error I got was this,
"SERVICE ALERT: <hostname>;CPU Utilization Detail;CRITICAL;HARD;3;(No output on stdout) stderr: execvp(/usr/local/nagios/bin/plugins/check_wmi_plus/check_wmi_plus.pl, ...) failed. errno is 2: No such file or directory"
So, that told me the files were not in the correct place or the config file was not correct.
Reviewing the upgrade instructions, http://edcint.co.nz/checkwmiplus/?q=upgrading, it's a little unclear what gets put into the /nagios/etc directory. Do the individual files go in there or does the entire directory of this files go into the /nagios/etc directory. From the page, "Move the etc directory to /etc (Make sure they are all readable and writable by the Nagios user)." Should I put the entire directory from the upgrade into the /etc folder?
Thanks for your assistance tgriep! You're a big help!
"SERVICE ALERT: <hostname>;CPU Utilization Detail;CRITICAL;HARD;3;(No output on stdout) stderr: execvp(/usr/local/nagios/bin/plugins/check_wmi_plus/check_wmi_plus.pl, ...) failed. errno is 2: No such file or directory"
So, that told me the files were not in the correct place or the config file was not correct.
Reviewing the upgrade instructions, http://edcint.co.nz/checkwmiplus/?q=upgrading, it's a little unclear what gets put into the /nagios/etc directory. Do the individual files go in there or does the entire directory of this files go into the /nagios/etc directory. From the page, "Move the etc directory to /etc (Make sure they are all readable and writable by the Nagios user)." Should I put the entire directory from the upgrade into the /etc folder?
Thanks for your assistance tgriep! You're a big help!