mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
don't depend on sudo to run pfctl
we should assume plugin is correctly configured, as munin-node can run plugins as root
This commit is contained in:
parent
5cdacbaffd
commit
2a3932cfd1
@ -66,7 +66,7 @@ END {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
sudo pfctl -sl | awk '
|
pfctl -sl | awk '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
total=0
|
total=0
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ END {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
sudo pfctl -sl | awk '
|
pfctl -sl | awk '
|
||||||
BEGIN {
|
BEGIN {
|
||||||
total=0
|
total=0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user