I’m a new user and just deployed a fresh install of LibreNMS today on CentOS 7. I can’t seem to add any of the network devices I need to monitor. LibreNMS comes back with the error “Could not ping 10.0.100.1”. I’ve tried other hosts on the network as well with the same result.
Funny thing is I can ping all these devices from the LibreNMS shell just fine along with performing SNMPwalks. Is there a setting I missed somewhere?
[OK] Database connection successful
[OK] Database schema correct
[WARN] You have not added any devices yet.
[FIX] You can add a device in the webui or with ./addhost.php
Not sure if it’s cool to continue to use this thread, but I was able to ping/fping successfully from the shell before I made that change. Both before and after adding that I still have the same issue. My validate.php results were the same as Joshua_B.
If you have devices suddenly showing as down, you need to set $config[‘fping’] = ‘/usr/sbin/fping’; or $config[‘fping’] = ‘/usr/bin/fping’; in your config.php and it will start working again. We fixed a bug where fping always showed up even if the command failed.(edited)
@Kevin_Krumm Thanks! So this fixed the discovery/adding of the device from the shell with ./addhost -b host, but oddly enough I still can’t add through the web gui. I’m fine adding from the shell, but curious if you know why the gui side would still fail?