blob: 36162f9a8fb256c5aaeb7230f1e592eaaf770e6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- a/contrib/nsd_munin_
+++ b/contrib/nsd_munin_
@@ -87,10 +87,10 @@
=cut
-state=${statefile:-/usr/local/var/munin/plugin-state/nsd-state}
-conf=${nsd_conf:-/usr/local/etc/nsd.conf}
-ctrl=${nsd_control:-/usr/local/sbin/nsd-control}
-chkconf=${nsd_checkconf:-/usr/local/sbin/nsd-checkconf}
+state=${statefile:-$MUNIN_PLUGSTATE/nsd-state}
+conf=${nsd_conf:-/etc/nsd/nsd.conf}
+ctrl=${nsd_control:-/usr/sbin/nsd-control}
+chkconf=${nsd_checkconf:-/usr/sbin/nsd-checkconf}
lock=$state.lock
# number of seconds between polling attempts.
|