Skip to end of metadata
Go to start of metadata

The CSN includes an aggregate SNMP MIB called CARINGO-CASTOR-MGR-MIB with operational and health status for all nodes in the associated Netmail Store 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 Netmail Store 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 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 Netmail Store nodes come online for the first time until data is available when the first configured collection period has passed. Netmail Store 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.

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

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

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
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
  • No labels