Hellow!
I getting statistics from the number of dial users connected to my machine using ucd-snmp mib and GET SNMP DATA in Cacti.
Works fine only with area values.:
Item #1 users_machine AREA 8D85F3 [Down], [Up] Remove
But.. when I try get the LAST, MAX or AVERAGE values with GPRINT.. the graph show me only the word "nan"
Item #2 users_machine: GPRINT [Down], [Up] Remove ]
I updated my cacti version to 0.6.8 and it doesnt works.
Anybody knows what happening?
Thanks and sorry for my poor english. `
Problems with GPRINT (LAST, MAX AND A
Moderators: Developers, Moderators
How long did you wait before giving up on the GPRINT's? Sometimes it takes 2 or so gathering periods before any real numbers will show up. Also, I am curious about what cacti is seeing. Click 'view source' next to one of the graphs that is not working (with a GPRINT of course) and post that source to this thread.
-Ian
-Ian
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start="-86400" \
--title="users_machine" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--vertical-label="Users" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/users_machine.rrd":users_machine:AVERAGE \
AREA:a#8D85F3:"Users\: 21" \
GPRINTMAX:"Max\:%8.2lf %s"
--imgformat=PNG \
--start="-86400" \
--title="users_machine" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--vertical-label="Users" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/users_machine.rrd":users_machine:AVERAGE \
AREA:a#8D85F3:"Users\: 21" \
GPRINTMAX:"Max\:%8.2lf %s"
Who is online
Users browsing this forum: No registered users and 4 guests