Page 1 of 2
Editing service bug?
Posted: Mon May 01, 2017 2:10 pm
by askewdread
Hey,
ive noticed this what appears to be a bug a couple of times, never really bothered me but thought id point it out for you guys
If you go into a service, use the cog and go 'reconfigure this service' it then comes up about using CCM and when you click edit in CCM it gives a blank page, it looks like its passing the id for the service as -1 which would explain why the page doesnt have the correct data, but thought id pass it on
see screenshots
Re: Editing service bug?
Posted: Mon May 01, 2017 2:18 pm
by avandemore
What version of XI are you using? It appears to be working correctly in 5.4.4.
Re: Editing service bug?
Posted: Mon May 01, 2017 2:21 pm
by askewdread
Im on 5.4.4
missed screenshot added
Re: Editing service bug?
Posted: Mon May 01, 2017 2:21 pm
by tgriep
It could be a corrupt MYSQL table entry or a duplicated nagios daemon causing the issue.
Try following this process and see if it corrects the issue.
Login as root to the Nagios server and run the following to repair the mysql database.
Code: Select all
cd /usr/local/nagiosxi/scripts
./repair_databases.sh
Then, run these commands to restart the daemons.
Code: Select all
service nagios stop
killall -9 nagios
service ndo2db restart
service nagios start
Wait a few minutes to login to the GUI and see if the issue still exists.
Re: Editing service bug?
Posted: Mon May 01, 2017 2:29 pm
by askewdread
not keen to do all that to our production one....
but i have a test one that was installed recently and it does the exact same thing....
ive got 4 instances across 2 business's of XI and have just checked and all 4 do the same thing
Re: Editing service bug?
Posted: Mon May 01, 2017 3:19 pm
by tgriep
How was the test server created? Was it a restore from one of the other servers?
How are the service checks created on the server?
Re: Editing service bug?
Posted: Mon May 01, 2017 3:23 pm
by askewdread
it was just a fresh install done from the installer
just any basic service created in CCM and assigned to a host group

Re: Editing service bug?
Posted: Mon May 01, 2017 3:47 pm
by lmiltchev
I was able to recreate the issue, and filed an internal bug report (TASK ID 11700).
Re: Editing service bug?
Posted: Mon May 01, 2017 4:08 pm
by askewdread
lmiltchev wrote:I was able to recreate the issue, and filed an internal bug report (TASK ID 11700).
awesome

thanks for that
Re: Editing service bug?
Posted: Mon May 01, 2017 4:38 pm
by dwhitfield
It sounds like this issue has been as resolved as it is going to get until the devs fix the bug. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!