All MIBs › HM2-MGMTACCESS-MIB › hm2WebLoginSuccessTrap
hm2WebLoginSuccessTrap
Module: HM2-MGMTACCESS-MIB
OID (symbolic): HM2-MGMTACCESS-MIB::hm2WebLoginSuccessTrap
OID (numeric): 1.3.6.1.4.1.248.11.25.0.1
Node type: NOTIFICATION-TYPE
Description: This trap is sent if a user successfully grants access via web to the device. hm2WebLastLoginInetAddress contains the IP address or DNS name of the login request. hm2WebLastLoginUserName contains the user name of the last user who logged in into the device.
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> '' HM2-MGMTACCESS-MIB::hm2WebLoginSuccessTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.248.11.25.0.1
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]:52958->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (402946270) 46 days, 15:17:42.70 SNMPv2-MIB::snmpTrapOID.0 = OID: HM2-MGMTACCESS-MIB::hm2WebLoginSuccessTrap
SNMPv3 example:
snmptrap -v3 -l authPriv -u snmpv3user -a SHA -A "AuthPass1" -x AES -X "PrivPass1" <manager> '' HM2-MGMTACCESS-MIB::hm2WebLoginSuccessTrap
Start monitoring Hirschmann industrial Ethernet switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-MGMTACCESS-MIB::hm2WebLoginSuccessTrap OID value, configure state conditions and alerts, and monitor any Hirschmann industrial Ethernet switches from a single console.
OID Breakdown
Upper-level ancestors (8 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 |
| 1.3.6.1.4.1.248.11 | hm2ConfigurationMibs | HM2-TC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.248.11.25 | hm2MgmtAccessMib | HM2-MGMTACCESS-MIB |
| 1.3.6.1.4.1.248.11.25.0 | hm2MgmtAccessMibNotifications | HM2-MGMTACCESS-MIB |
| 1.3.6.1.4.1.248.11.25.0.1 | hm2WebLoginSuccessTrap | HM2-MGMTACCESS-MIB |