Software

check_nutanix.pl/check_ssh_nutanix_cluster.pl

Description:

Check Nutanix Cluster Software by SNMP and SSH

Current Version

1.1

Last Release Date

2021-06-21

Compatible With

  • Nagios 3.x
  • Nagios 4.x

Project Files
Project Notes
1- check_nutanix.pl can monitors many aspects of Nutanix Cluster (Controllers, Hypervisors, Cluster, Disks, VMs, ...) Requires le Nutanix MIB locally installed For syntax, check_nutanix.pl --help 2- check_ssh_nutanix_cluster.pl can monitors a- services on CVMs using 'cluster status' command b- last alerts using 'ncli alerts ls' command It requires Net::OpenSSH and Date::Parse perl modules. For syntax, check_ssh_nutanix_cluster.pl --help.libnet-openssh-perl Change in 1.1 : check_nutanix.pl : - New features to adapt to new Nutanix MIB - Bug fix for syntax error at ./check_nutanix.pl line 98, near "clusterIOBandwidth" check_ssh_nutanix_cluster.pl : - Cleanup of host key to avoid annoying error of - Cleanup of .libnet-openssh-perl socket file to avoid filling of inodes. Remark : don't forget to monitor the use of inodes on Linux servers !!!
Reviews (3) Add a Review
If you're getting this error: syntax error at ./check_nutanix.pl line 98, near "clusterIOBandwidth"
by IT-Technik, March 31, 2021

Just add a "," at the end of the line, then the plugin works as a charm!



WARNING on plugin
by ant01n3, March 31, 2020

Dears, That is almost half year, when this plugin is in production monitoring. Yesterday, monitoring server was found died... halted because ... inodes finished. # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/VolGroup-lv_root 13912080 13912080 0 100% / tmpfs 1005525 1 1005524 1% /dev/shm /dev/sda1 128016 62 127954 1% /boot yep, that is 13,912,080 millions of inodes used The problem found: plugin invokes libnet-openssh-perl library which created files in uesr's (nagos) home directory, which created file for each performed check: # ls -la /home/nagios/ drwx------ 2 nagios nagios 853970944 Mar 22 12:26 .libnet-openssh-perl it took some time to count: .libnet-openssh-perl]# time find . | wc -l 13741298 real 1m55.035s user 0m8.142s sys 0m14.129s .libnet-openssh-perl]# time /bin/ls -f | wc -l 13741299 real 0m36.880s user 0m5.900s sys 0m8.820s [root@chq1nms1 .libnet-openssh-perl]# Fixing: # rm -rf .libnet-openssh-perl # df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/mapper/VolGroup-lv_root 13912080 172097 13739983 2% / tmpfs 1005525 1 1005524 1% /dev/shm /dev/sda1 128016 62 127954 1% /boot Keep in mind (after integrating). Plugin itself is excellent! BR to developer and to users, /A P.S. after 30 min after fix: .libnet-openssh-perl]# time /bin/ls -f | wc -l 2008 real 1m34.013s user 0m0.004s sys 0m3.130s



error
by scheived@gtc.edu, November 30, 2019

getting this error: syntax error at ./check_nutanix.pl line 98, near "clusterIOBandwidth"



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3 (3)
Favorites
0
Views
12,499