Code

Added snmp-community to gosa setup
[gosa.git] / contrib / openldap / nagios.schema
1 #
2 ## schema file for OpenLDAP 2.x
3 ## Schema for storing Nagios User Configuration in LDAP
4 ## OIDs are owned by OpenSides
5 ##
6 ## number from 1 to 30 are for objectclasses
7 ## attributeype start at 31
8 #
9 # $Id: nagios.schema,v 1.5 2005/09/09 10:31:55 guiguidoc Exp $
10 #
11 # nagios/contacts.cfg
12 #
13 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.31 NAME 'NagiosMail'
14         DESC 'short name used to identify the contact'
15         EQUALITY caseIgnoreIA5Match
16         SUBSTR caseExactIA5SubstringsMatch
17         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
19 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.32 NAME 'NagiosPager'
20         DESC 'pager number for the contact'
21         EQUALITY caseIgnoreIA5Match
22         SUBSTR caseExactIA5SubstringsMatch
23         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
25 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.33 NAME 'NagiosAlias'
26         DESC 'longer name or description for the contact'
27         EQUALITY caseIgnoreIA5Match
28         SUBSTR caseExactIA5SubstringsMatch
29         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
31 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.34 NAME 'ServiceNotificationPeriod'
32         DESC 'time period during wich the contact can be notified'
33         EQUALITY caseIgnoreIA5Match
34         SUBSTR caseExactIA5SubstringsMatch
35         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
37 attributetype ( 1.3.6.1.4.1.22262.1.1.1.35 NAME 'HostNotificationPeriod'
38         DESC 'time period during which the contact can be notified'
39         EQUALITY caseIgnoreIA5Match
40         SUBSTR caseExactIA5SubstringsMatch
41         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
43 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.36 NAME 'ServiceNotificationOptions'
44         DESC 'define the service states for which notifications can be sent out'
45         EQUALITY caseIgnoreIA5Match
46         SUBSTR caseExactIA5SubstringsMatch
47         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
49 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.37 NAME 'HostNotificationOptions'
50         DESC 'define the service states for which notifications can be sent out'
51         EQUALITY caseIgnoreIA5Match
52         SUBSTR caseExactIA5SubstringsMatch
53         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
55 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.38 NAME 'ServiceNotificationCommands'
56         DESC 'commands used to notify the contact'
57         EQUALITY caseIgnoreIA5Match
58         SUBSTR caseExactIA5SubstringsMatch
59         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
61 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.39 NAME 'HostNotificationCommands'
62         DESC 'commands used to notify the contact'
63         EQUALITY caseIgnoreIA5Match
64         SUBSTR caseExactIA5SubstringsMatch
65         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
67 #
68 # nagios/cgi.cfg
69 #
70 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.40 NAME 'AuthorizedSystemInformation'
71         DESC 'users who can view system/process information'
72         EQUALITY caseIgnoreIA5Match
73         SUBSTR caseExactIA5SubstringsMatch
74         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
76 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.41 NAME 'AuthorizedConfigurationInformation'
77         DESC 'users who can view configuration information'
78         EQUALITY caseIgnoreIA5Match
79         SUBSTR caseExactIA5SubstringsMatch
80         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
82 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.42 NAME 'AuthorizedSystemCommands'
83         DESC 'users who can issue system/process commands'
84         EQUALITY caseIgnoreIA5Match
85         SUBSTR caseExactIA5SubstringsMatch
86         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
88 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.43 NAME 'AuthorizedAllServices'
89         DESC 'users who can view status and configuration information'
90         EQUALITY caseIgnoreIA5Match
91         SUBSTR caseExactIA5SubstringsMatch
92         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
94 attributetype ( 1.3.6.1.4.1.22262.1.1.1.44 NAME 'AuthorizedAllHosts'
95         DESC 'users who can view status and configuration information'
96         EQUALITY caseIgnoreIA5Match
97         SUBSTR caseExactIA5SubstringsMatch
98         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
100 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.45 NAME 'AuthorizedAllServiceCommands'
101         DESC 'users who can issue commands for all services'
102         EQUALITY caseIgnoreIA5Match
103         SUBSTR caseExactIA5SubstringsMatch
104         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
106 attributetype ( 1.3.6.1.4.1.22262.1.1.1.46 NAME 'AuthorizedAllHostCommands'
107         DESC 'users who can issue commands for all hosts'
108         EQUALITY caseIgnoreIA5Match
109         SUBSTR caseExactIA5SubstringsMatch
110         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
113 # nagios/contactgroups.cfg
116 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.47 NAME 'ContactGroupName'
117         DESC 'name used to identify the contact group'
118         EQUALITY caseIgnoreIA5Match
119         SUBSTR caseExactIA5SubstringsMatch
120         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
122 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.48 NAME 'ContactGroupAlias'
123         DESC 'description used to identify the contact group'
124         EQUALITY caseIgnoreIA5Match
125         SUBSTR caseExactIA5SubstringsMatch
126         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
128 attributetype ( 1.3.6.1.4.1.22262.1.1.1.1.49 NAME 'ContactGroupMembers'
129         DESC 'a list of the short names of contacts'
130         EQUALITY caseIgnoreIA5Match
131         SUBSTR caseExactIA5SubstringsMatch
132         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
135 # all objectclass 
138 objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.1 NAME 'nagiosAuth' SUP top AUXILIARY
139  DESC 'nagiosAuth'
140  MAY (  AuthorizedSystemInformation $ AuthorizedConfigurationInformation $ 
141         AuthorizedSystemCommands $ AuthorizedAllServices $ AuthorizedAllHosts $
142         AuthorizedAllServiceCommands $ AuthorizedAllHostCommands ) )
144 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.2 NAME 'nagiosHost' SUP top AUXILIARY
145 # DESC 'Host'
147 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.3 NAME 'nagiosService' SUP top AUXILIARY
148 # DESC 'Service'
150 objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.4 NAME 'nagiosContact' SUP top AUXILIARY
151  DESC 'Contact'
152  MUST ( uid $ NagiosAlias $ ServiceNotificationPeriod $ HostNotificationPeriod $ 
153         ServiceNotificationOptions $ HostNotificationOptions  ) 
154  MAY (  ServiceNotificationCommands $ HostNotificationCommands $ NagiosMail $ NagiosPager  ))
156 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.5 NAME 'nagiosHostGroup' SUP top AUXILIARY
157 # DESC 'HostGroup'
159 objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.6 NAME 'nagiosContactGroup' SUP top AUXILIARY
160  DESC 'ContactGroup'
161  MAY ( ContactGroupName $ ContactGroupAlias $ ContactGroupMembers  ))
163 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.7 NAME 'nagiosTimePeriod' SUP top AUXILIARY
164 # DESC 'TimePeriod'
166 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.8 NAME 'nagiosCommand' SUP top AUXILIARY
167 # DESC 'Command'
169 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.9 NAME 'nagiosServiceDependency' SUP top AUXILIARY
170 # DESC 'ServiceDependency'
172 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.10 NAME 'nagiosServiceEscalation' SUP top AUXILIARY
173 # DESC 'ServiceEscalation'
175 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.11 NAME 'nagiosHostDependency' SUP top AUXILIARY
176 # DESC 'HostDependency'
178 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.12 NAME 'nagiosHostEscalation' SUP top AUXILIARY
179 # DESC 'HostEscalation'
181 #objectclass ( 1.3.6.1.4.1.22262.1.1.1.1.13 NAME 'nagiosHostGroupEscalation' SUP top AUXILIARY
182 # DESC 'HostGroupEscalation'