Reconfigure causes error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Reconfigure causes error

Post 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
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Reconfigure causes error

Post 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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Reconfigure causes error

Post 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
        }
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Reconfigure causes error

Post 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.
Locked