ESX3 CRITICAL - Unknown HOST-VM command

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mellor
Posts: 6
Joined: Tue Jun 05, 2012 8:38 pm

ESX3 CRITICAL - Unknown HOST-VM command

Post by mellor »

Im monitoring my VM's cpu, memory, etc...
And in the fourth argument, I placed the normal syntax for a warning:
-w #
*I don't actually put the # symbol of course, I place whatever numeric value for that particular service.
It doesn't seem to also follow the warning or critical syntax. It can just meet over the Warning number and it'll still send CRITICAL with the above "esx3 critical - unknown host-vm command".
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ESX3 CRITICAL - Unknown HOST-VM command

Post by scottwilkerson »

Can you give the full command you are trying to execute.

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mellor
Posts: 6
Joined: Tue Jun 05, 2012 8:38 pm

Re: ESX3 CRITICAL - Unknown HOST-VM command

Post by mellor »

It's the automated configuration from the wizard.
So:
Command view: $USER1$/check_esx3.pl -H "$HOSTADDRESS$" -f "$ARG1$" -N "$ARG2$" -l "$ARG3$"$ARG4$

Arg1: /usr/local/nagiosxi/etc/components/vmware/38_102_156_10_auth.txt
Arg2: My VM here
Arg3: CPU
Arg4: -w 80

I've also tried check_stuff -w80, same result.
Not only that, now each service I've placed the Arg4 syntax for, comes up with the same notification every hour on the hour it was updated.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: ESX3 CRITICAL - Unknown HOST-VM command

Post by scottwilkerson »

The command doesn't have a space between "$ARG3$"$ARG4$

So when you enter $ARG4$ you need to prefix it with a space
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mellor
Posts: 6
Joined: Tue Jun 05, 2012 8:38 pm

Re: ESX3 CRITICAL - Unknown HOST-VM command

Post by mellor »

Thank you with such a swift reply.
In the command View section, it leaves me incapable of editing that plugin.
It's entitled check_esx3_guest and im located in the user/local/nagios/libexec section, but unable to find it to see if i can manually edit it.
mellor
Posts: 6
Joined: Tue Jun 05, 2012 8:38 pm

Re: ESX3 CRITICAL - Unknown HOST-VM command

Post by mellor »

Figured it out.
Nevermind, Thank you again.
Locked