Hello,
I have Cacti 0.8 (Great job ) 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
Graphs Dir
Moderators: Developers, Moderators
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 ...
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 ...
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:
-Ian
What happens if you run the SQL:
Code: Select all
delete from settings where name='path_html_export';
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
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
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 !
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 !
Who is online
Users browsing this forum: No registered users and 1 guest