Tag: Unix

Nagios Xi – Cluster Check – Unix

This is a small script that you can add in Nagios XI /libexec directory that will help you monitor cluster services in any Unix server via Nagios. #!/bin/bash set -x progname=`basename $0` srvcnt=`sudo clustat |  grep Online | grep rgmanager| grep -v "$progname" | wc -l` if [ $srvcnt -ge 1 ]; then echo "Cluster … Continue reading Nagios Xi – Cluster Check – Unix