I just did an upgrade of our cacti. After this upgrade the poller wouldn't update anymore, after 5 minutes I'd get the timeout message (POLLER: Poller[0] Maximum runtime of 298 seconds exceeded.) and nothing happened.
So after 3 hours of debugging I noticed it didn't read the settings from our database, in fact it didn't seem to use the database at all.
So I changed in include/global.php these lines:
Code: Select all
/* connect to the database server */
db_connect_real($database_hostname, $database_username, $database_password, $database_default, $database_type, $database_port);
Code: Select all
/* connect to the database server */
global $cnn_id;
$cnn_id = db_connect_real($database_hostname, $database_username, $database_password, $database_default, $database_type, $database_port);
Why did I have to do this? What's wrong in my installation?