check_esx3 issues with ESXi dswitch variable (Networking)
Posted: Wed Feb 13, 2013 8:08 am
Hi,
I'm using the Check_esx3.pl to monitoring the ESXi of my environment. I had added a lot of ESXi but now im having troubles with some ESXi that have dvswitch configured.
The plugin show me this error:
"ESX3 CRITICAL - Can't use an undefined value as an ARRAY reference at /usr/local/nagios/libexec/check_esx3.pl line 870."
But anyway the plugin can give me the received and send network variables. But dosen't give me the state of the Nics.
That what happend in the 870 line:
# see which NICs are actively part of a vswitch
foreach (@{$network_config->vswitch})
I have 24 more ESXi monitoring ok and all of them have simple vswithcs or simple and distributed together. Those that im having issues have only distributed.
You know why this can be happening???
It would help a lot!
thanks,
Mauricio
I'm using the Check_esx3.pl to monitoring the ESXi of my environment. I had added a lot of ESXi but now im having troubles with some ESXi that have dvswitch configured.
The plugin show me this error:
"ESX3 CRITICAL - Can't use an undefined value as an ARRAY reference at /usr/local/nagios/libexec/check_esx3.pl line 870."
But anyway the plugin can give me the received and send network variables. But dosen't give me the state of the Nics.
That what happend in the 870 line:
# see which NICs are actively part of a vswitch
foreach (@{$network_config->vswitch})
I have 24 more ESXi monitoring ok and all of them have simple vswithcs or simple and distributed together. Those that im having issues have only distributed.
You know why this can be happening???
It would help a lot!
thanks,
Mauricio