Adding hosts with v3 SNMP Version - configuring snmpd.conf

Hi there,

I am totally new to this application.
I have a number of network nodes that I am trying to monitor. I tried to use the WebUI to add devices on v3 SNMP Version but I could not do it without first having to configure the snmpd.conf file inside /etc/snmp/ directory. I will need to add the Auth password and the priv password. I am just a little confused with how to configure the snmpd.conf file. Also, is there an easy way to add the nodes automatically rather than having to add them manually? and how can it be done?

Thanks in advance
Ahmad

Do you mean you have to configure snmpd.conf on the host you are trying to add?

LibreNMS cannot do that for you it can only add hosts that already have working SNMP.
If you need to do that, you could probably automate it some way.

1 Like

Thanks for your response Murrant, yes that’s excactly what I am after, I am stuck with how to configure the SNMP and make sure it’s working so I can add the hosts as devices inside LibreNMS. Any suggestions on how to tackle this?

Thanks and Best Regards
Ahmad

Set up a script to copy the file to each host and then restart the snmpd daemon.

I know how to do that bit, but I meant how to configure snmpd.conf for V3 SNMP Version? I just can’t find enough resources on LibreNMS docs or the internet to help me do that.

http://wiki.zenoss.org/Configure_SNMPv3

You should contribute to http://docs.librenms.org/Support/SNMP-Configuration-Examples/ once you have a working example.

1 Like

Hi @laf I have successfully configured the snmpd.conf for SNMPv3 and now all my hosts are working fine inside LibreNMS. I have contributed to the LibreNMS docs file, please check my solution explained in the following commit: https://github.com/librenms/librenms/pull/5840/commits/e608491f380b71beb685e0a5555c75ba3f44e7d1

I have created a pull request, FYI.

Thanks and Best Regards
Ahmad