Page 1 of 1
VMware monitoring alert level
Posted: Sat Jan 16, 2016 10:28 am
by tomi3
Hi guys,
I've just added a vSphere ESXi host into the Nagios and Monitor a guest VM CPU/MEM/NETWOEK, and everything works fine with service "OK". I'm wondering how I can set up a threshold of the alert, e.g. if network traffic exceed 1Mbps, it should a alert of critical, not OK anymore.
Re: VMware monitoring alert level
Posted: Mon Jan 18, 2016 1:38 pm
by lmiltchev
Can you show us the actual command that you are running from the command line along with the output of it? You should be able to pass "-w" and "-c" flags for the warning and critical thresholds... This is from the plugin's help:
Re: VMware monitoring alert level
Posted: Mon Jan 18, 2016 9:36 pm
by Box293
I suggest you try box293_check_vmware which can be downloaded here:
http://exchange.nagios.org/directory/Pl ... re/details
There is also a wizard for it:
http://exchange.nagios.org/directory/Ad ... rd/details
There are checks specifically for NIC usage (Host_pNIC_Usage).
Re: VMware monitoring alert level
Posted: Fri Jan 22, 2016 9:36 am
by tomi3
Thanks @lmiltchev.
I'm running Nagios XI 5.2.3 with VMware wizard imbed. But wizard does't provide the threshold change. How can I show the CLI?
Re: VMware monitoring alert level
Posted: Fri Jan 22, 2016 10:32 am
by tomi3
Thanks @Box293
Wondering whether the wizard support GUI threshold tuning?
Re: VMware monitoring alert level
Posted: Fri Jan 22, 2016 10:40 am
by tomi3
@lmiltchev Just found it's using ESX3 plugin by Nagios XI 5.2.3 as the default VMware wizard. Any idea on how to set up the threshold?
Also I want to set up different threshold based on the service. e.g. I have two VM, for VM1, the bandwidth for critical threshold is 50%, for VM2, will be 20%, is this feasible?
Re: VMware monitoring alert level
Posted: Fri Jan 22, 2016 1:49 pm
by hsmith
Have you attempted to look at the service in the core configuration manager? You can change anything that was set up by the configuration wizard inside of there.
Re: VMware monitoring alert level
Posted: Mon Jan 25, 2016 5:08 pm
by Box293
tomi3 wrote:Thanks @Box293
Wondering whether the wizard support GUI threshold tuning?
Yes, with every check available in the Wizard you can change the thresholds and the unit type as well (the plugin supports many different options).