Enable SNMP Monitoring and Traps through exconsole
With the 3.1.4 release, admins may now discover and monitor OneXafe and some host services (see below) via SNMP using third party SNMP monitoring software.
-
System information (temperature, fan, voltage)
-
Network information (TCP/IP, UDP, link status, up/down, transmission errors
-
Host resources (memory, CPU)
-
Storage Resources (drive presence, drive type, drive size)
SNMP monitoring and traps can be enabled through exconsole as illustrated below.
Copy
oneblox50001(config) snmp
oneblox40001(config-snmp) help
Documented commands (type help <topic>):
========================================
apply contact help logout show traps
community exit location service traphost
oneblox50001(config-snmp) help service
Configure the SNMP service to enable or disable access.
Usage:
service
service [enable|disable]
Examples:
- show the current status
service
- enable snmp access
service enable
oneblox40001(config-snmp) help traps
Manage the traps that are enabled and disabled.
Usage:
traps
traps enable <name>
traps disable <name>
traps del <name>
oneblox40001(config-snmp) help traphost
Manage the trap destination that can be used. Multiple
hosts can be defined, and if all of them are removed then
traps will be disabled.
Usage:
traphost
traphost add <dest>
traphost delete [all|<dest>]
Examples:
- add a trap destination
traphost add trap.example.com
- remove all of the defined trap destinations
traphost delete all