New to cacti but have a question?

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

Moderators: Developers, Moderators

Post Reply
rdhall
Posts: 2
Joined: Wed Jan 25, 2006 11:01 am

New to cacti but have a question?

Post by rdhall »

When I try to run anything from the F5 template I downloaded I get the following errors in debug mode.

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="IRVBIP02 - Proxy Traffic - XX.XX.XX.XX:443" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/var/www/html/cacti/rra/irvbip02_proxy_traffic_in_1284.rrd":proxy_traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/irvbip02_proxy_traffic_in_1284.rrd":proxy_traffic_in:MAX \
DEF:c="/var/www/html/cacti/rra/irvbip02_proxy_traffic_in_1284.rrd":proxy_traffic_out:AVERAGE \
DEF:d="/var/www/html/cacti/rra/irvbip02_proxy_traffic_in_1284.rrd":proxy_traffic_out:MAX \
AREA:a#00CF00:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s\n" \
LINE1:b#00694A:"Inbound (Peak)\:" \
GPRINT:b:MAX:" %8.2lf %s\n" \
LINE1:c#EAAF00:"Outbound" \
GPRINT:c:LAST:"Current\:%8.2lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.2lf %s\n" \
LINE1:d#FF0000:"Outbound (Peak)\:" \
GPRINT:d:MAX:"%8.2lf %s" \
COMMENT:""
RRDTool Says:

ERROR: opening '/var/www/html/cacti/rra/irvbip02_proxy_traffic_in_1284.rrd': No such file or directory


I have other devices that are graphing correctly just cant seem to get this one
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the actual log file (./cacti/log/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.

Look for warning or error messages regarding your IRVBIP02 host.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you wait at least for one polling cycle? The rrd file is generated during the polling process!
If you did, please check permissions for rra/
Reinhard
rdhall
Posts: 2
Joined: Wed Jan 25, 2006 11:01 am

debug

Post by rdhall »

01/25/2006 01:15:13 PM - CMDPHP: Poller[0] Host[9] PING: default
01/25/2006 01:15:13 PM - CMDPHP: Poller[0] Host[9] SNMP: SNMP not performed due to setting or ping result.
01/25/2006 01:15:13 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '1', status_event_count = '35', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'SNMP not performed due to setting or ping result., default', min_time = '9.99999', max_time = '0.00000', cur_time = '0.00000', avg_time = '0.00000', total_polls = '36', failed_polls = '36', availability = '0' where hostname = 'XX.XX.XX.XX'"
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This debug log is too short. Please provide more of it; perhaps the whole of one full run as a zipped attachment
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests