Re: Help with adding mibs to simple v3 config
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 22 March 2010 17:41, Joseph L. Casale <[email protected]> wrote: > Here's the part that doesn't look right, what's with the funny looking > format of the output? What you are seeing here is various other cluster-related output. Not the information defined by the REDHAT-CLUSTER-MIB In particular: > HOST-RESOURCES-MIB::hrSWInstalledName.352 = STRING: "cluster-snmp-0.12.1-2.el5.centos" > HOST-RESOURCES-MIB::hrSWInstalledName.470 = STRING: "modcluster-0.12.1-2.el5.centos" These are two processes currently running on the system. If you ran ps -ef | grep cluster you should see the same entries > UCD-DLMOD-MIB::dlmodName.1 = STRING: RedHatCluster > UCD-DLMOD-MIB::dlmodPath.1 = STRING: /usr/lib64/cluster-snmp/libClusterMonitorSnmp.so These are the entries relating to dlmod directive, showing that the module has been loaded successfully. > NET-SNMP-AGENT-MIB::nsModuleName."".10.1.3.6.1.4.1.2312.8.2.1.127 = STRING: rhcClusterName > NET-SNMP-AGENT-MIB::nsModuleName."".10.1.3.6.1.4.1.2312.8.2.2.127 = STRING: rhcClusterStatusCode [etc, etc] These are part of the table of registered objects, listing all the groups of information that is known to the agent. If you try snmpwalk .... .1.3.6.1.4.1.2312.8.2 you should see the output of the RedHatCluster module. > Ultimately, the output I am looking to get withv3 > though should resemble this: > http://www.linuxdynasty.org/howto-monitor-redhat-cluster-using-snmp-and-python.html The walk above should show this. Note that you probably need to have snmpwalk explicitly load the REDHAT-CLUSTER-MIB in order to see the names correctly: snmpwalk -m +REDHAT-CLUSTER-MIB -v 3 ... hostname .1.3.6.1.4.1.2312.8.2 or snmpwalk -v 3 ... hostname REDHAT-CLUSTER-MIB::RedHatCluster Dave ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users