how to get .rrd files created

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
steam

how to get .rrd files created

Post by steam »

Hi there,

i added localhost to snmp interfaces and it found all interfaces,
i clicked on "make graph" and put all in the hiearchy and all
that is necessary, problem is, when i run cmd.php the following
output ocurrs:

Code: Select all

pandorra:/usr/local/xwww/about/cacti # php cmd.php 
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/xwww/about/cacti/rra/traf_ppp0_in.rrd': No such file 
or directory
ERROR: min must be less than max in DS definition
ERROR: opening '/usr/local/xwww/about/cacti/rra/traf_ppp0_out.rrd': No such file
 or directory
ERROR: opening '/usr/local/xwww/about/cacti/rra/traf_ppp0_in.rrd': No such file 
or directory
ERROR: opening '/usr/local/xwww/about/cacti/rra/traf_ppp0_in.rrd': No such file 
or directory
ERROR: opening '/usr/local/xwww/about/cacti/rra/traf_ppp0_in.rrd': No such file 
or directory
ERROR: opening '/usr/local/xwww/about/cacti/rra/traf_ppp0_in.rrd': No such file 
or directory
ERROR: opening '/usr/local/xwww/about/cacti/rra/traf_ppp0_in.rrd': No such file 
or directory
X-Powered-By: PHP/4.0.6
Content-type: text/html

pandorra:/usr/local/xwww/about/cacti # 
and once i try looking at the graph its:

Code: Select all

ERROR: opening '/usr/local/xwww/about/cacti/rra/traf_ppp0_in.rrd': No such file or directory
in error_log of apache. permissions are all setup correctly i am
quite sure...any other ideas or things i have forgotten?

greets,
steam
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Sometimes interfaces are reported with a speed of '0', so cacti sets the 'Minimum Value' as well as the 'Maximum Value' in the data source to '0'. This is the reason rrdtool is complaining. I would go into the two data sources created by cacti for this interface and make sure the maximum value is something more reasonable like '64000' (good for a ppp interface).

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests