All MIBs › NAGIOS-NOTIFY-MIB › nSvcAttempt
nSvcAttempt
Module: NAGIOS-NOTIFY-MIB
OID (symbolic): NAGIOS-NOTIFY-MIB::nSvcAttempt
OID (numeric): 1.3.6.1.4.1.20006.1.3.1.8
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: The number of the current service check retry. For instance, if this is the second time that the service is being rechecked, this will be the number two. Current attempt number is really only useful when writing service event handlers for soft states that take a specific action based on the service retry number.
What is nSvcAttempt?
Reports which retry attempt this service check represents, e.g. a value of 2 means this is the second recheck, useful mainly for event handlers that act differently based on the retry count.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.20006.1.3.1.8 snmpwalk -v2c -c public <target> NAGIOS-NOTIFY-MIB::nSvcAttempt
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.20006.1.3.1.8.1 snmpget -v2c -c public <target> NAGIOS-NOTIFY-MIB::nSvcAttempt.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::nSvcAttempt 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.3 | nagiosSvcEventTable | NAGIOS-NOTIFY-MIB |
| 1.3.6.1.4.1.20006.1.3.1 | nagiosSvcEventEntry | NAGIOS-NOTIFY-MIB |
| 1.3.6.1.4.1.20006.1.3.1.8 | nSvcAttempt | NAGIOS-NOTIFY-MIB |