I think I found a bug guys. Ofc I've only played with Cacti for 2 days, so I'm noob with this, but I'm gonna post anyways
The problem was that there were no graphics showing when I added devices & graphs to the database. The reason was that RRDTool didn't create the database files (so far it seems to be the reason, anyways).
I checked the debug messages and found this:
Code: Select all
C:/Install/RRDTool/rrdtool-1.2.30-bin-w32/rrdtool/rrdtool.exe create \
C:/Program Files/wamp/www/cacti/rra/6/18.rrd \
--step 300 \
DS:snmp_oid:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Code: Select all
rrdtool_execute("create \"$data_source_path\" $create_ds$create_rra", true, RRDTOOL_OUTPUT_STDOUT, $rrd_struc, "POLLER");
Code: Select all
if ($show_source == true) {
rrdtool_execute("create \"$data_source_path\" $create_ds$create_rra", true, RRDTOOL_OUTPUT_STDOUT, $rrd_struc, "POLLER");
return read_config_option("path_rrdtool") . " create" . RRD_NL . "\"$data_source_path\"$create_ds$create_rra";
}else{
rrdtool_execute("create \"$data_source_path\" $create_ds$create_rra", true, RRDTOOL_OUTPUT_STDOUT, $rrd_struc, "POLLER");
}
Not sure if those fixes were really needed, probably it's a case of "it's not a bug, it's a feature", but at least now I'm getting empty graphics showing up instead of 'no picture' icons.