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
Start monitoring Hirschmann modular industrial Ethernet switch (e.g. RSPE-Expandable/MACH104 series) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HMPRIV-MGMT-SNMP-MIB::hmLoginTrap OID value, configure state conditions and alerts, and monitor any Hirschmann modular industrial Ethernet switch (e.g. RSPE-Expandable/MACH104 series) from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.248 | hirschmann | HM2-TC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 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 |