
| SNMPv2-SMI | NAGIOS-ROOT-MIB |
| MODULE-IDENTITY | OBJECT-TYPE | NOTIFICATION-TYPE |
| Integer32 | Gauge32 | nagios |
| NotifyType | HostStateID | HostStateType |
| ServiceStateID |
| nagiosNotify | 1.3.6.1.4.1.20006.1 | ||
| Objects for Nagios(tm) events. There are 2 primary tables reflecting the division in Nagios for Host events and Service events. The event tables are extended by the HostNotifyTable and the ServiceNotifyTable to keep track of the notifications based on events. The tables entries themselves are not accessible but are used for OID entries for TRAP/INFORM notifications. These objects are based on the macros defined in Nagios v2.0 | |||
| MODULE-IDENTITY | |||
| nagiosHostEventTable | 1.3.6.1.4.1.20006.1.1 | ||
| Table of Nagios host events | |||
| OBJECT-TYPE | |||
| SEQUENCE OF | |||
| HostEventEntry | |||
| nagiosHostEventEntry | 1.3.6.1.4.1.20006.1.1.1 | ||
| Each notification event | |||
| OBJECT-TYPE | |||
| HostEventEntry | |||
| nHostEventIndex | 1.3.6.1.4.1.20006.1.1.1.1 | ||
| This object uniquely identifies this host event entry. It is generated by the SNMP application and is not related to any Nagios data. | |||
| OBJECT-TYPE | |||
| Integer32 | 1..65535 | ||
| nHostname | 1.3.6.1.4.1.20006.1.1.1.2 | ||
| Hostname as specified in the Nagios configuration file. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nHostAlias | 1.3.6.1.4.1.20006.1.1.1.3 | ||
| The host alias as specified in the Nagios configuration file | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nHostStateID | 1.3.6.1.4.1.20006.1.1.1.4 | ||
| The host state as defined by the HOSTSTATEID macro | |||
| OBJECT-TYPE | |||
| HostStateID | |||
| nHostStateType | 1.3.6.1.4.1.20006.1.1.1.5 | ||
| The host state as defined by the HOSTSTATETYPE macro | |||
| OBJECT-TYPE | |||
| HostStateType | |||
| nHostAttempt | 1.3.6.1.4.1.20006.1.1.1.6 | ||
| The number of the current host check retry. For instance, if this is the second time that the host is being rechecked, this will be the number two. Current attempt number is really only useful when writing host event handlers for soft states that take a specific action based on the host retry number. The host state as defined by the HOSTSTATEID macro | |||
| OBJECT-TYPE | |||
| Integer32 | |||
| nHostDurationSec | 1.3.6.1.4.1.20006.1.1.1.7 | ||
| A number indicating the number of seconds that the host has spent in its current state | |||
| OBJECT-TYPE | |||
| Integer32 | |||
| nHostGroupName | 1.3.6.1.4.1.20006.1.1.1.8 | ||
| The short name of the hostgroup that this host belongs to. This value is taken from the hostgroup_name directive in the hostgroup definition. If the host belongs to more than one hostgroup this macro will contain the name of just one of them. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nHostLastCheck | 1.3.6.1.4.1.20006.1.1.1.9 | ||
| This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which a check of the host was last performed. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nHostLastChange | 1.3.6.1.4.1.20006.1.1.1.10 | ||
| This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time the host last changed state. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nHostLastUp | 1.3.6.1.4.1.20006.1.1.1.11 | ||
| 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. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nHostLastDown | 1.3.6.1.4.1.20006.1.1.1.12 | ||
| 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 DOWN state. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nHostLastUnreachable | 1.3.6.1.4.1.20006.1.1.1.13 | ||
| 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 UNREACHABLE state. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nHostOutput | 1.3.6.1.4.1.20006.1.1.1.14 | ||
| The text output from the last host check (i.e. Ping OK). | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nHostPerfData | 1.3.6.1.4.1.20006.1.1.1.15 | ||
| This object contains any performance data that may have been returned by the last host check. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nagiosHostNotifyTable | 1.3.6.1.4.1.20006.1.2 | ||
| Table of Nagios host notifications | |||
| OBJECT-TYPE | |||
| SEQUENCE OF | |||
| HostNotifyEntry | |||
| nagiosHostNotifyEntry | 1.3.6.1.4.1.20006.1.2.1 | ||
| Nagios host notifications extends the nagiosHostEventTable when a notification is generated for an event. | |||
| OBJECT-TYPE | |||
| HostNotifyEntry | |||
| nHostNotifyType | 1.3.6.1.4.1.20006.1.2.1.1 | ||
| This identifies the type of notification that is being sent (PROBLEM, RECOVERY, ACKNOWLEDGEMENT, FLAPPINGSTART or FLAPPINGSTOP) | |||
| OBJECT-TYPE | |||
| NotifyType | |||
| nHostNotifyNum | 1.3.6.1.4.1.20006.1.2.1.2 | ||
| This identifies the current notification number for the service or host. The notification number increases by one (1) each time a new notification is sent out for a host or service (except for acknowledgements). The notification number is reset to 0 when the host or service recovers (after the recovery notification has gone out). Acknowledgements do not cause the notification number to increase. | |||
| OBJECT-TYPE | |||
| Gauge32 | |||
| nHostAckAuthor | 1.3.6.1.4.1.20006.1.2.1.3 | ||
| A string containing the name of the user who acknowledged the host problem. This macro is only valid in notifications where the $ macro is set to ACKNOWLEDGEMENT. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nHostAckComment | 1.3.6.1.4.1.20006.1.2.1.4 | ||
| A string containing the acknowledgement comment that was entered by the user who acknowledged the host problem. This macro is only valid in notifications where the $ macro is set to ACKNOWLEDGEMENT | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nagiosSvcEventTable | 1.3.6.1.4.1.20006.1.3 | ||
| Table of Nagios service notifications | |||
| OBJECT-TYPE | |||
| SEQUENCE OF | |||
| SvcEventEntry | |||
| nagiosSvcEventEntry | 1.3.6.1.4.1.20006.1.3.1 | ||
| Table of Nagios service events. | |||
| OBJECT-TYPE | |||
| SvcEventEntry | |||
| nSvcEventIndex | 1.3.6.1.4.1.20006.1.3.1.1 | ||
| This object uniquely identifies this service event entry | |||
| OBJECT-TYPE | |||
| Integer32 | 1..65535 | ||
| nSvcHostname | 1.3.6.1.4.1.20006.1.3.1.2 | ||
| Hostname as specified in the Nagios configuration file. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nSvcHostAlias | 1.3.6.1.4.1.20006.1.3.1.3 | ||
| The host alias as specified in the Nagios configuration file | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nSvcHostStateID | 1.3.6.1.4.1.20006.1.3.1.4 | ||
| A number that corresponds to the current state of the service: 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN. | |||
| OBJECT-TYPE | |||
| HostStateID | |||
| nSvcHostStateType | 1.3.6.1.4.1.20006.1.3.1.5 | ||
| Whether the host is in a hard or soft state. | |||
| OBJECT-TYPE | |||
| HostStateType | |||
| nSvcDesc | 1.3.6.1.4.1.20006.1.3.1.6 | ||
| This value is taken from the description directive of the service definition. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nSvcStateID | 1.3.6.1.4.1.20006.1.3.1.7 | ||
| A number that corresponds to the current state of the service: 0=OK, 1=WARNING, 2=CRITICAL, 3=UNKNOWN | |||
| OBJECT-TYPE | |||
| ServiceStateID | |||
| nSvcAttempt | 1.3.6.1.4.1.20006.1.3.1.8 | ||
| 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. | |||
| OBJECT-TYPE | |||
| Integer32 | |||
| nSvcDurationSec | 1.3.6.1.4.1.20006.1.3.1.9 | ||
| A number indicating the number of seconds that the service has spent in its current state. | |||
| OBJECT-TYPE | |||
| Integer32 | |||
| nSvcGroupName | 1.3.6.1.4.1.20006.1.3.1.10 | ||
| The short name of the servicegroup that this service belongs to. This value is taken from the servicegroup_name directive in the servicegroup definition. If the service belongs to more than one servicegroup this object will contain the name of just one of them. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nSvcLastCheck | 1.3.6.1.4.1.20006.1.3.1.11 | ||
| This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which a check of the service was last performed. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nSvcLastChange | 1.3.6.1.4.1.20006.1.3.1.12 | ||
| This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time the service last changed state. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nSvcLastOK | 1.3.6.1.4.1.20006.1.3.1.13 | ||
| This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which the service was last detected as being in an OK state. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nSvcLastWarn | 1.3.6.1.4.1.20006.1.3.1.14 | ||
| This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which the service was last detected as being in a WARNING state. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nSvcLastCrit | 1.3.6.1.4.1.20006.1.3.1.15 | ||
| This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which the service was last detected as being in a CRITICAL state. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nSvcLastUnkn | 1.3.6.1.4.1.20006.1.3.1.16 | ||
| This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which the service was last detected as being in an UNKNOWN state. | |||
| OBJECT-TYPE | |||
| INTEGER | |||
| nSvcOutput | 1.3.6.1.4.1.20006.1.3.1.17 | ||
| The text output from the last service check (i.e. Ping OK). | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nSvcPerfData | 1.3.6.1.4.1.20006.1.3.1.18 | ||
| This object contains any performance data that may have been returned by the last service check. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nagiosSvcNotifyTable | 1.3.6.1.4.1.20006.1.4 | ||
| Table of Nagios service notifications. | |||
| OBJECT-TYPE | |||
| SEQUENCE OF | |||
| SvcNotifyEntry | |||
| nagiosSvcNotifyEntry | 1.3.6.1.4.1.20006.1.4.1 | ||
| Nagios service notifications extends the nagiosSvcEnevtsTable when a notification is generated for an event. | |||
| OBJECT-TYPE | |||
| SvcNotifyEntry | |||
| nSvcNotifyType | 1.3.6.1.4.1.20006.1.4.1.1 | ||
| A string identifying the type of notification that is being sent (PROBLEM, RECOVERY, ACKNOWLEDGEMENT, FLAPPINGSTART or FLAPPINGSTOP). | |||
| OBJECT-TYPE | |||
| NotifyType | |||
| nSvcNotifyNum | 1.3.6.1.4.1.20006.1.4.1.2 | ||
| The current notification number for the service or host. The notification number increases by one (1) each time a new notification is sent out for a host or service (except for acknowledgements). The notification number is reset to 0 when the host or service recovers (after the recovery notification has gone out). Acknowledgements do not cause the notification number to increase. | |||
| OBJECT-TYPE | |||
| Gauge32 | |||
| nSvcAckAuthor | 1.3.6.1.4.1.20006.1.4.1.3 | ||
| A string containing the name of the user who acknowledged the service problem. This object is only valid in notifications where the nSvcNotifyType object is set to ACKNOWLEDGEMENT. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nSvcAckComment | 1.3.6.1.4.1.20006.1.4.1.4 | ||
| A string containing the acknowledgement comment that was entered by the user who acknowledged the service problem. This object is only valid in notifications where the nSvcNotifyType object is set to ACKNOWLEDGEMENT. | |||
| OBJECT-TYPE | |||
| OCTET STRING | |||
| nHostEvent | 1.3.6.1.4.1.20006.1.5 | ||
| The SNMP trap that is generated as a result of an event with the host in Nagios. | |||
| NOTIFICATION-TYPE | |||
| nHostname | |||
| nHostStateID | |||
| nHostStateType | |||
| nHostAttempt | |||
| nHostDurationSec | |||
| nHostGroupName | |||
| nHostLastCheck | |||
| nHostLastChange | |||
| nHostOutput | |||
| nHostNotify | 1.3.6.1.4.1.20006.1.6 | ||
| The SNMP trap that is generated as a result of an event requiring notification for a host in Nagios. | |||
| NOTIFICATION-TYPE | |||
| nHostNotifyType | |||
| nHostNotifyNum | |||
| nHostAckAuthor | |||
| nHostAckComment | |||
| nHostname | |||
| nHostStateID | |||
| nHostStateType | |||
| nHostAttempt | |||
| nHostDurationSec | |||
| nHostGroupName | |||
| nHostLastCheck | |||
| nHostLastChange | |||
| nHostOutput | |||
| nSvcEvent | 1.3.6.1.4.1.20006.1.7 | ||
| The SNMP trap that is generated as a result of an event with the service in Nagios. | |||
| NOTIFICATION-TYPE | |||
| nHostname | |||
| nHostStateID | |||
| nSvcDesc | |||
| nSvcStateID | |||
| nSvcAttempt | |||
| nSvcDurationSec | |||
| nSvcGroupName | |||
| nSvcLastCheck | |||
| nSvcLastChange | |||
| nSvcOutput | |||
| nSvcNotify | 1.3.6.1.4.1.20006.1.8 | ||
| The SNMP trap that is generated as a result of an event requiring notification for a service in Nagios. | |||
| NOTIFICATION-TYPE | |||
| nSvcNotifyType | |||
| nSvcNotifyNum | |||
| nSvcAckAuthor | |||
| nSvcAckComment | |||
| nHostname | |||
| nHostStateID | |||
| nSvcDesc | |||
| nSvcStateID | |||
| nSvcAttempt | |||
| nSvcDurationSec | |||
| nSvcGroupName | |||
| nSvcLastCheck | |||
| nSvcLastChange | |||
| nSvcOutput | |||
| HostEventEntry | |||
| SEQUENCE | |||
| Integer32 as nHostEventIndex | |||
| OCTET STRING as nHostname | |||
| OCTET STRING as nHostAlias | |||
| HostStateID as nHostStateID | |||
| HostStateType as nHostStateType | |||
| Integer32 as nHostAttempt | |||
| Integer32 as nHostDurationSec | |||
| OCTET STRING as nHostGroupName | |||
| INTEGER as nHostLastCheck | |||
| INTEGER as nHostLastChange | |||
| INTEGER as nHostLastUp | |||
| INTEGER as nHostLastDown | |||
| INTEGER as nHostLastUnreachable | |||
| OCTET STRING as nHostOutput | |||
| OCTET STRING as nHostPerfData | |||
| HostNotifyEntry | |||
| SEQUENCE | |||
| NotifyType as nHostNotifyType | |||
| Gauge32 as nHostNotifyNum | |||
| OCTET STRING as nHostAckAuthor | |||
| OCTET STRING as nHostAckComment | |||
| SvcEventEntry | |||
| SEQUENCE | |||
| Integer32 as nSvcEventIndex | |||
| OCTET STRING as nSvcHostname | |||
| OCTET STRING as nSvcHostAlias | |||
| HostStateID as nSvcHostStateID | |||
| HostStateType as nSvcHostStateType | |||
| OCTET STRING as nSvcDesc | |||
| ServiceStateID as nSvcStateID | |||
| Integer32 as nSvcAttempt | |||
| Integer32 as nSvcDurationSec | |||
| OCTET STRING as nSvcGroupName | |||
| INTEGER as nSvcLastCheck | |||
| INTEGER as nSvcLastChange | |||
| INTEGER as nSvcLastOK | |||
| INTEGER as nSvcLastWarn | |||
| INTEGER as nSvcLastCrit | |||
| INTEGER as nSvcLastUnkn | |||
| OCTET STRING as nSvcOutput | |||
| OCTET STRING as nSvcPerfData | |||
| SvcNotifyEntry | |||
| SEQUENCE | |||
| NotifyType as nSvcNotifyType | |||
| Gauge32 as nSvcNotifyNum | |||
| OCTET STRING as nSvcAckAuthor | |||
| OCTET STRING as nSvcAckComment | |||