Dell DX6004S Manuel d'installation et de configuration - Page 29

Parcourez en ligne ou téléchargez le pdf Manuel d'installation et de configuration pour {nom_de_la_catégorie} Dell DX6004S. Dell DX6004S 35 pages. Document
Également pour Dell DX6004S : Manuel complémentaire (4 pages), Manuel de l'utilisateur (46 pages), Manuel d'installation et de configuration (43 pages), Manuel de démarrage (28 pages), Avis (28 pages), Avis (20 pages), Vue d'ensemble (19 pages), Manuel de configuration (9 pages), Manuel de configuration (9 pages), Note de mise à jour (8 pages), Manuel de configuration (7 pages), Note de mise à jour (6 pages), Note de mise à jour (5 pages), Notes de mise à jour (5 pages), Manuel de démarrage (49 pages)

Dell DX6004S Manuel d'installation et de configuration

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 CASTOR-
MGR-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