How To Install Observium On Centos 8 Info
$config['db_user'] = 'observium'; $config['db_pass'] = 'your_strong_password'; $config['db_name'] = 'observium'; Create the database and user:
date.timezone = "America/New_York" Then systemctl restart httpd chmod 4750 /usr/sbin/fping Conclusion You now have a fully functional Observium installation on CentOS 8. Start adding routers, switches, firewalls, and servers to monitor their health, bandwidth, and errors via SNMP. how to install observium on centos 8
<VirtualHost *:80> ServerName observium.yourdomain.com DocumentRoot /opt/observium/html <Directory /opt/observium/html> Options FollowSymLinks AllowOverride All Require all granted </Directory> ErrorLog /var/log/httpd/observium_error.log CustomLog /var/log/httpd/observium_access.log combined </VirtualHost> Test config and restart Apache: $config['db_user'] = 'observium'
CREATE DATABASE observium CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; GRANT ALL PRIVILEGES ON observium.* TO 'observium'@'localhost' IDENTIFIED BY 'your_strong_password'; FLUSH PRIVILEGES; EXIT; Populate the schema: $config['db_pass'] = 'your_strong_password'
cd /opt/observium ./discovery.php -u Create an Apache virtual host:
systemctl enable --now httpd mariadb Run the secure installation and set a root password:
httpd -t systemctl restart httpd Add the Observium polling cron job: