hi,
i have installed cacti.. great work btw.. anyway i'm having a little difficulty the default graphs on the default install work perfectly.. but any graphs i create don't work whether they be on the localhost or on a remote snmp enabled device (another linux machine). i have tested snmpwalk for connectivity to the remove machinea as well and all seems good.
please help.
and thanks keep up the good work.
jeremy
problem with new created graphs not working rrdtool error
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Have you at least made sure that the poller is being ran on a 5 minute interval? RRD files will not be created until the poller has run at least one time. And you will not start to see data until it's run the second time.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Hi,
Yes i have the poller in my crontab. i have also run it many times manually as the cactiuser from the shell prompt.
i get graphs for localhost just getting errors from rrdtool on any new graphs other than the default. the rrd errors i get are like this (after turning on debug mode)
ERROR: can't parse CDEF 'cdefbc='
ERROR: can't parse CDEF 'cdefg='
ERROR: invalid rpn expression 'a,1024,*'
ERROR: can't parse '#DE0056:Running Processes'
ERROR: invalid rpn expression 'a,8,*'
ERROR: invalid rpn expression 'a,8,*'
This happens whether it be localhost or the remote snmp (net-snmp) on a unix machine.
Thanks,
Jeremy
Yes i have the poller in my crontab. i have also run it many times manually as the cactiuser from the shell prompt.
i get graphs for localhost just getting errors from rrdtool on any new graphs other than the default. the rrd errors i get are like this (after turning on debug mode)
ERROR: can't parse CDEF 'cdefbc='
ERROR: can't parse CDEF 'cdefg='
ERROR: invalid rpn expression 'a,1024,*'
ERROR: can't parse '#DE0056:Running Processes'
ERROR: invalid rpn expression 'a,8,*'
ERROR: invalid rpn expression 'a,8,*'
This happens whether it be localhost or the remote snmp (net-snmp) on a unix machine.
Thanks,
Jeremy
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
If this is a new install, REINSTALL, something in your database is hosed.
If this is an existing install, what did you do?
What graphs are you trying to create? Can you post the full debug of the graph view of a broken graph?
If this is an existing install, what did you do?
What graphs are you trying to create? Can you post the full debug of the graph view of a broken graph?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Do you mean this info
/usr/local/rrdtool-1.0.49/bin/rrdtool graph - \
--imgformat=PNG \
--start=1114090801 \
--end=1114090800 \
--title="Localhost - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2005/04/21 23:40:01 To 2005/04/21 23:40:00\c" \
COMMENT:"\n" \
--vertical-label="bits per second" \
CDEF:cdefa=a,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefa#002A97:"Outbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"
this graph is "localhost -traffic" template name "interface - traffic (bits/sec)"
this is a new install i have reinstalled same result.
/usr/local/rrdtool-1.0.49/bin/rrdtool graph - \
--imgformat=PNG \
--start=1114090801 \
--end=1114090800 \
--title="Localhost - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2005/04/21 23:40:01 To 2005/04/21 23:40:00\c" \
COMMENT:"\n" \
--vertical-label="bits per second" \
CDEF:cdefa=a,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefa#002A97:"Outbound" \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"
this graph is "localhost -traffic" template name "interface - traffic (bits/sec)"
this is a new install i have reinstalled same result.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I find that hard to believe that you have reinstalled fully. Have you dropped the cacti database and recreate/installed it?
You graphs are missing the all important Data sources, with out them, there is not data to graph.
Also, have you imported any templates? If so, reinstall the database and try without importing any of those templates.
Note: Please be running 0.8.6c with all offical patches.
You graphs are missing the all important Data sources, with out them, there is not data to graph.
Also, have you imported any templates? If so, reinstall the database and try without importing any of those templates.
Note: Please be running 0.8.6c with all offical patches.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 5 guests