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
check_esx3 issues with ESXi dswitch variable (Networking)
-
- Posts: 36
- Joined: Wed Dec 26, 2012 10:52 am
Re: check_esx3 issues with ESXi dswitch variable (Networking
Just to clarify, you are only having problems with the distributed vswitches, is that correct?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 36
- Joined: Wed Dec 26, 2012 10:52 am
Re: check_esx3 issues with ESXi dswitch variable (Networking
Yes, Thats correct !
Re: check_esx3 issues with ESXi dswitch variable (Networking
What version of the plugin are you running (there are many, many different versions)?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 36
- Joined: Wed Dec 26, 2012 10:52 am
Re: check_esx3 issues with ESXi dswitch variable (Networking
Im using check_esx3.pl 0.2.0
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_esx3 issues with ESXi dswitch variable (Networking
Can you unzip and try the attached file (make a backup of your original)
This is 0.5.0 and it does appear that the vswitch items were re-worked a bit.
This is 0.5.0 and it does appear that the vswitch items were re-worked a bit.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 36
- Joined: Wed Dec 26, 2012 10:52 am
Re: check_esx3 issues with ESXi dswitch variable (Networking
Now it working ok!
The new plugin solve the issue.
Thanks a lot for your help!!!!!!!!
Best Regards,
The new plugin solve the issue.
Thanks a lot for your help!!!!!!!!
Best Regards,
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_esx3 issues with ESXi dswitch variable (Networking
Thanks for the reply! Glad its working!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.