Hi,
I recently wrote a templates for Juniper ERX Edge router PPPoE statistics, if anyone's interested:
Install:
copy ERX-PPPoE.xml to <path_cacti>/resource/snmp_queries/
import cacti_data_query_snmp_-_erx_pppoe_statistics.xml
enjoy...
(Cacti 0.8.7e)
Juniper ERX Edge router PPPoE statistics
Moderators: Developers, Moderators
Juniper ERX Edge router PPPoE statistics
- Attachments
-
- ERX-PPPoE.xml
- (5.48 KiB) Downloaded 349 times
-
- cacti_data_query_snmp_-_erx_pppoe_statistics.xml
- (42.9 KiB) Downloaded 619 times
-
- graph_image.php.png (82.61 KiB) Viewed 3604 times
Cacti user
Re: Juniper ERX Edge router PPPoE statistics
Hi, Your template look awesome! I need this script for my ERX-310
However i am not able to make it work with cacti Version 0.8.7g
There is the error:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ERX01 - Subscribers" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Subscribers" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/erx01_p1_365.rrd":p1:LAST \
DEF:b="/var/lib/cacti/rra/erx01_ppp_sessions_364.rrd":PPP_Sessions:LAST \
DEF:c="/var/lib/cacti/rra/erx01_ppp_sessions_364.rrd":PPP_Sessions:AVERAGE \
CDEF:cdeff=a,d,- \
LINE1:a#00694AFF:"" \
AREA:a#7EE60099:"Total Users" \
GPRINTLAST:" Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
AREA:cdeff#D8ACE0FF:"" \
AREA:b#F5F800FF:"Tunneled" \
GPRINTLAST:" Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
LINE1:c#F51D30FF:"" \
LINE2:cdeff#8D00BAFF:"PPP Terminated" \
GPRINT:cdeff:LAST:"Current\:%8.0lf" \
GPRINT:cdeff:AVERAGE:"Average\:%8.0lf" \
GPRINT:cdeff:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: invalid rpn expression in: a,d,-
What version of cacti this templates was created for?
Is there a fix
Regards,
Niacine
However i am not able to make it work with cacti Version 0.8.7g
There is the error:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ERX01 - Subscribers" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Subscribers" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/erx01_p1_365.rrd":p1:LAST \
DEF:b="/var/lib/cacti/rra/erx01_ppp_sessions_364.rrd":PPP_Sessions:LAST \
DEF:c="/var/lib/cacti/rra/erx01_ppp_sessions_364.rrd":PPP_Sessions:AVERAGE \
CDEF:cdeff=a,d,- \
LINE1:a#00694AFF:"" \
AREA:a#7EE60099:"Total Users" \
GPRINTLAST:" Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
AREA:cdeff#D8ACE0FF:"" \
AREA:b#F5F800FF:"Tunneled" \
GPRINTLAST:" Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf\n" \
LINE1:c#F51D30FF:"" \
LINE2:cdeff#8D00BAFF:"PPP Terminated" \
GPRINT:cdeff:LAST:"Current\:%8.0lf" \
GPRINT:cdeff:AVERAGE:"Average\:%8.0lf" \
GPRINT:cdeff:MAX:"Maximum\:%8.0lf\n"
RRDTool Says:
ERROR: invalid rpn expression in: a,d,-
What version of cacti this templates was created for?
Is there a fix
Regards,
Niacine
Re: Juniper ERX Edge router PPPoE statistics
It was created for Cacti 0.8.7e version RRDTool 1.2. I suppose there is a problem with supplemental graph template data. Also check validity of your data sources. The newer version might be an incompatible with these templates, but I'm sure that they can be adopted.
Cacti user
Who is online
Users browsing this forum: No registered users and 1 guest