for some reason some snmp extends run in timeout:
interesting case is, it is only one Machine
System: Debian Bullseye
snmpd Version: 5.9
Configfile: /etc/snmpd/snmpd.conf
createUser monitoringuser MD5 “password1” DES “password2”
rouser monitoring authsysLocation locationname
sysContact [email protected]agentAddress udp:0.0.0.0:161
view systemonly included .1.3.6.1.2.1.1
view systemonly included .1.3.6.1.2.1.25.1
view all included .1includeAllDisks 10%
load 12 10 5#iquerySecName internalUser
#rouser internalUser
#defaultMonitors yes
#linkUpDownNotifications yes#Hardware Detection
extend .1.3.6.1.4.1.2021.7890.2 hardware ‘/usr/bin/sudo /bin/cat /sys/devices/virtual/dmi/id/product_name’
extend .1.3.6.1.4.1.2021.7890.3 manufacturer ‘/usr/bin/sudo /bin/cat /sys/devices/virtual/dmi/id/sys_vendor’
extend .1.3.6.1.4.1.2021.7890.4 serial ‘/usr/bin/sudo /bin/cat /sys/devices/virtual/dmi/id/product_serial’extend apache /etc/snmp/apache-stats.py
extend bind /etc/snmp/bind
extend certificate /etc/snmp/certificate.py
extend dhcpstats /etc/snmp/dhcp.py
extend distro /etc/snmp/distro
extend entropy /etc/snmp/entropy.sh
extend mdadm /etc/snmp/mdadm
extend mysql /etc/snmp/mysql
extend ntp-server /etc/snmp/ntp-server.sh
extend osupdate /etc/snmp/osupdate
extend puppet-agent /etc/snmp/puppet_agent.py
extend pureftpd /usr/bin/sudo /etc/snmp/pureftpd.py
extend smart /usr/bin/sudo /etc/snmp/smart
proxy -v 2c -c squidsnmppublic localhost:3401 .1.3.6.1.4.1.3495.1
master agentx
Debugoutput:
/usr/sbin/snmpd -c /etc/snmp/snmpd.conf
Turning on AgentX master support.
/etc/snmp/snmpd.conf: line 17: Error: includeAllDisks already specified.
/etc/snmp/snmpd.conf: line 17: Error: ignoring: includeAllDisks 10%
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘hardware’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘manufacturer’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘serial’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘apache’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘bind’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘certificate’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘dhcpstats’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘distro’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘entropy’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘mdadm’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘mysql’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘ntp-server’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘osupdate’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘puppet-agent’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘pureftpd’ - possibly duplicate name.
duplicate table data attempted to be entered. row exists
Failed to register extend entry ‘smart’ - possibly duplicate name.
duplicate registration: MIB modules proxy and proxy (oid .1.3.6.1.4.1.3495.1).
Turning on AgentX master support.
Error opening specified endpoint “udp:0.0.0.0:161”
Server Exiting with code 1
when doing a snmpwalk it ends up with:
iso.3.6.1.4.1.8072.1.3.2.2.1.21.11.99.101.114.116.105.102.105.99.97.116.101 = INTEGER: 1
iso.3.6.1.4.1.8072.1.3.2.2.1.21.12.112.117.112.112.101.116.45.97.103.101.110.116 = INTEGER: 1
iso.3.6.1.4.1.8072.1.3.2.3.1.1.4.98.105.110.100 = STRING: “4922318,415482,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1652,0,10,0,0,0,0,281770,0,0,0,0,482,0,0,0,0,0,55,0,0,0,0,0,0,0”
Timeout: No Response from hostname
LibreNMS itself receivces all Application Data, except Data for mdadm, and smart application.
If i run mdadm and smart Script as Debian SNMP User, it works without problems.
Has someone an idea how to fix this problem?