All MIBs › NAGIOS-NOTIFY-MIB › nHostLastUp
nHostLastUp
Module: NAGIOS-NOTIFY-MIB
OID (symbolic): NAGIOS-NOTIFY-MIB::nHostLastUp
OID (numeric): 1.3.6.1.4.1.20006.1.1.1.11
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which the host was last detected as being in an UP state.
What is nHostLastUp?
Reports, as a Unix time_t timestamp, the last time this host was detected as UP, which an admin uses during an outage to see how long ago the host was last known healthy.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.20006.1.1.1.11 snmpwalk -v2c -c public <target> NAGIOS-NOTIFY-MIB::nHostLastUp
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.20006.1.1.1.11.1 snmpget -v2c -c public <target> NAGIOS-NOTIFY-MIB::nHostLastUp.1
Start monitoring Nagios monitoring server (SNMP trap/inform relay for host/service events) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NAGIOS-NOTIFY-MIB::nHostLastUp OID value, configure state conditions and alerts, and monitor any Nagios monitoring server (SNMP trap/inform relay for host/service events) 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.20006 | nagios | NAGIOS-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.20006.1 | nagiosNotify | NAGIOS-NOTIFY-MIB |
| 1.3.6.1.4.1.20006.1.1 | nagiosHostEventTable | NAGIOS-NOTIFY-MIB |
| 1.3.6.1.4.1.20006.1.1.1 | nagiosHostEventEntry | NAGIOS-NOTIFY-MIB |
| 1.3.6.1.4.1.20006.1.1.1.11 | nHostLastUp | NAGIOS-NOTIFY-MIB |