[asterisk-users] Asterisk and MRTG, a little help please...
JR Richardson
jmr.richardson at gmail.com
Mon Jan 28 20:45:12 CST 2008
> You need to take a step back and first test the script without using
> MRTG. Execute it like this:
> # /opt/bin/asterisk-mrtg -h localhost -u XXX -p XXXX -1 SIP -2 Zap
> 10
> 10
> 10
> 10
>
> You should get 4 lines of numbers. That respresents your SIP and Zap
> channels. Once you get past this step go back and plug it into your
> MRTG config.
I run the script without using mrtg but I don't get any reply:
mrtg:# /var/mrtg/asterisk-mrtg -h [ipaddress] -u [user] -p [pass] -1 SIP -2 IAX2
mrtg:#
I can see the script log into the manager on the asterisk server, but
doesn't return any figures. i haven't modified anything in the
script. I'm wondering if the script is OK and maybe Asterisk manager
is not setup correctly or asterisk is not returning proper value.
Here is what I have configured in manager.conf:
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
[user]
secret = pass
deny=0.0.0.0/0.0.0.0
permit=[subnet of mrtg server]
read = system,call,log,verbose,command,agent,user
Thanks.
JR
--
JR Richardson
Engineering for the Masses
More information about the asterisk-users
mailing list