mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Updated asterisk_channels plugin to connect to running asterisk (probably what was intended) instead of starting new process.
This commit is contained in:
parent
430d68ffd9
commit
1a3ca61248
1 changed files with 1 additions and 1 deletions
|
@ -27,5 +27,5 @@ if [ "$1" = "config" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
asterisk -x "core show channels" | awk '/active channels/ { print "channels.value " $1 }'
|
asterisk -rx "core show channels" | awk '/active channels/ { print "channels.value " $1 }'
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue