New monitoring VMware plugin return incorrect values
Posted: Fri Jun 21, 2024 9:22 am
Hello,
I'm trying to use the new monitoring VMware plugin "vSphere" on Nagios XI 2024R1.1.4, but unfortunately, many commands are returning incorrect values.
My Nagios environment:
- Nagios XI 2024R1.1.4
- Nagios Server RHEL 8.10
- check_vsphere_xi.py 1.0.3
My VMWare environment:
- vCenter 8.0.2.00100 (build 22617221)
- Hypervisors ESXi, 7.0.3 (build 22348816)
Incorrect return values:
# python3 check_vsphere_xi.py -H "MyvCenter" -f "auth.txt" --list-clusters
=> return 1 cluster whereas there is 3 clusters
# python3 check_vsphere_xi.py -H "MyvCenter" -f "auth.txt" -C "Cluster" -l "MEM"
=> OK: usage=0.69%, overhead=3909.11 MB, memctl=0.00 MB, consumed=452757.60 MB | mem_usagemb=452757.60MB;; mem_usage=0.69%;; mem_overhead=3909.11MB;; mem_swap=0.00MB;; mem_memctl=0.00MB;;
Memory usage in MB is correct but usage in percent is wrong (right value is 59% and not 0,69%)
# python3 check_vsphere_xi.py -H "MyvCenter" -f "auth.txt" -N "MyVM" -l CPU -s USAGE
=> OK: MyVM usage=273.00% | cpu_usage=273.00%;; (right value is 1%, the VM has only 1 vCPU)
Thanks for your help
I'm trying to use the new monitoring VMware plugin "vSphere" on Nagios XI 2024R1.1.4, but unfortunately, many commands are returning incorrect values.
My Nagios environment:
- Nagios XI 2024R1.1.4
- Nagios Server RHEL 8.10
- check_vsphere_xi.py 1.0.3
My VMWare environment:
- vCenter 8.0.2.00100 (build 22617221)
- Hypervisors ESXi, 7.0.3 (build 22348816)
Incorrect return values:
# python3 check_vsphere_xi.py -H "MyvCenter" -f "auth.txt" --list-clusters
=> return 1 cluster whereas there is 3 clusters
# python3 check_vsphere_xi.py -H "MyvCenter" -f "auth.txt" -C "Cluster" -l "MEM"
=> OK: usage=0.69%, overhead=3909.11 MB, memctl=0.00 MB, consumed=452757.60 MB | mem_usagemb=452757.60MB;; mem_usage=0.69%;; mem_overhead=3909.11MB;; mem_swap=0.00MB;; mem_memctl=0.00MB;;
Memory usage in MB is correct but usage in percent is wrong (right value is 59% and not 0,69%)
# python3 check_vsphere_xi.py -H "MyvCenter" -f "auth.txt" -N "MyVM" -l CPU -s USAGE
=> OK: MyVM usage=273.00% | cpu_usage=273.00%;; (right value is 1%, the VM has only 1 vCPU)
Thanks for your help