Error for the VMWare Host Runtime Health
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Error for the VMWare Host Runtime Health
We are monitoring the VM using the Plugin.
All the parameters are reporting correctly.
But only "VMWare Host Runtime Health" is giving the following Error : "CHECK_ESX3.PL UNKNOWN - HOST RUNTIME Unknown error "
Not sure how to resolve this.
All the parameters are reporting correctly.
But only "VMWare Host Runtime Health" is giving the following Error : "CHECK_ESX3.PL UNKNOWN - HOST RUNTIME Unknown error "
Not sure how to resolve this.
Re: Error for the VMWare Host Runtime Health
Could you show you us your service definition for "VMWare Host Runtime Health", Along with your command?
also, can you post the output of this
Have you tried adding a -t for timeout argument, to see if that helps?
Let us know
also, can you post the output of this
Code: Select all
cd /usr/local/nagios/libexec
./check_esx3.pl -V
Code: Select all
$USER1$/check_esx3.pl -H "$HOSTADDRESS$" -t 59 -f "$ARG1$" -l "$ARG2$" $ARG3$
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: Error for the VMWare Host Runtime Health
I am not able to find that where the Service definition for the "VMWare for the Host Run Time Health" is defined.
I am not able to find the folder "libexec" in the Nagios Folder.
Please suggest.
I am not able to find the folder "libexec" in the Nagios Folder.
Please suggest.
Re: Error for the VMWare Host Runtime Health
What OS are you running? It may be a different path. Where are your plugins located?
Can you run this command, and show me the output.
If you could also send me your command.cfg and the host cfg that is running the service "VMWare Host Runtime Health" (However you defined this host/service would be helpful)
Can you run this command, and show me the output.
Code: Select all
find / -name check_esx3.pl
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: Error for the VMWare Host Runtime Health
It is installed on the Cent OS
I am able to find the Plugins(Thanks for your support) and here is the output of the command you requested.
check_esx3.pl 0.5.0
Now you just let me know, how to find the command.
I am able to find the Plugins(Thanks for your support) and here is the output of the command you requested.
check_esx3.pl 0.5.0
Now you just let me know, how to find the command.
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: Error for the VMWare Host Runtime Health
Also i tried adding the -t argument.
But it is also not working.
But it is also not working.
Re: Error for the VMWare Host Runtime Health
From the Nagios, can you run these commands and let me know the output.
Also, you said other services worked. Can you give us the cfg file for your VMWare host?
Code: Select all
cd /your plugin path
./check_esx3.pl -H <Host> -u <username> -p <password> -l runtime
Code: Select all
cd /your plugin path
./check_esx3.pl -H <Host> -u <username> -p <password> -l health
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: Error for the VMWare Host Runtime Health
Hey Kyang,
I am really sorry, that i don't know the username and password that has been used here.
Is there a way to find username and password, that has been configured?
cfg file for the vmware host, i am not aware where it is available. Can you tell me the name of the file?
I am really sorry, that i don't know the username and password that has been used here.
Is there a way to find username and password, that has been configured?
cfg file for the vmware host, i am not aware where it is available. Can you tell me the name of the file?
Re: Error for the VMWare Host Runtime Health
No worries, I see that you are using a macro in place of the username and password
If your other service checks work, then it's likely someone has added these macros into your resource.cfg
I don't know how your file paths are set up usually, they are in the path below. Try doing this and show us the output.
Run the commands above, and find where you defined this service for runtime health.
Code: Select all
-u $USER20$ -p $USER12$
Code: Select all
find / -name resource.cfg
Code: Select all
ls /usr/local/nagios/etc/objects
I just want to see the output of these two commands. Can you change the command of your check_esx3_host_runtime_health Just delete the -s health and show us the output.cfg file for the vmware host, i am not aware where it is available. Can you tell me the name of the file?
Code: Select all
$USER1$/check_esx3.pl -H $HOSTADDRESS$ -u $USER20$ -p $USER12$ -l runtime
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: Error for the VMWare Host Runtime Health
ls /usr/local/nagios/etc/objects
This file or directory does not Exists
Output of the above 2 commands is attached for your referrence.
This file or directory does not Exists
Output of the above 2 commands is attached for your referrence.