Update ESX3 plugin

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update ESX3 plugin

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
peterepka
Posts: 20
Joined: Wed Aug 13, 2014 11:23 am

Re: Update ESX3 plugin

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update ESX3 plugin

Post by scottwilkerson »

Can you post the command for the service giving the error (the previous command you were showing was for CPU)
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
peterepka
Posts: 20
Joined: Wed Aug 13, 2014 11:23 am

Re: Update ESX3 plugin

Post 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!!!!!!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update ESX3 plugin

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
peterepka
Posts: 20
Joined: Wed Aug 13, 2014 11:23 am

Re: Update ESX3 plugin

Post 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 ?
peterepka
Posts: 20
Joined: Wed Aug 13, 2014 11:23 am

Re: Update ESX3 plugin

Post 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)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Update ESX3 plugin

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked