This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############### | |
collectd.conf | |
############### | |
Hostname "SNMP" | |
#FQDNLookup true | |
BaseDir "/usr/local/monitoring/snmp/var/lib/collectd" | |
PIDFile "/usr/local/monitoring/snmp/var/run/collectd-snmp.pid" | |
PluginDir "/usr/local/monitoring/snmp/lib/collectd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("/usr/local/monitoring/collectd/sbin/collectd", ["/usr/local/monitoring/collectd/s"..., "-P", "/usr/local/monitoring/collectd//"..., "-C", "/usr/local/monitoring/collectd/e"...], [/* 24 vars */]) = 0 | |
brk(0) = 0x10ef000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3d28425000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=40933, ...}) = 0 | |
mmap(NULL, 40933, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3d2841b000 | |
close(3) = 0 | |
open("/lib64/libm.so.6", O_RDONLY) = 3 | |
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p>\300;6\0\0\0"..., 832) = 832 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We are using latest collectd and the plugin SNMP but we are facing an issue. | |
When a network switch device is not responsing, a segfault event is raised and collectd daemon gets killed. | |
Through the use of { snmp_gets }, we get the following: | |
snmpwalk -v 2c -c comstrg swicth IF-MIB::ifInOctets | |
Timeout: No Response from switch | |
This same switch configured in collectd fires a timeout (as a collectd error and a segfault event) even though it is the only device configured in collectd configuration file. | |
Here is some stacktrace: |