mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00: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
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue