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".
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
Can you give the full command you are trying to execute.
Thanks
Thanks
Re: ESX3 CRITICAL - Unknown HOST-VM command
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.
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
The command doesn't have a space between "$ARG3$"$ARG4$
So when you enter $ARG4$ you need to prefix it with a space
So when you enter $ARG4$ you need to prefix it with a space
Re: ESX3 CRITICAL - Unknown HOST-VM command
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.
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.
Re: ESX3 CRITICAL - Unknown HOST-VM command
Figured it out.
Nevermind, Thank you again.
Nevermind, Thank you again.