Page 1 of 1

VMware host monitor - How to set critical & warning value?

Posted: Sun Nov 10, 2019 4:42 am
by ShlomiUni
Hi, I just started to monitor my ESXi hosts and I don't know where to insert the value for critical and warning notifications.
I tried to add -w 80 -c 90 but it doesn't change anything
Image

Re: VMware host monitor - How to set critical & warning valu

Posted: Mon Nov 11, 2019 3:30 am
by ShlomiUni
Anyone? :)

Re: VMware host monitor - How to set critical & warning valu

Posted: Mon Nov 11, 2019 10:58 am
by mbellerue
Good morning, apologies for the delay. We don't work on the weekends.

In order for the warning and critical values to work, you'll also have to specify a subcommand. All of this will be put in ARG3.

-s usage -w 80 -c 90

You can get a list of commands and subcommands by running the check_vmware_api.pl plugin at the command line, like so.

/usr/local/nagios/libexec/check_vmware_api.pl --help

Re: VMware host monitor - How to set critical & warning valu

Posted: Mon Nov 11, 2019 12:06 pm
by mbellerue
Oh, it looks like you have a ticket open for this. I will lock this thread, and we can work on this in the ticket.