snAgSystemLog
HP-SN-AGENT-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.1.2.1.20
Object
scalar r/w
OctetString
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'.
Context
- MIB
- HP-SN-AGENT-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.2.1.20- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snAgentGbl
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-AGENT-MIB::snAgSystemLog.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-AGENT-MIB::snAgSystemLog'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 5-5