Page 1 of 1

Nagios XI identifying unplugged NICs on ESXi Hosts

Posted: Tue Oct 24, 2017 10:55 am
by REFan
I wanted to know what people prefer to do or what may be best practice when monitoring an ESXi host. We are running XI 5.4.8 and using CHECK_ESX3.PL to check the network status.
Ive looked at some of the documentation for this plugin to see if I can make specific NICs an exemption or ignore them but have not had any success making custom commands.

Does anyone have a recommendation? I dont want to have open alerts because NICs are unplugged that I dont need. Maybe I should make a change within VCenter?

Here is an example error:
CHECK_ESX3.PL CRITICAL - net receive=0.00 KBps, send=0.00 KBps, 2/6 NICs are disconnected: , vmnic3 is unplugged, vmnic2 is unplugged

Re: Nagios XI identifying unplugged NICs on ESXi Hosts

Posted: Tue Oct 24, 2017 2:53 pm
by bolson
The function proto in the script looks like this:

Code: Select all

+ nic - makes sure all active NICs are plugged in\n"
That said... a solution would be to deactivate NICs which are not in use. It's likely that the only other solution would be to modify the script as there doesn't appear to be an option to exclude network interfaces.