mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41: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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue