All console servers can now host the net-snmpd program which provides status information on demand through SNMP. net-snmpd responds to SNMP queries for management information from SNMP management software. Upon receiving a request, it processes the request(s), collects the requested information and/or performs the requested operation(s) and returns the information to the sender.
Note Initially only advanced console server models hosted net-snmpd. With V3.1 firmware this support was extended to all console servers. Also the MIBS were extended (and renamed for compliance) with this firmware release. Subsequently some new SNMP status and trap MIBs were created in firmware versions 3.10.2 and above (to provide more and better structured SNMP status and traps from the console servers). However there is a Use Legacy Notifications option so the console server will send the older SNMP trapsas covered in https://opengear.zendesk.com/entries/32422199-New-status-and-trap-MIBS .
Status information includes:
- Serial port status
- Active users
- Remote Power Control (RPC) and Power Distribution Unit (PDU) status
- Environmental Monitoring Device (EMD) status
- Signal alert status
- Environmental alert status and
- UPS alert status
To retrieve status information using SNMP:
- Select System: Services and enable the SNMP Server
- Set up serial ports and devices as per operational requirements (such as UPS, RPC/PDU and EMD)
- Copy the MIB files from /etc/snmp/mibs on the console server to a local directory using scp or Winscp e.g.
scp root@im4004:/etc/snmp/mibs/* - Using the snmpwalk and snmpget commands, the status information can be retrieved from any console server e.g.
snmpwalk -Oa -v1 -M .:/usr/share/snmp/mibs -c public im4004 OG-STATUS-MIB::ogStatus
snmpget -Oa -v1 -M .:/usr/share/snmp/mibs -c public im4004 OG-STATUS-MIB::ogSerialPortStatusSpeed.2 - A mib browser may be used to explore the Opengear enterprise MIB structure. For example the ogStatus tree is shown below:
To view the SNMP MIBs refer faq 243
For details on forwarding SNMP traps refer faq 356
Comments
0 comments
Article is closed for comments.