From: Frank Brehm Date: Mon, 13 Dec 2010 22:48:03 +0000 (+0000) Subject: Bugfixing X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=f01e1ea9fbfaee9ce724978d588db695ae51106c;p=my-stuff%2Fnagios.git Bugfixing git-svn-id: http://svn.brehm-online.com/svn/my-stuff/nagios/trunk@154 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- diff --git a/bin/nagios/cfg/struct.py b/bin/nagios/cfg/struct.py index f6caf04..a43ebce 100755 --- a/bin/nagios/cfg/struct.py +++ b/bin/nagios/cfg/struct.py @@ -243,7 +243,7 @@ Returns None if the key is invalid.""" 'notification_interval': ( 'int', { 'mandantory': True } ), 'first_notification_delay': ( 'int', None ), 'notification_period': ( 'string', { 'mandantory': True } ), - 'notification_options': ( 'set', { 'valid_values': set( [ 'd', 'u', 'r', 'f', 's' ] ) } ), + 'notification_options': ( 'set', { 'valid_values': set( [ 'd', 'u', 'r', 'f', 's', 'n' ] ) } ), 'notifications_enabled': ( 'bool', None ), 'stalking_options': ( 'set', { 'valid_values': set( [ 'o', 'd', 'u' ] ) } ), 'notes': ( 'string', None ), @@ -290,7 +290,7 @@ Returns None if the key is invalid.""" 'notification_interval': ( 'int', { 'mandantory': True } ), 'first_notification_delay': ( 'int', None ), 'notification_period': ( 'string', { 'mandantory': True } ), - 'notification_options': ( 'set', { 'valid_values': set( [ 'w', 'u', 'c', 'r', 'f', 's', ] ) } ), + 'notification_options': ( 'set', { 'valid_values': set( [ 'w', 'u', 'c', 'r', 'f', 's', 'n' ] ) } ), 'notifications_enabled': ( 'bool', None ), 'contacts': ( 'array', { 'mandantory': True } ), 'contact_groups': ( 'array', { 'mandantory': True } ),