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.
srvcnt=`sudo /usr/sbin/cmviewcl | grep running | grep -v “$progname” | wc -l`
if [ $srvcnt -ge 1 ]; then
echo “Cluster Service is running”
echo “Cluster Service is not running”