Dell DX6004S DX Cluster Services Node Installation and Configuration Guide - Page 29
Gathering SNMP Statistics, 4.5.1. SNMP Command Examples
View all Dell DX6004S manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 29 highlights
4.5. Gathering SNMP Statistics The CSN includes an aggregate SNMP MIB called CARINGO-CASTOR-MGR-MIB with operational and health status for all nodes in the associated DX Storage cluster, including: • Cluster stats like total available capacity • Cluster-wide settings like a cluster shutdown • Individual node statistics including IP address and status • Node-level actions like shutdown and retire • Volume statistics including used and available capacity, operational activity and hardware status information The MIB is located in /usr/share/snmp/mibs. The SNMP agent collects statistics from the DX Storage cluster at a default interval of 5 minutes. SNMP collection is only enabled on Primary CSNs. The collection interval can be configured by overriding the default for the collectormain.sh line of the /etc/cron.d/caringo_castormgr_snmp_collector file to any frequency greater than 2 minutes. If queried, SNMP will report errors after the DX Storage nodes come online for the first time until data is available when the first configured collection period has passed. DX Storage clusterState may return as 'Unknown' or change frequently right after a cluster wide reboot or start until all nodes are online and reporting their status. 4.5.1. SNMP Command Examples The following example shows an snmpwalk command that will return all results for the CASTORMGR-MIB: snmpwalk -v 2c -c public -m +CARINGO-CASTOR-MGR-MIB 192.168.1.101 caringo.castorMgr The following example demonstrates an snmpget command that retrieves the total GB of available capacity for the cluster: snmpget -v 2c -c public -m +CARINGO-CASTOR-MGR-MIB 192.168.1.101 caringo.castorMgr.stats.totalGBAvailable The following example shows an snmpset command that sends a shutdown command to the 1st node in the indexed list for the cluster: snmpset -v 2c -c private -m +CARINGO-CASTOR-MGR-MIB 192.168.1.101 caringo.castorMgr.nodes.castorNodesActionTable.nodeActionEntry. nodeShutdown.1 s shutdown The following example shows an snmptable command that retrieves the data for all node-specific actions: snmptable -v2c -cpublic -OQs -m +CARINGO-CASTOR-MGR-MIB localhost caringo.castorMgr.nodes.castorNodesActionTable Copyright © 2010 Caringo, Inc. All rights reserved 26 Version 2.0 December 2010