aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pnp4nagios/npcd
diff options
context:
space:
mode:
authorPeter de Zoeten <peter@dezoeten.mine.nu>2011-11-16 12:54:36 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2011-11-16 12:31:38 +0000
commit7081d24228a151738d53941e07071c8ed24839fb (patch)
treed7d1f396ed0e8bfe8c98269d70de7538d08c119b /testing/pnp4nagios/npcd
parent8b400bec2ff24c792104be87bce6f6ee50c91463 (diff)
downloadaports-7081d24228a151738d53941e07071c8ed24839fb.tar.bz2
aports-7081d24228a151738d53941e07071c8ed24839fb.tar.xz
PNP4Nagios Nagios Graphing Utility
more info: http://www.pnp4nagios.org Remember to look at /etc/pnp4nagios/npcd.cfg for the correct paths And look at /etc/lighttpd/pnp4nagios.conf.sample
Diffstat (limited to 'testing/pnp4nagios/npcd')
-rw-r--r--testing/pnp4nagios/npcd21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/pnp4nagios/npcd b/testing/pnp4nagios/npcd
new file mode 100644
index 0000000000..2b17bea51a
--- /dev/null
+++ b/testing/pnp4nagios/npcd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+
+depend() {
+ use net
+ need dbus
+ before nfs
+ after logger
+ }
+
+start() {
+ ebegin "Starting npcd"
+ start-stop-daemon --start --quiet --exec /usr/bin/npcd -- -d -f /etc/pnp4nagios/npcd.cfg
+ eend $?
+ }
+
+stop() {
+ ebegin "Stopping npcd"
+ start-stop-daemon --stop --quiet --exec /usr/bin/npcd
+ eend $?
+ }
+