Posted: Tue Mar 11, 2008 1:31 am Post subject: graph PPPOE online users on Cisco 72xx
I dont know if this is helpful for any of you guys, it had helped me a lot.
This gives you a nice graph of the currently number of online PPPOE sessions (users) on a cisco BRAS.
I am using the Cisco OID and get the number of online sessions put it in a bash script and format so that cacti can get them.
create the data input metthod - use script/command as the input type.
and the following as input method:
/bin/bash <path_cacti>/scripts/pppoe_users.sh <comstring> <hostname>
U add two fields as input Fields: comstring and hostname.
And as output field 'bras'
Then import the templates and you are good to go.
This can be further extend to graph a group of online users based on their IP addr - possibly on a particular DHCP range etc. (if you have the relevant OID then u can use it )
This template is useful if you have Cisco 7200 series as BRAS to terminate pppoe sessions.
This will graph the number of active pppoe sessions on the BRAS.
I have modified the template so that less effort will be required for the implementation.
The old template used Script input methods and configuration of that part was a bit manual.
I have now used data query method and XML.
Following is the procedure to use this template.
unpack the attached .rar file and import the files using cacti import function:
cacti_data_query_snmp_-_cisco_pppoe_users.xml
cacti_data_template_snmp_-_cisco_pppoe_users.xml
cacti_graph_template_snmp_cisco_pppoe_session_info.xml
place this file in the cacti_path/resource/snmp_queries -
pppoe_info.xml