Graphs Dir

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
kaos
Posts: 13
Joined: Wed Dec 04, 2002 8:54 am

Graphs Dir

Post by kaos »

Hello,

I have Cacti 0.8 (Great job :D ) installed on a Win2K Server. Everything looks working ok. But only one thing is working weird. The Graphs that are created are not placed inside the web dir but on the root of D:. So if i try to acces the Graphs page, noting can be found. Does anyone know how to change this.

Grtz
EK
benny

Post by benny »

I'm experiencing exactly the sampe problem, all data is saved in \root of my (win2k) server.

If I set the path (in cacti/settings), it will generate the html and graphs as indicated.
The help informs me that if this field is blank, the data WILL NOT be saved (normally this would speed up reading the data).
Since I read this not very often, I prefer to leave it blank.

Most likely a bug ...
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Are you guys saying that Cacti is running a graph export even though the 'HTML Export Path' field is blank? Does the output of cmd.php confirm this?

What happens if you run the SQL:

Code: Select all

delete from settings where name='path_html_export';
-Ian
benny

Post by benny »

I tried this but it still generates grpahs in root.

-benny
Guest

Post by Guest »

Hello,

Yes it is exporting graphs even if the export path is left blank.
I'm not at my work now so i can't test the sql command. Tomorrow i will test it.

Grtz
User avatar
kaos
Posts: 13
Joined: Wed Dec 04, 2002 8:54 am

Post by kaos »

Hello,

Below is the output. If the 'output' field is left blank, the cmd.php gives the same result as the 'output' field has a export path filled in.

The system cannot find the file specified.
snmp: 192.168.1.10, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value:
The system cannot find the file specified.
snmp: 192.168.1.10, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value:

The system cannot find the file specified.
snmp: 192.168.1.10, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value:
The system cannot find the file specified.
snmp: 192.168.1.10, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.9.109.1.1.1.1.5.1, v
alue:
The system cannot find the file specified.
snmp: 192.168.1.10, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value:

update d:\www/cacti/rra/router_test_traffic_in_22.rrd --template traffic_in:
traffic_out N::
update d:\www/cacti/rra/router_test_traffic_in_21.rrd --template traffic_in:
traffic_out N::
update d:\www/cacti/rra/router_test_5min_cpu_20.rrd --template 5min_cpu N:U
time: 0
export: running graph export

Grtz
benny

Post by benny »

I made a temporarily fix in graph_export_functions.php

function graph_export() {
if (file_exists(read_config_option("path_html_export"))) {
if (read_config_option("path_html_export_skip") == read_config_option("path_html_export_ctr")) {
db_execute("update settings set value='1' where name='path_html_export_ctr'");
/* export(); */
}else{

Just comment out the call to export() (see above).

-benny !
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest