Home Directory Utilities Restart Nagios

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me
Don't miss your chance to attend the 2014 Nagios World conference!

Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.


Restart Nagios

Bookmark and Share

Rating
0 votes
Favoured:
1
Current Version
1.0
Last Release Date
2013-05-03
Compatible With
  • Nagios 3.x
E-mail
License
GPL
Hits
21031
Files:
FileDescription
restartnagios.shrestartnagios.sh
Run configuration test and restart Nagios automatically!

Checks the output of /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg to get the total number of warnings and errors. If either is greater than 0, the script stops and displays the errors. If not, it automatically performs a service nagios reload command.