All MIBs › NAGIOS-NOTIFY-MIB › nHostStateType
nHostStateType
Module: NAGIOS-NOTIFY-MIB
OID (symbolic): NAGIOS-NOTIFY-MIB::nHostStateType
OID (numeric): 1.3.6.1.4.1.20006.1.1.1.5
Node type: OBJECT-TYPE
Type: HostStateType
Access: read-only
Description: The host state as defined by the HOSTSTATETYPE macro
What is nHostStateType?
Indicates whether the reported host state is a HARD or SOFT state per Nagios's HOSTSTATETYPE macro, telling an admin whether the state has been confirmed by repeated checks (hard) or is still being retried (soft).
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.20006.1.1.1.5 snmpwalk -v2c -c public <target> NAGIOS-NOTIFY-MIB::nHostStateType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.20006.1.1.1.5.1 snmpget -v2c -c public <target> NAGIOS-NOTIFY-MIB::nHostStateType.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> nHostStateType.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::nHostStateType 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.5 | nHostStateType | NAGIOS-NOTIFY-MIB |