For those of you who need to monitor your RedHat Clusters. I created a new Check command that works under Zenoss or Nagios, that will monitor your cluster through snmp.
You will need pysnmp and pyasn1 python modules for this command to work, but I felt it was better then using a check by ssh command.. Here is the link if you want to try it out... http://www.linuxdynasty.org/howto-monitor-redhat-cluster-using-snmp-and-python.html I also created the equivalent of a clustat command using python and snmp, so you do not have to be logged into a node in the cluster to run it... Code: [r...@gfs1 python]# python rh_cluster_check.py -d gfs3 -c public -t cluster WARNING, MyCluster is Quorate and Some services not running [r...@gfs1 python]# python rh_cluster_check.py -d gfs1 -c public -t service -s CIM OK, CIM is running on gfs1 [r...@gfs1 python]# python rh_cluster_check.py -d gfs1 -c public -t node -n "gfs3" OK, gfs3 is Participating in cluster -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=38644#38644 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
