we are install librenms in ubuntu 18.04
but successfully install and runing
but problem is that when add localhost or new host the error showing " Could not connect to SDPL-OP-LIBRENMS, please check the snmp details and snmp reachability",
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
Mar 08 00:27:13 sdpl-op-libranms snmpd[28317]: Connection from UDP: [127.0.0.1]:36595->[127.0.0.1]:161
and firewall status
:/home/libranms# ufw status
Status: inactive
did you doublecheck/reconfigure SNMP configuration in LibreNMS?
Other Option would be not to use “localhost”, but use real hostname instead. This is good for better seeing systems later.
Just start by listening to all interfaces, (so don’t specify anything after the community) and get it to run.
Then you can start filtering (and you should probably filter by IP so you know exactly what’s filtered).
And if you want to use names, use a proper DNS so you know exactly which IP is bound with which name
When that one is fixed, LibreNMS will work (cause that’s exactly what it does at the end of the day …). (you select v2c and write the same community in LibreNMS GUI. )