Home Directory Utilities Restart Nagios

Search Exchange

Search All Sites

Nagios Log Server Now Available - Download Now

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

Restart Nagios

Bookmark and Share

Don't miss your chance to attend the 2015 Nagios World conference!

Don't miss your chance to attend the 2015 Nagios World Conference, Sep 28-30th. Informative Sessions, Networking, Food and Cocktails! Visit conference.nagios.com for more information or to register.


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
32936
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.