Bugzilla – Attachment 63449 Details for
Bug 143288
nagios-nrpe service definition is wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
SUSE init.d script
rcnagios-nrpe (text/plain), 1.00 KB, created by
Forgotten User 2Xrp_Q7k_A
on 2006-01-16 14:33:24 UTC
(
hide
)
Description:
SUSE init.d script
Filename:
MIME Type:
Creator:
Forgotten User 2Xrp_Q7k_A
Created:
2006-01-16 14:33:24 UTC
Size:
1.00 KB
patch
obsolete
>#!/bin/sh ># ># Created 2000-01-03 by jaclu@grm.se ># ># nrpe This shell script takes care of starting and stopping ># nrpe. ># >### BEGIN INIT INFO ># Provides: nagios-nrpe ># Required-Start: $remote_fs $syslog $network ># Required-Stop: $remote_fs $syslog ># Default-Start: 3 5 ># Default-Stop: 0 1 2 6 ># Description: nrpe is a daemon for a remote nagios server >### END INIT INFO > > ># Source return codes >if [ -f /etc/rc.status ]; then >. /etc/rc.status >fi > > >NrpeBin=/usr/bin/nrpe >NrpeCfg=/etc/nagios/nrpe.cfg >LockFile=/var/lock/subsys/nrpe > ># See how we were called. >case "$1" in > start) > # Start daemons. > echo -n "Starting nrpe: " > startproc $NrpeBin -c $NrpeCfg -d > touch $LockFile > rc_status -v > > ;; > stop) > # Stop daemons. > echo -n "Shutting down nrpe: " > killproc $NrpeBin > rm -f $LockFile > rc_status -v > ;; > restart) > $0 stop > $0 start > ;; > status) > echo -n "Checking for nrpe " > checkproc $NrpeBin > rc_status -v > ;; > *) > echo "Usage: nrpe {start|stop|restart|status}" > exit 1 >esac > >exit 0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 143288
:
63446
| 63449