Hi all,
I am a newbie in Cacti,
I have linked an CISCO ASR 1k router to cacti tool,
I have added a traffic graph successfully.
I need to add an ADSL Users graph, I have created an SNMP graph but it doesn't get info.
could someone help me How to add a workable ADSL Users graph step by step.
Active Users Graph
Moderators: Developers, Moderators
Re: Active Users Graph
Could you provide more information? What cacti.log says? Which is your data template/graph template/ xml interface?
Did you follow thid http://docs.cacti.net/manual:087:3a_adv ... ta_queries? Or other guide?
Did you follow thid http://docs.cacti.net/manual:087:3a_adv ... ta_queries? Or other guide?
Re: Active Users Graph
when I turn on Graph Debug Mode, I get:
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='LNS 01 ASR 1k -' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/localhost/htdocs/cacti/rra/lns_01_asr_1k_snmp_oid_156.rrd":snmp_oid:AVERAGE \
DEF:b="/var/www/localhost/htdocs/cacti/rra/lns_01_asr_1k_snmp_oid_157.rrd":snmp_oid:AVERAGE \
CDEF:cdefa=a,300,* \
CDEF:cdefd=b,300,* \
AREA:cdefa#F5F800FF:"" \
GPRINTLAST:"Current\:%8.2lf%s" \
GPRINTAVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
ERROR: opening '/var/www/localhost/htdocs/cacti/rra/lns_01_asr_1k_snmp_oid_156.rrd': No such file or directory
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='LNS 01 ASR 1k -' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/localhost/htdocs/cacti/rra/lns_01_asr_1k_snmp_oid_156.rrd":snmp_oid:AVERAGE \
DEF:b="/var/www/localhost/htdocs/cacti/rra/lns_01_asr_1k_snmp_oid_157.rrd":snmp_oid:AVERAGE \
CDEF:cdefa=a,300,* \
CDEF:cdefd=b,300,* \
AREA:cdefa#F5F800FF:"" \
GPRINTLAST:"Current\:%8.2lf%s" \
GPRINTAVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefd:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
ERROR: opening '/var/www/localhost/htdocs/cacti/rra/lns_01_asr_1k_snmp_oid_156.rrd': No such file or directory
Re: Active Users Graph
Can you try to follow this debug guide?
http://docs.cacti.net/manual:087:4_help.2_debugging
http://docs.cacti.net/manual:087:4_help.2_debugging
Who is online
Users browsing this forum: No registered users and 1 guest