All MIBs › FOUNDRY-SN-AGENT-MIB › snAgSystemLog
snAgSystemLog
Module: FOUNDRY-SN-AGENT-MIB
OID (symbolic): FOUNDRY-SN-AGENT-MIB::snAgSystemLog
OID (numeric): 1.3.6.1.4.1.1991.1.1.2.1.20
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description:
The system log object to indicate whether any Network Management Station(NMS) has login. The first byte of the octet string is the value decribed below and followed by 4 bytes of secret code. login(1)..... a value for a NMS to login. heartbeat(2)... a value for the login NMS periodically to checkin; Otherwise, the Agent will automatically set this object to logout(3) after a timeout period. logout(3).... a value for a NMS to logout. changePassword(4).... a value for the login NMS to change password, only if snAgGblPasswordChangeMode was configured to 'anyMgmtEntity'. changeReadOnlyCommunity(5).... a value for the login NMS to change the read-only community string, only if snAgGblPasswordChangeMode was configured to 'anyMgmtEntity'. changeReadWriteCommunity(6).... a value for the login NMS to change the read-write community string, only if snAgGblPasswordChangeMode was configured to 'anyMgmtEntity'.
What is snAgSystemLog?
This octet string tracks management session state, indicating whether an NMS is logged in (1), sending heartbeats (2), or timed out (3). It prevents multiple simultaneous NMS logins and enforces session locking. A network admin uses this to understand who is managing the device and force logout if needed.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.2.1.20 snmpwalk -v2c -c public <target> FOUNDRY-SN-AGENT-MIB::snAgSystemLog
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.2.1.20.1 snmpget -v2c -c public <target> FOUNDRY-SN-AGENT-MIB::snAgSystemLog.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.1991.1.1.2.1.20.1 s <value>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1 | products | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1 | switch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.2 | snAgentSys | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.2.1 | snAgentGbl | FOUNDRY-SN-AGENT-MIB |
| 1.3.6.1.4.1.1991.1.1.2.1.20 | snAgSystemLog | FOUNDRY-SN-AGENT-MIB |