I have multiple VMWare hosts being monitored by Nagios XI & for various reasons I am monitoring the same datastore from each of them.
I've noticed that the same datastore, when checked from different hosts, is showing wildly different statistics.
VMWare Host 1:
[NAGIOSHOST ~]$ /usr/local/nagios/libexec/check_esx3.pl -H "prdoracle-esxi1.company.com" -f "/usr/local/nagiosxi/etc/components/vmware/esxi_6_auth.txt" -l "VMFS" -w 15%: -c 5%:
CHECK_ESX3.PL WARNING - Storages : 'ntap_n2_1200_SAS_ORACLE_01'(free)=438330.21 MB (6.97%), 'ntap_n1_SATA_iso'(free)=897752.47 MB (85.62%) | ntap_n2_1200_SAS_ORACLE_01=6.97%;15:;5: ntap_n1_SATA_iso=85.62%;15:;5:
[NAGIOSHOST ~]$ /usr/local/nagios/libexec/check_esx3.pl -H "prdoracle-esxi2.company.com" -f "/usr/local/nagiosxi/etc/components/vmware/esxi_6_auth.txt" -l "VMFS" -w 15%: -c 5%:
CHECK_ESX3.PL OK - Storages : 'ntap_n2_1200_SAS_ORACLE_01'(free)=2437531.50 MB (29.06%), 'ntap_n1_SATA_iso'(free)=907882.21 MB (86.58%) | ntap_n2_1200_SAS_ORACLE_01=29.06%;15:;5: ntap_n1_SATA_iso=86.58%;15:;5:
These are the same host, taken seconds apart, and they don't even agree on the total size of the volume.
If I look at the volume using VSPHERE each host reports the same space in use/free.
What am I missing?
Inconsistant results from check_esx3_host
-
Matthew.Cary
- Posts: 32
- Joined: Fri Nov 10, 2017 11:43 am
Re: Inconsistant results from check_esx3_host
That is very interesting. I will have to try to replicate that on our side. I'm not sure if it matters, but just in case, how is the storage hooked up to the ESXi servers? Is it like an FC connection, or iSCSI or something?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
Matthew.Cary
- Posts: 32
- Joined: Fri Nov 10, 2017 11:43 am
Re: Inconsistant results from check_esx3_host
These are Netapp Luns connected to the ESXI Hosts via twinax/fiber but it’s a nfs datastore
Re: Inconsistant results from check_esx3_host
Could you be hitting this?
The only other thing I can think of is different block size on each system:
What is the output of this command on both systems?
What is the exact version of the plugin you are running?
Code: Select all
https://kb.vmware.com/s/article/52985What is the output of this command on both systems?
Code: Select all
fdisk -lCode: Select all
/usr/local/nagios/libexec/check_esx3.pl -V