| Home »
Categories »
Multiple Categories |
Nagios Core - Nagios did not exit in a timely manner |
|
Article Number: 172 | Rating: 1.6/5 from 7 votes | Last Updated by tgriep on Mon, May 20, 2019 at 4:32 PM
|
Problem Description
In larger deployments of nagios, stopping or restarting the nagios service may result in the error:
Nagios did not exit in a timely manner
This is due to many factors in large deployments, but basically it is just a timeout issue.
Resolving The Problem
You can update the nagios init script to increase how long the script is allowed to run for.
Edit the file of /etc/init.d/nagios and find this line:
for i in 1 2 3 4 5 6 7 8 9 10 ; do
Change it to:
for i in {1..90} ; do
This changes the timeout to 90 seconds, increase to a larger number as required.
This change will be overwritten each time an upgrade of Nagios XI or Nagios Core occurs, you will need to re-modify after an upgrade.
Final Thoughts
For any support related questions please visit the Nagios Support Forums at:
http://support.nagios.com/forum/
Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.
Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!
|
|
|
Have a question? Try our Forums! | Give Feedback |
1.57 (7)
Article Rating (7 Votes)
Rate this article
|
| |
|
Attachments
There are no attachments for this article.
| Related Articles 
Nagios XI - Profile Build Failed
Viewed 15201 times since Tue, Aug 2, 2016
Nagios XI - Crashed Database Tables
Viewed 67522 times since Tue, Jan 27, 2015
Nagios XI - STRICT_TRANS_TABLES
Viewed 10468 times since Thu, Nov 16, 2017
Nagios XI - Scheduled Reports Not Running
Viewed 6881 times since Thu, Aug 10, 2017
Nagios XI - Troubleshooting Reports
Viewed 9010 times since Wed, Dec 5, 2018
|
|