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
Update ESX3 plugin
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Update ESX3 plugin
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.
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Update ESX3 plugin
Can you post the command for the service giving the error (the previous command you were showing was for CPU)
Re: Update ESX3 plugin
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!!!!!!
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!!!!!!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Update ESX3 plugin
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?
What is the error you are receiving?
Have you tried running the commands from the CLI?
Re: Update ESX3 plugin
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 ?
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
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)
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)
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Update ESX3 plugin
Glad to hear it is resolved!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)
Locking thread