Bug#610920: munin-plugins-extra: asterisk_codecs and asterisk_sipchannels plugins fail - expect wrong Asterisk output

2012-01-15 Thread Marc Haber
Hi,

can you check whether the patches mentioned in #603764 are of any
help? If not, can you please check whether the packages in Debian
experimental still show this behavior?

Greetings
Marc



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610920: munin-plugins-extra: asterisk_codecs and asterisk_sipchannels plugins fail - expect wrong Asterisk output

2011-01-23 Thread BenS
Package: munin-plugins-extra
Version: 1.4.5-3
Severity: normal

Attempts to use the asterisk_codecs plugin with the correct Asterisk manager
username and password passed to the plugin results in failure with the
following output:

Use of uninitialized value $fields[4] in string eq at asterisk_codecs line 158.
Use of uninitialized value in string eq at asterisk_codecs line 163.
Use of uninitialized value in string eq at asterisk_codecs line 163.
Use of uninitialized value in string eq at asterisk_codecs line 163.
Use of uninitialized value $fields[4] in concatenation (.) or string at 
./asterisk_codecs line 172.
CODEC: SIP other format
...

Attempts to use the asterisk_sipchannels plugin results in similar output:

SIP other format:
Use of uninitialized value $fields[4] in string eq at asterisk_sipchannels line 
155.
Use of uninitialized value in string eq at asterisk_sipchannels line 161.
Use of uninitialized value in string eq at asterisk_sipchannels line 161.
Use of uninitialized value in string eq at asterisk_sipchannels line 161.
Use of uninitialized value $fields[4] in concatenation (.) or string at 
asterisk_sipchannels line 170.
...

I believe the cause of the issue is due to the plugins expecting 1.2 output for 
sip show channels
(and probably iax2 show channels as well for asterisk_codecs)

The format column for sip show channels in Asterisk 1.6.2 for instance contains 
both the hexadecimal
value and name of the codec in brackets.

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-12-server (SMP w/8 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=UTF-8) (ignored: LC_ALL set to 
en_AU)
Shell: /bin/sh linked to /bin/dash

Versions of packages munin-plugins-extra depends on:
ii  munin-node1.4.5-3network-wide graphing framework (n
ii  perl  5.10.1-17  Larry Wall's Practical Extraction 

munin-plugins-extra recommends no packages.

Versions of packages munin-plugins-extra suggests:
pn  libnet-netmask-perl none   (no description available)
ii  libnet-telnet-perl  3.03-3   Script telnetable connections
ii  python  2.6.6-3+squeeze5 interactive high-level object-orie

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org