Nagios crashed. Re-building again.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios crashed. Re-building again.

Post by scottwilkerson »

If you continue to have trouble can you post your

Code: Select all

/etc/httpd/conf.d/nagiosql.conf
Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Re: Nagios crashed. Re-building again.

Post by prateekagr1988 »

The previous issues are mostly resolved.

However, I have the below errors now:
1. Apply configuration fails. Verification of nagios config says below:
"
.
.
.
Warning: Contact 'nagiosadmin' has no service notification time period defined!
Warning: Contact 'nagiosadmin' has no host notification time period defined!
Warning: Host recovery notification option for contact 'nagiosadmin' doesn't make any sense - specify down and/or unreachable options as well
Warning: Service recovery notification option for contact 'nagiosadmin' doesn't make any sense - specify critical and/or warning options as well
Checked 63 contacts.
Checking contact groups...
Checked 9 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 143 commands.
Checking time periods...
Checked 72 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 14
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
"

2. check_http fails only for windows machines, but works for solaris/redhat machines
3. Alerts cleared in XI, are not cleared in spectrum
4. We have the feeling checks in XI immediatly send an alert, instead of waiting as per the set policy
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios crashed. Re-building again.

Post by lmiltchev »

1. Apply configuration fails.
If you are referring to the 14 warnings, these are not errors and will not prevent applying configuration. Are you still getting the "ERROR 500: Internal Server Error" when you run the "reconfigure_nagios.sh" script from the CLI? You haven't given us any of the requested info below:
service nagios status
service ndo2db status
service mysqld status
service crond restart
service crond status
ps -ef | grep cron
tail -20 /var/log/cron
chage nagios -l
chage apache -l
getenforce
ll /usr/local/nagiosxi/scripts/nagiosql*
tail -50 /var/log/httpd/error_log
cat /etc/httpd/conf.d/nagiosql.conf
2. check_http fails only for windows machines, but works for solaris/redhat machines
Can you show us the actual check that you are running along with the output of it (one that is failing and one that is working)?
3. Alerts cleared in XI, are not cleared in spectrum
What is "spectrum"? Can you elaborate?
4. We have the feeling checks in XI immediately send an alert, instead of waiting as per the set policy
Go to:
* Reports->State History, and post us a screenshot of this page, showing the "problem" service in hard non-OK state
* Reports->Notifications, and post us a screenshot of this page, showing the notifications sent around the same time
* CCM->Services-><your service>->View Text Config (diskette icon) and show us the service definition
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked