]> Frank Brehm's Git Trees - my-stuff/nagios.git/commitdiff
Bugfixing
authorFrank Brehm <frank@brehm-online.com>
Mon, 13 Dec 2010 22:48:03 +0000 (22:48 +0000)
committerFrank Brehm <frank@brehm-online.com>
Mon, 13 Dec 2010 22:48:03 +0000 (22:48 +0000)
git-svn-id: http://svn.brehm-online.com/svn/my-stuff/nagios/trunk@154 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa

bin/nagios/cfg/struct.py

index f6caf04e295ecf95ac611ae4b6aa495be56c8131..a43ebce560208c2a58a9eaca4493d87a2b440b5f 100755 (executable)
@@ -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 } ),