All MIBs › HMPRIV-MGMT-SNMP-MIB › hmLoginTrap
hmLoginTrap
Module: HMPRIV-MGMT-SNMP-MIB
OID (symbolic): HMPRIV-MGMT-SNMP-MIB::hmLoginTrap
OID (numeric): 1.3.6.1.4.1.248.14.2.0.2
Node type: NOTIFICATION-TYPE
Description:
This trap is sent if a user attemps to login via telnet or serial connection. hmLastIpAddr contains the IP address of the login request. the value is 0.0.0.0, if the request was sent via serial connection. hmLastCommunity contains the used password. If the login was successfull, '******' will be sent instead.
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' HMPRIV-MGMT-SNMP-MIB::hmLoginTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.248.14.2.0.2
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:61233->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (364774705) 42 days, 5:15:47.05 SNMPv2-MIB::snmpTrapOID.0 = OID: HMPRIV-MGMT-SNMP-MIB::hmLoginTrap
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.248 | hirschmann | HM2-TC-MIB |
| 1.3.6.1.4.1.248.14 | hmConfiguration | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.2 | hmAgent | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.2.0 | hmAgentEvent | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.2.0.2 | hmLoginTrap | HMPRIV-MGMT-SNMP-MIB |