Editing service bug?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Editing service bug?

Post 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
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Editing service bug?

Post by avandemore »

What version of XI are you using? It appears to be working correctly in 5.4.4.
Previous Nagios employee
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Re: Editing service bug?

Post by askewdread »

Im on 5.4.4
missed screenshot added
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Editing service bug?

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Re: Editing service bug?

Post 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
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Editing service bug?

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Re: Editing service bug?

Post 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 :)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Editing service bug?

Post by lmiltchev »

I was able to recreate the issue, and filed an internal bug report (TASK ID 11700).
Be sure to check out our Knowledgebase for helpful articles and solutions!
askewdread
Posts: 69
Joined: Wed Nov 16, 2016 4:54 pm

Re: Editing service bug?

Post by askewdread »

lmiltchev wrote:I was able to recreate the issue, and filed an internal bug report (TASK ID 11700).
awesome :) thanks for that
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Editing service bug?

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