Nagios Service restart with ndoutils configured

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Nagios Service restart with ndoutils configured

Post by yunushaikh »

I dont know better than you but I guess this is not server level issue
I just want you to know that when nagios deletes everything from nagios_hosts and nagios_Services table. All these entries happen again when the service is restarted.
This entry takes time to run. Because of which the webpage does not refresh fast.

Is there any way we can configure like it should only update the modified changes in cfg file or insert a new entry and dont delete the existing ones and re-insert them back.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Service restart with ndoutils configured

Post by tmcdonald »

824 services and 15 hosts really shouldn't be that much of a burden for ndo, but yes I agree that things could be handled better. There's nothing that I know of that will only refresh what is needed, and this would likely need to be a feature request for Core/ndo. You can file a Github Issue for either of these projects here:

https://github.com/NagiosEnterprises/ndoutils
https://github.com/NagiosEnterprises/nagioscore

Otherwise I would be happy to do so on your behalf.
Former Nagios employee
yunushaikh
Posts: 176
Joined: Sat Jun 20, 2015 9:04 pm

Re: Nagios Service restart with ndoutils configured

Post by yunushaikh »

Yes sir, Sure you can do that
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Service restart with ndoutils configured

Post by rkennedy »

I have filed a report for this @ https://github.com/NagiosEnterprises/ndoutils/issues/11

As this report has been filed, and you can follow it on the GitHub - I will now close this thread out.

Feel free to open a new thread if you ever need assistance!
Former Nagios Employee
jfrickson

Re: Nagios Service restart with ndoutils configured

Post by jfrickson »

@yunushaikh, did you ever try the one in branch https://github.com/NagiosEnterprises/nd ... tils-2.1b2?

I would be very interested to find out if it improved your startup time.
Locked