Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 3826 Details for
Bug 7789
[new ebuild] Nagios (Network Monitoring) previously netsaint
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/nagios
nagios (text/plain), 1.13 KB, created by
Lim Swee Tat (RETIRED)
on 2002-09-11 05:14:24 UTC
(
hide
)
Description:
files/nagios
Filename:
MIME Type:
Creator:
Lim Swee Tat (RETIRED)
Created:
2002-09-11 05:14:24 UTC
Size:
1.13 KB
patch
obsolete
>#!/sbin/runscript ># ># description: Nagios network monitor ># ># Description: Starts and stops the Nagios monitor ># used to provide network services status. ># >checkconfig() { > # Check that nagios exists. > if [ ! -e /usr/sbin/nagios ]; then > eerror "Make sure you have /usr/sbin/nagios" > return 1 > fi > > # Check that nagios.cfg exists. > if [ ! -f /etc/nagios/nagios.cfg ]; then > eerror "Please make sure that you have configured /etc/nagios/nagios.cfg" > return 1 > fi >} > >#update_apache() { ># if [ ! -e /etc/apache/conf/apache.conf ] ; then ># fi >#} > >start() { > checkconfig || return 1 > ebegin "Bringing Nagios up" > su nagios -c "touch /var/log/nagios//nagios.log /var/log/nagios/status.sav" > rm -rf /var/log/nagios/rw/nagios.cmd > start-stop-daemon --start --quiet --pidfile /var/run/nagios.pid \ > --startas /usr/sbin/nagios -- -d /etc/nagios/nagios.cfg > eend $? >} > >stop() { > ebegin "Bringing Nagios down" > start-stop-daemon --stop --quiet --pidfile /var/run/nagios.pid > rm -f /var/log/nagios/status.log /var/log/nagios/nagios.tmp /var/log/nagios/rw/nagios.cmd > eend $? >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7789
:
3825
| 3826 |
4310