Page 1 of 1

how to set threshold for vmware esx servers

Posted: Thu Mar 05, 2015 5:18 am
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.

Re: how to set threshold for vmware esx servers

Posted: Thu Mar 05, 2015 12:10 pm
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.

Re: how to set threshold for vmware esx servers

Posted: Thu Mar 05, 2015 9:17 pm
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