Apply config never completes "contact xyz has no....

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Apply config never completes "contact xyz has no....

Post by jkelly1959 »

Our latest apply config never completes. received messages:

Error: Contact 'OEMTeam' has no service notification commands defined!
Error: Contact 'OEMTeam' has no host notification commands defined!

Deleted contact group OEMTeam and still happens(including messages above). Follows pattern set in https://support.nagios.com/kb/article/n ... 1488288749
except for the last manual run of reconfigure.sh...I DO NOT get prompted for password so not sure is sudo issue.

is there a simple out?

Here is general error page text.

Reset config permissions failed.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.
Try Again View Snapshot
Write host configurations ...
Configuration file: ca200.infra.cinfin.com.cfg successfully written!
Host configuration files successfully written!

Write service configurations ...
Configuration file: ca200.infra.cinfin.com.cfg successfully written!
Service configuration files successfully written!

Configuration file: hostgroups.cfg successfully written!
Configuration file: servicegroups.cfg successfully written!
Configuration file: hosttemplates.cfg successfully written!
Configuration file: servicetemplates.cfg successfully written!
Configuration file: timeperiods.cfg successfully written!
Configuration file: commands.cfg successfully written!
Configuration file: contacts.cfg successfully written!
Configuration file: contactgroups.cfg successfully written!
Configuration file: contacttemplates.cfg successfully written!
Configuration file: servicedependencies.cfg successfully written!
Configuration file: hostdependencies.cfg successfully written!
Configuration file: serviceescalations.cfg successfully written!
Configuration file: hostescalations.cfg successfully written!
Configuration file: serviceextinfo.cfg successfully written!
Configuration file: hostextinfo.cfg successfully written!
Error: Contact 'OEMTeam' has no service notification commands defined!
Error: Contact 'OEMTeam' has no host notification commands defined!
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Re: Apply config never completes "contact xyz has no....

Post by jkelly1959 »

Hold on this till morning....we did get prompted for password on command line entry. Will attempt fix from other post in am and reply here.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Apply config never completes "contact xyz has no....

Post by dwhitfield »

jkelly1959 wrote: so not sure is sudo issue.
If you aren't able to resolve the issue yourself, it might be worth posting the sudoers file here (or opening a ticket to do so) just as a sanity check.
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Re: Apply config never completes "contact xyz has no....

Post by jkelly1959 »

OK looks as part of our audit process the master sudoers file overwrites the systems sudoers. We are working with the linux admins to get the updates returned. Will update when they have and problem is resolved.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Apply config never completes "contact xyz has no....

Post by tgriep »

Yes, the missing entries in the sudoers file would cause the issue you are having.
Let us know if you need any other help.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Re: Apply config never completes "contact xyz has no....

Post by jkelly1959 »

suduers corrected...All working as before

Thanks all who gave input@!
kyang

Re: Apply config never completes "contact xyz has no....

Post by kyang »

Sounds good!

Did you have any more questions or are we okay to lock this up?
Locked