Page 1 of 1

Reconfigure causes error

Posted: Thu Jan 16, 2014 4:25 pm
by BanditBBS
One of my users tried to reconfigure a service today and it screwed something up.

Code: Select all

 74 define service {
 75         host_name                       aixdb006
 76         service_description             sasdata Disk Usage
 77         use                             aix_prod_service
 78         check_command                   check_nrpe!check_disk!-a '-w 5% -c 3% -p /sasdata' -n!!!!!!
 79         max_check_attempts              12
 80         retry_interval                  5
 81         notification_options            notification_options
 82         notifications_enabled           1
 83         _xiwizard                       aix
 84         register                        1
 85         }
Notice line 81!! We have no notification options selected in the service as they are inherited. This issue just started today with the update to 2.8

Re: Reconfigure causes error

Posted: Fri Jan 17, 2014 10:53 am
by slansing
Okay, so you reconfigured the service through Home > Services > "Service Name" > Reconfigure, correct? Not through the CCM? Would it be safe to assume you reconfigured the notification options? I just want to try to reproduce this as close to what you did as possible.

Re: Reconfigure causes error

Posted: Fri Jan 17, 2014 1:28 pm
by BanditBBS
slansing wrote:Okay, so you reconfigured the service through Home > Services > "Service Name" > Reconfigure, correct? Not through the CCM? Would it be safe to assume you reconfigured the notification options? I just want to try to reproduce this as close to what you did as possible.
Man, Sam, you didn't catch my comma instead of spaces in my performance data issue....I guess I'll give you a second shot at fixing one of my issues, LOL. ;)

This is what the config looked like before he touched it:

Code: Select all

define service {
        host_name                       aixdb006
        service_description             sasdata Disk Usage
        use                             aix_prod_service
        check_command                   check_nrpe!check_disk!-a '-w 10% -c 5% -p /sasdata' -n!!!!!!
        _xiwizard                       aix
        register                        1
        }
The opening post shows what it looked like after he did the following: (NOT VIA THE CCM)
Clicked on service - Clicked on Configure - Clicked on Reconfigure this Service. He then entered the retry interval and max attampts. he also changed the percentages then clicked update. He did not go to any of the other 2 tabs.

I then had to modify in the CCM and this is what the config looks like now: (I did add a new contact)

Code: Select all

define service {
        host_name                       aixdb006
        service_description             sasdata Disk Usage
        use                             aix_prod_service
        check_command                   check_nrpe!check_disk!-a '-w 5% -c 3% -p /sasdata' -n!!!!!!
        max_check_attempts              12
        retry_interval                  5
        notifications_enabled           1
        contacts                        v-hsinge-tmc
        _xiwizard                       aix
        register                        1
        }

Re: Reconfigure causes error

Posted: Fri Jan 17, 2014 1:46 pm
by slansing
To be fair, I did notice it but did not get a chance to reply in time. :D

I was able to reproduce this behavior, about to go talk to the dev's about a bug fix.. give me a few minutes.

Update: Bug confirmed when reconfiguring a service through Home > Service Detail > Configure > Reconfigure, and setting problem state check and max intervals, we've identified what is causing the bug and are working on a fix at this very moment.