[Asterisk-Users] mrtg+manager.conf

rkvalmiki tech_voip at yahoo.co.in
Mon Aug 29 00:37:44 MST 2005


Dear friends ,

Through the a bit more probeing i found out that 

we need to use the username and the password

which we have given in the manager.conf 

as the parameters to the perl script file .

even though i get the error messages as follows 


[root at localhost root]# ./a.out -h localhost -u vrk -p
vrk -1 SIP
Constant subroutine POLLIN redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLPRI redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLOUT redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLRDNORM redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLWRNORM redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLRDBAND redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLWRBAND redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLERR redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLHUP redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine POLLNVAL redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine _IOFBF redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine _IOLBF redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine _IONBF redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine SEEK_SET redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine SEEK_CUR redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Constant subroutine SEEK_END redefined at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm
line 65535.
Error: (Missing channels)
Syntax: ./a.out -h <host> -u <username> -p <password>
[-cwv]
* --username -u       Username
* --password -p       Password
* --host -h           Host
  --port -P n         Port (if not using 6060)
  --chan1 -1 xxx      Display channel xxx as 1.
  --chan2 -2 xxx      Display channel xxx as 2.
  --verbose -v        Verbose
  --help -H           This help

 cat /etc/asterisk/manager.conf
;
; Asterisk Call Management support
;
[general]
enabled = yes
port = 5038
bindaddr = *.*.*.* (my ip)

[vrk]
secret = vrk
;deny=0.0.0.0/0.0.0.0
permit=*.*.*.*/255.255.255.254 ( my ip )
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

your help will be immensely appreciated 

with regards
rk


--- rkvalmiki <tech_voip at yahoo.co.in> wrote:

> Dear freinds,
> 
> The pl script file which is available in the
> asterisk
> monitoring section of the voip-info.com expects
> username ,password and host parameters .
> 
> Which one we should provied is the acconts we
> registered for asterisk or any thing else 
> 
> your help will be immensely appreciated .
> 
> with regards
> rk
> 
> 
> 		
>
_______________________________________________________
> 
> Too much spam in your inbox? Yahoo! Mail gives you
> the best spam protection for FREE!
> http://in.mail.yahoo.com
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com
> --
> 
> Asterisk-Users mailing list
> Asterisk-Users at 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
> 



		
__________________________________________________________ 
How much free photo storage do you get? Store your friends 'n family snaps for FREE with Yahoo! Photos http://in.photos.yahoo.com



More information about the asterisk-users mailing list