Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Just a script to facilitate restarts of nrpe and automatically start the nrpe daemon at different run levels.
Current Version
Last Release Date
June 18, 2009
Owner
Nagios Exchange
Website
http://wintercastle.net/
the nrpe script
+++ NRPE init script Is this provided with NRPE somewhere? I don't know. It seems weird that it isn't. Anyways, I modified my apache init script to start NRPE. Maybe it is useful to you as well
++++ Installation This is a very standard procedure. Add 'nrpe' to '/etc/init.d/' or wherever your init scripts go. Then add nrpe to the run levels you want it to start by creating symlinks or for Red Hat type distributions
/sbin/chkconfig --add nrpe /sbin/chkconfig --list nrpe
It will automatically start in run levels 3 and 5 by default.
remove -n from line 30 if you want to use SSL OPTIONS='-c /usr/local/nagios/etc/nrpe.cfg -d'
thanks for this. I needed to modify it to be correct for install from repo, you assumed source install in the script. Noticed on RHEL 5.11, rpm from EPEL also didn't have init script :( Also a couple variable were mixed up. fixed it up and it works.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!