nano /etc/httpd/conf.d/observium.conf Add:
mysql -u root -p Run these SQL commands (replace 'your_strong_password' ):
cp /opt/observium/config.php.default /opt/observium/config.php Edit config.php : how to install observium on centos 8
cd /opt/observium ./discovery.php -h your_device_hostname | Task | Command/Path | |------|---------------| | Update Observium | svn update /opt/observium | | Reset admin password | ./user.php mod pass admin newpassword | | Check poller status | ./poller.php -d localhost | | RRD storage path | /opt/observium/rrd | Troubleshooting Common Issues 1. SELinux blocking RRD writes setsebool -P httpd_can_network_connect on chcon -R -t httpd_sys_rw_content_t /opt/observium/rrd 2. PHP timezone warnings Edit /etc/php.ini :
dnf update -y Install Apache, PHP, MariaDB, and required utilities: nano /etc/httpd/conf
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.
cd /opt/observium ./discovery.php -u Create an Apache virtual host: Start adding routers, switches, firewalls, and servers to
The Community Edition is limited to 100 devices. For more, consider Observium Professional. Also, plan to migrate to AlmaLinux 8 or Rocky Linux 8 before CentOS 8 becomes unsupported for security updates.