Cant kill a non-numeric process ID in check_vmware_esx plugin

Written by - 0 comments

Published on - Listed in Monitoring Nagios Icinga Hardware VMware


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.

RSS feed

Blog Tags:

  AWS   Android   Ansible   Apache   Apple   Atlassian   BSD   Backup   Bash   Bluecoat   CMS   Chef   Cloud   Coding   Consul   Containers   CouchDB   DB   DNS   Database   Databases   Docker   ELK   Elasticsearch   Filebeat   FreeBSD   Galera   Git   GlusterFS   Grafana   Graphics   HAProxy   HTML   Hacks   Hardware   Icinga   Influx   Internet   Java   KVM   Kibana   Kodi   Kubernetes   LVM   LXC   Linux   Logstash   Mac   Macintosh   Mail   MariaDB   Minio   MongoDB   Monitoring   Multimedia   MySQL   NFS   Nagios   Network   Nginx   OSSEC   OTRS   Office   PGSQL   PHP   Perl   Personal   PostgreSQL   Postgres   PowerDNS   Proxmox   Proxy   Python   Rancher   Rant   Redis   Roundcube   SSL   Samba   Seafile   Security   Shell   SmartOS   Solaris   Surveillance   Systemd   TLS   Tomcat   Ubuntu   Unix   VMWare   VMware   Varnish   Virtualization   Windows   Wireless   Wordpress   Wyse   ZFS   Zoneminder