How to add another devices (AWS EC2 Instance) Ubuntu Server 18.04

Tags: #<Tag:0x00007f84a8081ae0> #<Tag:0x00007f84a8081978> #<Tag:0x00007f84a8081810>

i already configure both vm host and vm node but still cannot ping device

Using DHCP Stats as SNMP Extend configuration

SNMPD host setting

#Change RANDOMSTRINGGOESHERE to your preferred SNMP community string
com2sec readonly default huha

group MyROGroup v2c readonly
view all included .1 80
access MyROGroup “” any noauth exact all none none

syslocation Asia/Singapore
syscontact A [email protected]

#Distro Detection
extend . distro /usr/bin/distro
#Hardware Detection (uncomment to enable)
#extend . hardware '/bin/cat /sys/devices/virtual/dmi/id$
#extend . manufacturer '/bin/cat /sys/devices/virtual/dm$
#extend . serial '/bin/cat /sys/devices/virtual/dmi/id/p$
extend dhcpstats /etc/snmp/

SNMPD node setting

agentAddress udp:161,udp6:[::1]:161

rocommunity huha

extend dhcpstats /etc/snmp/

Not sure what you are asking? Are the configuration you posted is that from a device you are trying to add in?

Pinging the device from the LibreNMS server is the 1st thing that is done. If it fails (because the device does not reply to ping packets) then nothing else is tried.

You can start by pinging the device from the LibreNMS server manually. Then test manually the snmp (using the command snmpwalk).

When both of these succeed, then the LibreNMS GUI will allow the device to be added.

yes, it is wrong? what the right configuration?

lets say i have 2 VMs, VM A and VM B, VM A is a libre server and i want to add VM B to VM A as added device.
how the configuration flow? here my configuration flow :

  1. Install and configure VM A (as a libre server)
    using this website
  2. Configure SNMP Extend on the VM A (as a libre server)
    using this website
  3. Configure SNMP file on the VM B (as a added device)
    what is the configuration for VM B? setting snmp file ? setting firewall ? setting php?

I understand that you want to monitor DHCP stats on VM B. In that case, SNMP server must be configured on VM B with the snmp extend to dhcp stats.


  • VM A must ping VM B. Firewalls on the path must allow ICMP.
  • VM A must be able to snmpwalk to VM B using the community you configured in the snmp config file. Firewalls on the path must allow SNMP trafic.

Promlem Solved!
the problem is on my aws vm setting, i forgot to add a few protocol rules on my vm