From 7081d24228a151738d53941e07071c8ed24839fb Mon Sep 17 00:00:00 2001 From: Peter de Zoeten Date: Wed, 16 Nov 2011 12:54:36 +0100 Subject: 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 --- testing/pnp4nagios/npcd | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testing/pnp4nagios/npcd (limited to 'testing/pnp4nagios/npcd') 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 $? + } + -- cgit v1.2.3