Re: Apply Configuration Failing with no Error
Posted: Tue Mar 03, 2020 3:35 pm
After repairing the database, if the issue persists, please check the following:
You might want to temporarily comment your livestatus out of your /usr/local/nagios/etc/nagios.cfg file:
...and then restart Nagios core.
But first...
You're getting a bunch of these warnings about your notification intervals being less than their check intervals:
So, you need to go find what templates are assigned to each of your services, edit the templates, and fill in the notification interval, making sure that it matches the check interval. You might need to do this with a number of your templates, then when you apply the config, that should reduce the number of warnings you get...and hopefully the 139 will go away as well.
So, give that a try and let us know what happens.
You might want to temporarily comment your livestatus out of your /usr/local/nagios/etc/nagios.cfg file:
Code: Select all
# MKLivestatus
# broker_module=/usr/local/lib/mk-livestatus/livestatus.o /usr/local/nagios/var/rw/live
But first...
You're getting a bunch of these warnings about your notification intervals being less than their check intervals:
Code: Select all
Checking objects...
Warning: Service 'Services - Microsoft Shadow Copy' on host 'stcadsync01p' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'Services - Microsoft Shadow Copy' on host 'stcctx01d' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
Warning: Service 'Services - Microsoft Shadow Copy' on host 'stcctx01e' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval.
So, give that a try and let us know what happens.