how to set threshold for vmware esx servers

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

how to set threshold for vmware esx servers

Post by venkitesh »

hi team,

whenever i am adding a windows or linux servers, i am able to set the thresold for cpu, memory or disk space.

But when i am adding a vmware esx host,

1. threshold screen is not available for cpu, or memory or datastore.

so how will set alerts when datastores has gone 90% above or cpu or memory is high.

Please advise.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: how to set threshold for vmware esx servers

Post by jdalrymple »

The vmware checks are tricky because of the way the plugin is written. Please see the attachment.

Things to note in this modified version of the service check are all related to $ARG3$

1) There needs to be a leading space
2) In order for the behavior to be proper you must add colons after the thresholds
3) If you want percentages, add the literal "%" as seen, otherwise the threshold will be interpreted as MB.
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: how to set threshold for vmware esx servers

Post by Box293 »

I'm going to suggest you look at using box293_check_vmware ... it's much better than check_esx3.pl (in my opinion anyway).

box293_check_vmware 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked