operation sceen couldnot connect to DB !!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

operation sceen couldnot connect to DB !!

Post by zaji_nms »

Dear Support,

1] operation sceen component giving an error "could not connect to database" but all host and service are up to date also coming on Operation Center
2] host/services are out of sync ,

check the attached snap for more details

Regards...
You do not have the required permissions to view the files attached to this post.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: operation sceen couldnot connect to DB !!

Post by BanditBBS »

You aren't the only one this happens to. I noticed this happened, and just started using "Operations Center" instead, even though I much prefer "Operations Screen" with its darker appearance. I just wasn't paying enough attention to notice if it happened when we offloaded the database or upgraded to 2012. Is your database by chance offloaded to another server as well?
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
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: operation sceen couldnot connect to DB !!

Post by zaji_nms »

yes my db is offloaded. but when we apply some changes its not tacking effects until it re-sync to db. nagiosxi expert plz reply and fix this issue as early as possible
Zajil NMS
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: operation sceen couldnot connect to DB !!

Post by BanditBBS »

zaji_nms wrote:yes my db is offloaded. but when we apply some changes its not tacking effects until it re-sync to db. nagiosxi expert plz reply and fix this issue as early as possible
Well, at least now I know there is someone else with the issue. Maybe it has something to do with the offloading of the database. Hopefully someone can figure out that issue so I can use the component again.

As for your other issue, when you apply changes are any warnings or errors reported? Nagios offices are closed today and tomorrow for holiday so you may not see a reply from them until Wednesday.
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
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: operation sceen couldnot connect to DB !!

Post by zaji_nms »

when i add new services it's adding to db and check are also executed without any error, but i want to make some changes on services which i have added which i cant due to syn issue.
Zajil NMS
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: operation sceen couldnot connect to DB !!

Post by mguthrie »

yes my db is offloaded. but when we apply some changes its not tacking effects until it re-sync to db.
If the Core Config Manager is telling you that the files are out of sync, then that means your configuration changes have not actually been applied to Nagios yet. Click Apply Configuration for your config changes to take effect.

As for the Operation Screen component, we'll take a look at the code and see why it's not connecting with an offloaded DB.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: operation sceen couldnot connect to DB !!

Post by mguthrie »

Here you go. This version should connect to the offloaded DB correctly as long as you've updated the credentials and DB information in your /usr/local/nagiosxi/html/config.inc.php file.
You do not have the required permissions to view the files attached to this post.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: operation sceen couldnot connect to DB !!

Post by BanditBBS »

mguthrie wrote:Here you go. This version should connect to the offloaded DB correctly as long as you've updated the credentials and DB information in your /usr/local/nagiosxi/html/config.inc.php file.
Woot, works. Glad someone finally complained about it :lol:
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
Locked