Tag: HP-UX

Nagios Xi – Cluster Check – HP-UX

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