problem with rrdtool i think
Moderators: Developers, Moderators
problem with rrdtool i think
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Server - Traffic - tun0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
DEF:a="/usr/share/cacti/site/rra/server_traffic_in_10.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/server_traffic_in_10.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:b#002A97:"Outbound" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: opening '/usr/share/cacti/site/rra/server_traffic_in_10.rrd': No such file or directory
My questions is how can i create this files and if there have to be automatically created how can i find why they havent....
Cheers
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Server - Traffic - tun0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
DEF:a="/usr/share/cacti/site/rra/server_traffic_in_10.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/server_traffic_in_10.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 0 bytes\n" \
LINE1:b#002A97:"Outbound" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 0 bytes"
RRDTool Says:
ERROR: opening '/usr/share/cacti/site/rra/server_traffic_in_10.rrd': No such file or directory
My questions is how can i create this files and if there have to be automatically created how can i find why they havent....
Cheers
It think I'm having the same problem. Cacti won't generate rrds for interface graphs. It works fine for CPU, Load, Processes, etc.. Just doesn't like interface graphs.
I wonder if it is something with the template or another problem. I get this error when I look at my logs.
I sent an e-mail to the mailing list, but as of yet I haven't received a response.
If you figure this out would you please post to this thread, I will be sure to do the same.
I wonder if it is something with the template or another problem. I get this error when I look at my logs.
Code: Select all
OK u:0.01 s:0.03 r:1.52
PHP Notice: Undefined index: in /www/htdocs/lib/rrd.php on line 212
PHP Notice: Undefined index: in /www/htdocs/lib/rrd.php on line 212
PHP Notice: Undefined index: in /www/htdocs/lib/rrd.php on line 212
PHP Notice: Undefined index: in /www/htdocs/lib/rrd.php on line 212
PHP Notice: Undefined index: in /www/htdocs/lib/rrd.php on line 212
PHP Notice: Undefined index: in /www/htdocs/lib/rrd.php on line 212
OK u:0.01 s:0.03 r:1.60
OK u:0.01 s:0.03 r:1.60
OK u:0.01 s:0.03 r:1.60
OK u:0.01 s:0.03 r:1.60
OK u:0.01 s:0.03 r:1.60
OK u:0.01 s:0.03 r:1.60
OK u:0.01 s:0.03 r:1.60
ERROR: Unrecognized consolidation function
ERROR: opening '/www/htdocs/rra/cat65091_traffic_in_439.rrd': No such
file or directory
ERROR: Unrecognized consolidation function
ERROR: opening '/www/htdocs/rra/cat65091_traffic_in_455.rrd': No such
file or directory
ERROR: Unrecognized consolidation function
ERROR: opening '/www/htdocs/rra/cat65091_traffic_in_449.rrd': No such
file or directory
If you figure this out would you please post to this thread, I will be sure to do the same.
-
- Posts: 11
- Joined: Sat Oct 07, 2006 9:23 am
-
- Posts: 11
- Joined: Sat Oct 07, 2006 9:23 am
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/interface.xml'
-
- Posts: 11
- Joined: Sat Oct 07, 2006 9:23 am
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Did you modify snmpd.conf as advised ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Who is online
Users browsing this forum: No registered users and 1 guest