NotifyType set to Gauge32, instead of Integer32, for host and service notifications...
[nagiosmib.git] / MIB / NAGIOS-ROOT-MIB
blob1aa88eb861e621330b5f5aa9ab7e2e48729b98c2
1 NAGIOS-ROOT-MIB DEFINITIONS ::= BEGIN
2 IMPORTS
3   MODULE-IDENTITY,  enterprises 
4     FROM SNMPv2-SMI
5   TEXTUAL-CONVENTION
6     FROM SNMPv2-TC;
9 nagios MODULE-IDENTITY
10     LAST-UPDATED "200503090000Z" -- March 9, 2005
11     ORGANIZATION "Nagios"
12     CONTACT-INFO
13       " Subhendu Ghosh
14       
15       Telephone: +1 201 232 2851
16       Email: sghosh@users.sourceforge.net
18       Nagios Information:
19         http://www.nagios.org
20       "
21     DESCRIPTION
22       "Objects for Nagios(tm) NMS"
23     REVISION "200503090000Z" -- March 9, 2005
24     DESCRIPTION
25       "Spell check"
26                 REVISION "200501200000Z" --January 20, 2005
27     DESCRIPTION
28       "Initial Version"
29     ::= {enterprises 20006}
32 -- Textual Conventions
35 NotifyType ::= TEXTUAL-CONVENTION
36   STATUS current
37   DESCRIPTION
38     "A string identifying the type of notification that is being sent 
39     (PROBLEM, RECOVERY, ACKNOWLEDGEMENT, FLAPPINGSTART or FLAPPINGSTOP).
40     "
41   SYNTAX INTEGER {
42     problem(0),
43     recovery(1),
44     acknowledgement(2),
45     flappingstart(3),
46     flappingstop(4)
47     }
49 HostStateID ::= TEXTUAL-CONVENTION
50   STATUS current
51   DESCRIPTION
52     "A number that corresponds to the current state of the host: 0=UP, 1=DOWN, 
53     2=UNREACHABLE."
54   SYNTAX INTEGER {
55     up(0),
56     down(1),
57     unreachable(3)
58     }
59         
60 HostStateType ::= TEXTUAL-CONVENTION
61   STATUS current
62   DESCRIPTION
63     "A string indicating the state type for the current host check (HARD or 
64     SOFT). Soft states occur when host checks return a non-OK (non-UP) state 
65     and are in the process of being retried. Hard states result when host 
66     checks have been checked a specified maximum number of times."
67   SYNTAX INTEGER {
68     hard(0),
69     soft(1)
70     }
72 ServiceStateID ::= TEXTUAL-CONVENTION
73   STATUS current
74   DESCRIPTION
75     "A number that corresponds to the current state of the service: 0=OK, 
76     1=WARNING, 2=CRITICAL, 3=UNKNOWN.
77     "
78   SYNTAX INTEGER{
79     ok(0),
80     warning(1),
81     critical(2),
82     unknown(3)
83     }
86 END