I have problem with Observium. On CentOS 7 I installed Observium. On this server i also have DirectAdmin and Wordpress. When I login to webpanel Observium, Graphs shows no data (nan). Graphs no data
<?php
## Check http://www.observium.org/docs/config_options/ for documentation of possible settings
## It's recommended that settings are edited in the web interface at /settings/ on your observium installation.
## Authentication and Database settings must be hardcoded here because they need to work before you can reach the web-based configuration interface
// Database config --- This MUST be configured
$config['db_extension'] = 'mysqli';
$config['db_host'] = 'localhost';
$config['db_user'] = 'root';
$config['db_pass'] = '[MyPassword]';
$config['db_name'] = 'observium';
$config['ping'] = "/usr/sbin/ping";
$config['fping'] = "/usr/sbin/fping";
// Base directory
#$config['install_dir'] = "/opt/observium";
// Default community list to use when adding/discovering
$config['snmp']['community'] = array("public");
// Authentication Model
$config['auth_mechanism'] = "mysql"; // default, other options: ldap, http-auth, please see documentation for config help
// Enable alerter
// $config['poller-wrapper']['alerter'] = TRUE;
//$config['web_show_disabled'] = FALSE; // Show or not disabled devices on major pages.
// Set up a default alerter (email to a single address)
//$config['email']['default'] = "user@your-domain";
//$config['email']['from'] = "Observium <observium@your-domain>";
//$config['email']['default_only'] = TRUE;
$config['enable_syslog'] = 1; // Enable Syslog
// End config.php
I do not see any error when I manually execute:
cd /opt/observium && ./discovery.php -h all && ./poller.php -h all
My /etc/cron.d/observium file
33 */6 * * * root cd /opt/observium/ && ./discovery.php -h all >> /dev/null 2>&1
*/15 * * * * root cd /opt/observium/ && ./discovery.php -h new >> /dev/null 2>&1
*/15 * * * * root cd /opt/observium/ && ./poller.php -h all >> /dev/null 2>&1