NAGIOS-NOTIFY-MIB

File: NAGIOS-NOTIFY-MIB.mib (19733 bytes)

Imported modules

SNMPv2-SMI NAGIOS-ROOT-MIB

Imported symbols

MODULE-IDENTITY OBJECT-TYPE NOTIFICATION-TYPE
Integer32 Gauge32 nagios
NotifyType HostStateID HostStateType
ServiceStateID

Defined Types

HostEventEntry  
SEQUENCE    
  nHostEventIndex Integer32
  nHostname OCTET STRING
  nHostAlias OCTET STRING
  nHostStateID HostStateID
  nHostStateType HostStateType
  nHostAttempt Integer32
  nHostDurationSec Integer32
  nHostGroupName OCTET STRING
  nHostLastCheck INTEGER
  nHostLastChange INTEGER
  nHostLastUp INTEGER
  nHostLastDown INTEGER
  nHostLastUnreachable INTEGER
  nHostOutput OCTET STRING
  nHostPerfData OCTET STRING

HostNotifyEntry  
SEQUENCE    
  nHostNotifyType NotifyType
  nHostNotifyNum Gauge32
  nHostAckAuthor OCTET STRING
  nHostAckComment OCTET STRING

SvcEventEntry  
SEQUENCE    
  nSvcEventIndex Integer32
  nSvcHostname OCTET STRING
  nSvcHostAlias OCTET STRING
  nSvcHostStateID HostStateID
  nSvcHostStateType HostStateType
  nSvcDesc OCTET STRING
  nSvcStateID ServiceStateID
  nSvcAttempt Integer32
  nSvcDurationSec Integer32
  nSvcGroupName OCTET STRING
  nSvcLastCheck INTEGER
  nSvcLastChange INTEGER
  nSvcLastOK INTEGER
  nSvcLastWarn INTEGER
  nSvcLastCrit INTEGER
  nSvcLastUnkn INTEGER
  nSvcOutput OCTET STRING
  nSvcPerfData OCTET STRING

SvcNotifyEntry  
SEQUENCE    
  nSvcNotifyType NotifyType
  nSvcNotifyNum Gauge32
  nSvcAckAuthor OCTET STRING
  nSvcAckComment OCTET STRING

Defined Values

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    

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    

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    

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