[asterisk-users] Asterisk and MRTG, a little help please...

JR Richardson jmr.richardson at gmail.com
Mon Jan 28 14:01:40 CST 2008


>   6. Re: >  That script runs fine. You should be able to run it first manually, if so
> please copy and paste the error.
>
mrtg:/var/www/mrtg# env LANG=C /usr/bin/mrtg
2008-01-28 11:16:01: WARNING: Could not get any data from external
command '/var/mrtg/10.10.14.102.cfg -h 10.10.14.102 -1 SIP -2 IAX2'
Maybe the external command did not even start. (Illegal seek)

2008-01-28 11:16:01: WARNING: Problem with External get
'/var/mrtg/10.10.14.102.cfg -h 10.10.14.102 -1 SIP -2 IAX2':
   Expected a Number for 'in' but nothing'

2008-01-28 11:16:01: WARNING: Problem with External get
'/var/mrtg/10.10.14.102.cfg -h 10.10.14.102 -1 SIP -2 IAX2':
   Expected a Number for 'out' but nothing'

2008-01-28 11:16:01: ERROR: Target[asterisklab2][_IN_] '
$target->[0]{$mode} ' did not eval into defined data
2008-01-28 11:16:01: ERROR: Target[asterisklab2][_OUT_] '
$target->[0]{$mode} ' did not eval into defined data
ntcp-mrtg:/var/www/mrtg#

I can see the script log into the manager interface on the asterisk
server at 10.10.14.102, and there are active SIP channels during
script execution.

Any ideas?

Thanks.
JR
-- 
JR Richardson
Engineering for the Masses



More information about the asterisk-users mailing list