Issue with networking monitoring on VMWare 6
Posted: Wed Oct 25, 2017 6:39 am
Hi,
we have the following problem:
When we try to monitor the network of a host of VMWare 6 via vCenter with version check_esx3.pl it produces an error:
/usr/local/nagios/libexec/check_esx3.pl -H "10.10.10.66" -f "/usr/local/nagiosxi/etc/components/vmware/vCenter_6_auth.txt" -l "net"
ESX3 CRITICAL - Can't call method "network" on an undefined value at /usr/local/nagios/libexec/check_esx3.pl line 858. | net_receive=0.00KB;; net_send=0.00KB;;
When we perform:
[root@l3cnagint libexec]# /usr/local/nagios/libexec/check_esx3.pl -D "10.10.10.66" -f "/usr/local/nagiosxi/etc/components/vmware/vCenter_6_auth.txt" -l "net"
ESX3 OK - net receive=0.00 KB/s, send=61.00 KB/s | net_receive=0.00KB;; net_send=61.00KB;;
works but does not give information on the attached network adapters as on VMWare 6.5.
If we try to monitor a specific host it also produces an error:
/usr/local/nagios/libexec/check_esx3.pl -D "10.10.10.66" -H 10.10.10.41 -f "/usr/local/nagiosxi/etc/components/vmware/vCenter_6_auth.txt" -l "net"
ESX3 CRITICAL - Can't call method "network" on an undefined value at /usr/local/nagios/libexec/check_esx3.pl line 858. | net_receive=0.00KB;; net_send=0.00KB;;
Plugin's version is:
./check_esx3.pl -V
check_esx3.pl 0.2.1
Details of our implementation:
CentOS Linux release 7.3.1611 64 bit
Manual Install of Nagios XI
No special configurations on our system, ie; is Gnome installed
We are not using a proxy
We are using Nagios XI 5.4.7.
we have the following problem:
When we try to monitor the network of a host of VMWare 6 via vCenter with version check_esx3.pl it produces an error:
/usr/local/nagios/libexec/check_esx3.pl -H "10.10.10.66" -f "/usr/local/nagiosxi/etc/components/vmware/vCenter_6_auth.txt" -l "net"
ESX3 CRITICAL - Can't call method "network" on an undefined value at /usr/local/nagios/libexec/check_esx3.pl line 858. | net_receive=0.00KB;; net_send=0.00KB;;
When we perform:
[root@l3cnagint libexec]# /usr/local/nagios/libexec/check_esx3.pl -D "10.10.10.66" -f "/usr/local/nagiosxi/etc/components/vmware/vCenter_6_auth.txt" -l "net"
ESX3 OK - net receive=0.00 KB/s, send=61.00 KB/s | net_receive=0.00KB;; net_send=61.00KB;;
works but does not give information on the attached network adapters as on VMWare 6.5.
If we try to monitor a specific host it also produces an error:
/usr/local/nagios/libexec/check_esx3.pl -D "10.10.10.66" -H 10.10.10.41 -f "/usr/local/nagiosxi/etc/components/vmware/vCenter_6_auth.txt" -l "net"
ESX3 CRITICAL - Can't call method "network" on an undefined value at /usr/local/nagios/libexec/check_esx3.pl line 858. | net_receive=0.00KB;; net_send=0.00KB;;
Plugin's version is:
./check_esx3.pl -V
check_esx3.pl 0.2.1
Details of our implementation:
CentOS Linux release 7.3.1611 64 bit
Manual Install of Nagios XI
No special configurations on our system, ie; is Gnome installed
We are not using a proxy
We are using Nagios XI 5.4.7.