Page 1 of 1
VMWARE DATASTORE
Posted: Mon Feb 09, 2015 4:10 am
by venkitesh
Hi Team,
i have added a new vmware esxi host in nagios xi. Actually there are around 10 datastores in that Host and all datastores are coming from netapp and filesystem in VMFS5.
But in the service detail : Datastore usage for VMHOST it is showing only 5 datastores.
Kindly help.
Re: VMWARE DATASTORE
Posted: Mon Feb 09, 2015 2:04 pm
by lmiltchev
Can you show us the actual command that you are running from the command line along with the output of it?
For example:
Code: Select all
/usr/local/nagios/libexec/check_esx3.pl -D "x.x.x.x" -f "/usr/local/nagiosxi/etc/components/vmware/<hostname>_auth.txt" -l "VMFS"
Post a screenshot, showing the datastores on x.x.x.x on the ESXi/vCenter.
Re: VMWARE DATASTORE
Posted: Mon Feb 09, 2015 7:47 pm
by Box293
A great test is to login to the vSphere client using the credentials that the plugin uses. If you can't see all the datastores using these credentials, neither will the plugin.
Re: VMWARE DATASTORE
Posted: Tue Feb 10, 2015 1:59 am
by venkitesh
HI All,
This is the command i am using check_esx3_host
$USER1$/check_esx3.pl -H "$HOSTADDRESS$" -f "$ARG1$" -l "$ARG2$"$ARG3$
ARG1=/usr/local/nagiosxi/etc/components/vmware/test.com_auth.txt
ARG2=VMFS
The output shows all the datastores.
But in service detail i am not able to see all datasores. Whether it will show only top 5 or something like that.
Kindly help
Re: VMWARE DATASTORE
Posted: Tue Feb 10, 2015 11:07 am
by lmiltchev
Go to the Core Config Manager->Services->find your check, click on the "View Text Config" action button next to it (the diskette icon), and post the services config along with any other related configs (the template, command definition, etc.).