Rocky 9.7 install - notes

For 9.7 this mostly works

  • Instead use php module 8.3
  • For the cron section use this guide not rocky guide above

Installing LibreNMS - LibreNMS Docs (Centos 8 for cron section)

Also add the DB socket to the .env file AFTER you have finished everything - if using Rocky 9.7 and Mariadb

in .env file:

DB_SOCKET=/var/lib/mysql/mysql.sock

At this point I now only have one issue after doing the above

[FAIL] No python wrapper pollers found


This gets resolved by populating the config.php and restarting the VM (lazy way of restarting)

e.g.

### Database config

$config['db_host'] = 'localhost';

$config['db_port'] = '3306';

$config['db_user'] = 'librenms';

$config['db_pass'] = ‘REDACTED’;

$config['db_name'] = 'librenms';

$config['db_socket'] = '';

Adding link to RRDcached docs - which is worth doing post install

I also had some access.conf considerations for user librenms … but thats not something a default VM install will have - e.g. enable cron access from user