I have tried to get MRTG to graph my Asterisk box but have run into a problem. When I run the perl script provided at: http://karlsbakk.net/asterisk/ I get the following error: [root@tsr asterisk]# ./asterisk-mrtg -h myasteriskip.mydomain.com<http://myasteriskip.mydomain.com>-v -1 SIP -2 IAX2 -u 109 -p xxxx Asterisk Call Manager/1.0 Action: Login Username: 109 Secret: xxxx Response: Error Message: Authentication failed My question is what username and password is this script looking for? Thanks, Scott. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050720/af574c0f/attachment.htm
On Wed, 2005-07-20 at 16:09 -0600, Scott wrote:> I have tried to get MRTG to graph my Asterisk box but have run into a > problem. When I run the perl script provided at: > http://karlsbakk.net/asterisk/ I get the following error: > > [root@tsr asterisk]# ./asterisk-mrtg -h myasteriskip.mydomain.com -v > -1 SIP -2 IAX2 -u 109 -p xxxx > Asterisk Call Manager/1.0 > Action: Login > Username: 109 > Secret: xxxx > > Response: Error > Message: Authentication failed > > My question is what username and password is this script looking > for? > > Thanks, > > Scott.The one you were supposed to define in /etc/asterisk/manager.conf :-). It's stated in the docs IIRC, and I can assure you it works just fine when all configured. -- -Bryce bryce@rhinoequipment.com NOTICE: The views expressed in this e-mail do not neccesarily reflect those of my employer, this company, or its employees. This is a personal e-mail and as such, the opinions expressed are my own.
vi /etc/asterisk/manager.conf
----- Original Message -----
From: Scott
To: asterisk-users@lists.digium.com
Sent: Wednesday, July 20, 2005 3:09 PM
Subject: [Asterisk-Users] Asterisk and MRTG
I have tried to get MRTG to graph my Asterisk box but have run into a problem.
When I run the perl script provided at: http://karlsbakk.net/asterisk/ I get the
following error:
[root@tsr asterisk]# ./asterisk-mrtg -h myasteriskip.mydomain.com -v -1 SIP -2
IAX2 -u 109 -p xxxx
Asterisk Call Manager/1.0
Action: Login
Username: 109
Secret: xxxx
Response: Error
Message: Authentication failed
My question is what username and password is this script looking for?
Thanks,
Scott.
------------------------------------------------------------------------------
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050720/e8c7676d/attachment.htm