Page 2 of 2
Re: Update ESX3 plugin
Posted: Mon Feb 04, 2019 12:31 pm
by scottwilkerson
All of them need to refer to a file that exists
I would change the commands args to point to the file that exists NAME1_auth.txt
Re: Update ESX3 plugin
Posted: Mon Feb 04, 2019 1:36 pm
by peterepka
Hi - yes, they currently point to a file that exists.
Still having an error issue.
It's throwing an error about a particular Data Store not being accessible.
Where in the define service, to I tweak/remove the entry to this old Data Store.
Re: Update ESX3 plugin
Posted: Mon Feb 04, 2019 1:40 pm
by scottwilkerson
Can you post the command for the service giving the error (the previous command you were showing was for CPU)
Re: Update ESX3 plugin
Posted: Mon Feb 04, 2019 1:47 pm
by peterepka
define service {
host_name NAME2.DOMAIN.co.uk
service_description Datastore usage for VMHost
use xiwizard_generic_service
check_command check_esx3_host!/usr/local/nagiosxi/etc/components/vmware/NAME_1_DOMAIN_co_uk_auth.txt!VMFS!!!!!!
Re: Update ESX3 plugin
Posted: Mon Feb 04, 2019 1:51 pm
by scottwilkerson
Looks like it it passing VMFS as an argument to the command....
What is the error you are receiving?
Have you tried running the commands from the CLI?
Re: Update ESX3 plugin
Posted: Mon Feb 04, 2019 2:04 pm
by peterepka
If i run from CLI, i get "Event not found"
on the GUI it's telling me an old DataStore is not accesible.
How do i stop it trying to point at the old datastore ?
Re: Update ESX3 plugin
Posted: Mon Feb 04, 2019 2:16 pm
by peterepka
Ok - i've resolved the issue.
Primarily the Chmod +X was the main fix.
Thanks loads for all your help
(removed the old Data Store, Restarted Nagios Process. All sorted now)
Re: Update ESX3 plugin
Posted: Mon Feb 04, 2019 3:29 pm
by scottwilkerson
peterepka wrote:Ok - i've resolved the issue.
Primarily the Chmod +X was the main fix.
Thanks loads for all your help
(removed the old Data Store, Restarted Nagios Process. All sorted now)
Glad to hear it is resolved!
Locking thread