Header RSS Feed
 
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Cant kill a non-numeric process ID in check_vmware_esx plugin
Monday - Nov 27th 2017 - by - (0 comments)

If you get an UNKNOWN error back from check_vmware_esx.pl plugin, there was something wrong with the previous session to the server and the session file needs to be deleted.

Can't kill a non-numeric process ID at /usr/lib/nagios/plugins/check_vmware_esx.pl line 1747.

Cant kill a non-numeric process ID check_vmware_esx 

In Icinga2 these session files can by default be found in /var/spool/icinga2/tmp:

 # ls -la /var/spool/icinga2/tmp/ | grep session
-rw------- 1 nagios nagios  177 Mar  9  2017 192.168.12.66_session
-rw-r--r-- 1 nagios nagios    6 Mar 17  2017 192.168.12.66_session_locked
-rw------- 1 nagios nagios  177 Feb 28  2017 192.168.12.67_session
-rw-r--r-- 1 nagios nagios    6 Mar 17  2017 192.168.12.67_session_locked
-rw------- 1 nagios nagios  177 Nov 27 07:00 192.168.12.86_session
-rw-r--r-- 1 nagios nagios    6 Nov 27 07:00 192.168.12.86_session_locked
-rw------- 1 nagios nagios  177 Nov 27 07:00 192.168.12.87_session
-rw------- 1 nagios nagios  177 Nov 27 07:00 192.168.12.88_session
-rw------- 1 nagios nagios  177 Oct 14  2016 192.168.12.89_session
-rw-r--r-- 1 nagios nagios    5 Oct 14  2016 192.168.12.89_session_locked
-rw------- 1 nagios nagios  177 Nov 27 07:00 192.168.8.123_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.66_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.67_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.68_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.69_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.70_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.84_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.85_session
-rw-r--r-- 1 nagios nagios    6 Nov 27 07:00 192.168.8.85_session_locked
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.86_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.96_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.8.97_session
-rw------- 1 nagios nagios  176 Nov 27 07:00 192.168.9.66_session

Delete the files for the ESXi hosts which cause problems. This will force the plugin to create a new session file on the next run.

 

Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

7344 Days
until Death of Computers
Why?