All MIBs › HM2-MGMTACCESS-MIB › hm2SshLoginSuccessTrap
hm2SshLoginSuccessTrap
Module: HM2-MGMTACCESS-MIB
OID (symbolic): HM2-MGMTACCESS-MIB::hm2SshLoginSuccessTrap
OID (numeric): 1.3.6.1.4.1.248.11.25.0.7
Node type: NOTIFICATION-TYPE
Description: This trap is sent if a user successfully grants access via SSH to the device. hm2SshLastLoginInetAddress contains the IP address or DNS name of the login request. hm2SshLastLoginUserName contains the user name of the last user 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::hm2SshLoginSuccessTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.248.11.25.0.7
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]:60395->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (114208747) 13 days, 5:14:47.47 SNMPv2-MIB::snmpTrapOID.0 = OID: HM2-MGMTACCESS-MIB::hm2SshLoginSuccessTrap
Start monitoring Hirschmann industrial Ethernet switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-MGMTACCESS-MIB::hm2SshLoginSuccessTrap 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.7 | hm2SshLoginSuccessTrap | HM2-MGMTACCESS-MIB |