puppet-wmdeit_ldap/files/schema/nagios.schema

199 lines
6.8 KiB
Plaintext

# Copyright 2004-2017 Univention GmbH
#
# http://www.univention.de/
#
# All rights reserved.
#
# The source code of this program is made available
# under the terms of the GNU Affero General Public License version 3
# (GNU AGPL V3) as published by the Free Software Foundation.
#
# Binary versions of this program provided by Univention to you as
# well as other copyrighted, protected or trademarked materials like
# Logos, graphics, fonts, specific documentations and configurations,
# cryptographic keys etc. are subject to a license agreement between
# you and Univention and not subject to the GNU AGPL V3.
#
# In the case you use this program under the terms of the GNU AGPL V3,
# the program is provided in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License with the Debian GNU/Linux or Univention distribution in file
# /usr/share/common-licenses/AGPL-3; if not, see
# <http://www.gnu.org/licenses/>.
#
# univention owns the namespace 10176.
#
#
# Univention Nagios OID Prefix: 1.3.6.1.4.1.10176.1040.
#
# 1.3.6.1.4.1.10176.1040 nagios objekte
# 1.3.6.1.4.1.10176.1040.1 timeperiod objekt
# 1.3.6.1.4.1.10176.1040.2 service objekt
# 1.3.6.1.4.1.10176.1040.3 host objekt
# 1.3.6.1.4.1.10176.1040.1XXX common nagios attributes
#
# common attributes
#
attributetype ( 1.3.6.1.4.1.10176.1040.1001 NAME 'univentionNagiosActiveChecksEnabled'
DESC 'active service checks enabled?'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1002 NAME 'univentionNagiosPassiveChecksEnabled'
DESC 'passive service checks enabled?'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1003 NAME 'univentionNagiosCheckCommand'
DESC 'name of the nagios plugin'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1004 NAME 'univentionNagiosCheckArgs'
DESC 'nagios plugin arguments'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256})
attributetype ( 1.3.6.1.4.1.10176.1040.1005 NAME 'univentionNagiosEventHandlerEnabled'
DESC 'event handler enabled?'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1006 NAME 'univentionNagiosCheckPeriod'
DESC 'checks are done within the given timeperiod'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1007 NAME 'univentionNagiosMaxCheckAttempts'
DESC 'maximum number of check attempts'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1008 NAME 'univentionNagiosNormalCheckInterval'
DESC 'time between to check under normal conditions'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1009 NAME 'univentionNagiosRetryCheckInterval'
DESC 'time until next check if previous check failed'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1010 NAME 'univentionNagiosContactGroup'
DESC 'notify this contact group'
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
attributetype ( 1.3.6.1.4.1.10176.1040.1011 NAME 'univentionNagiosNotificationInterval'
DESC 'interval length between two notifications'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{10} SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1012 NAME 'univentionNagiosNotificationPeriod'
DESC 'send notifications during this timeperiod'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1013 NAME 'univentionNagiosNotificationOptions'
DESC 'notification options'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.10176.1040.1014 NAME 'univentionNagiosHostname'
DESC 'email address'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.10176.1040.1015 NAME 'univentionNagiosEmail'
DESC 'email address'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributetype ( 1.3.6.1.4.1.10176.1040.1016 NAME 'univentionNagiosEnabled'
DESC 'email address'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
#
# timeperiod specific attributes and timeperiod class
#
attributetype ( 1.3.6.1.4.1.10176.1040.1.2 NAME 'univentionNagiosTimeperiod'
DESC 'nagios timeperiod'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
objectclass ( 1.3.6.1.4.1.10176.1040.1.1 NAME 'univentionNagiosTimeperiodClass'
DESC 'Nagios Timeperiod Definition'
SUP top STRUCTURAL
MUST ( cn $ description )
MAY ( univentionNagiosTimeperiod ) )
#
# service specific attributes and service class
#
attributetype ( 1.3.6.1.4.1.10176.1040.2.2 NAME 'univentionNagiosUseNRPE'
DESC 'activate usage of NRPE'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
objectclass ( 1.3.6.1.4.1.10176.1040.2.1 NAME 'univentionNagiosServiceClass'
DESC 'Nagios Service Definition'
SUP top STRUCTURAL
MUST ( cn $
univentionNagiosCheckCommand $
univentionNagiosCheckPeriod $
univentionNagiosMaxCheckAttempts $ univentionNagiosNormalCheckInterval $
univentionNagiosRetryCheckInterval $
univentionNagiosNotificationInterval $ univentionNagiosNotificationPeriod $
univentionNagiosNotificationOptions )
MAY ( description $ univentionNagiosHostname $ univentionNagiosCheckArgs $ univentionNagiosUseNRPE )
)
#
# host specific attributes and host class
#
attributetype ( 1.3.6.1.4.1.10176.1040.3.2 NAME 'univentionNagiosParent'
DESC 'parent hosts'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
objectclass ( 1.3.6.1.4.1.10176.1040.3.1 NAME 'univentionNagiosHostClass'
DESC 'Nagios Host Extension'
SUP top AUXILIARY
MUST ( cn )
MAY ( univentionNagiosEmail $ univentionNagiosParent $ univentionNagiosEnabled)
)