Linux Today: Linux News On Internet Time.

How to monitor your Red Hat Cluster using Python and SNMP

Sep 01, 2009, 15:04 (0 Talkback[s])
(Other stories by Allen Sanabria)

[ Thanks to asanabria6910 for this link. ]

"clustat ( which is installed by the rgmanager rpm ) The clustat command will give you a quick status about all the nodes in the cluster and of the services running. cman_tool ( which is installed by the cman rpm ) The cman_tool command is for managing a node in the cluster ( leaving, joining, votes, and status ).

"As you noticed above, the information you get from both commands are extremely useful. The issue is that if you want the information from clustat or cman_tool, you will have to run those commands on a node that is part of the cluster. The reason this is an issue to me, is because I do not want to be burdened with sshing into one of the nodes anytime I want to know the status of the cluster. I want to be able to get that info directly from my desktop or from my monitoring system. After some research I discovered that there is a package called cluster-snmp that is part fo the yum "Clustering" Group."

Complete Story

Related Stories: