Hi, I’ve completed the installation guide located here for putting LibreNMS on Ubuntu 16-04 with mariadb, and have hit a couple of snags.
So far I’ve got the webui up and working, it will semi-pass the ./validate, it advises I haven’t yet run the cron jobs, but otherwise is fine.
In the webui, when I add a device I receive errors that either the host cannot be pinged, or occasionally that the snmp community may not be correct.
In the shell I can snmpwalk to my device without any issues, and can ping the device without a problem, soooo I’m a little stuck thinking it could be something to do with snmpd or fping maybe?
Running the ./addhost, initially it fails to ping, then I can manually ping from the host get replies and ./addhost will fail on another attempt complaining about snmp details/reachability.
Help! It looks like a decent product and I’d like to give it a fair shake.
[OK] Database connection successful
[FAIL] Discovery has never run, check the cron job
[FAIL] The poller has never run, check the cron job
[WARN] Your local git contains modified files, this could prevent automatic updates.
Modified files:
config.php.default
[OK] Database connection successful
[FAIL] Discovery has never run, check the cron job
[FAIL] The poller has never run, check the cron job
[WARN] Your local git contains modified files, this could prevent automatic updates.
Modified files:
config.php.default
Unfortunately I still cannot add devices, receiving “Could not connect, please check the snmp details and snmp reachability - SNMP v1: No reply with community xxxxxx” as an error still.
Again, the device can be snmpwalked with the same credentials, so I know it’s not my device or the creds I’m using.
build base is run when you run through install.php. Coupled now with that cron doesn’t seem to be running I’d suggest you go back through the install docs and repeat the process as you most likely have other things wrong that would be resolved by that.
So I still have no idea why it’s bombed out on the first box, but I built out a new VM and ran through the config guide again, it’s up and functional at this stage.
Thanks for trying to help laf and murrant. I can only guess that I missed something in the config guide, but have run through it line by line and found no problems.
Case closed, if in the future someone else comes along to read this, resolution was to start a new Ubuntu instance from scratch, go with a total greenfield scenario.