13
votes
Reduce SNMPd logging verbosity
dontLogTCPWrappersConnects
If the snmpd was compiled with TCP Wrapper support, it logs every connection made to the agent. This setting disables the
log messages for accepted ...
- 1,080
6
votes
Reduce SNMPd logging verbosity
Including the standard (included in the default /etc/snmp/snmp.conf file for CentOS 6.5) line worked for me to reduce the verbosity specifically with respect to TCP/UDP SNMP connection logging:
...
- 173
4
votes
Accepted
How to selectively use mutliple interfaces with Net-SNMP?
After digging through NetSNMP code a bit, it looks like it processes the config file line-by-line, and appends to the agent address data if it finds something.
Thus, you are able to add multiple lines ...
- 196
3
votes
SNMPD bind error in Ubuntu 14.04 Server
The problem seems to be here:
-c /etc/snmp/snmpd.conf
Remove that from your /etc/default/snmpd so it looks like this:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,...
- 31
2
votes
SNMPD Numbers added to my OID
This may be an old question, but the documentation out there isn't very forthcoming as to why SNMP is acting like it is, and I've been struggling with this mess for a while, so here goes.
The extend ...
- 21
2
votes
what is "tcpConnState.0.0.0.0.12000.0.0.0.0.0"?
tcpConnState is part of the TCP-MIB and retrieves information on active tcp connections on the remote host (similar to the information available from netstat). The first five digits are the server's ...
- 5,351
1
vote
Accepted
Snmpd stop working without any changes
"Cannot statfs" likely comes from the disk usage monitor in snmpd, that iterates the mounted file systems and asks for the amount of free space left.
If a statfs(2) call fails, that is a ...
- 3,247
1
vote
monitoring keepalived with snmp
It seems that snmpd on Ubuntu Xenial has a bug, the agentx dowsn't start even if it is specified in the snmpd.conf. I had to specifiy it in /etc/default/snmpd and I can totally omit it in /etc/snmp/...
- 143
1
vote
snmptrap not executed, just return version
Your parameter -v is not doing what you think it would do:
From the manual:
-v, --version
Print version information for the trap daemon and then exit.
I don't know what you want to set to 1, but ...
- 21.7k
1
vote
Accepted
What is the meaning of the sysContact object in snmpd.conf?
syscontact is a value that can be retrieved via SNMP. It may be useful to get this data via SNMP, on the other hand it may just be an information leak or a value that is going to quickly go stale.
...
- 4,963
1
vote
Install SNMP on Debian Squeeze
https://www.debian.org/distrib/archive
If you are using APT the relevant sources.list entries are like:
deb http://archive.debian.org/debian/ hamm contrib main non-free
or
deb http://archive....
- 12.8k
1
vote
How to selectively use mutliple interfaces with Net-SNMP?
I'd suggest that you can modify the systemd script rather than doing it manually on the command line.
For example, the current snmpd.service located in /usr/lib/systemd/system/ contains the following:...
- 11
1
vote
How to selectively use mutliple interfaces with Net-SNMP?
Apparently, the only way to specify multiple interfaces for version Net-SNMP 5.7.2.1 is by specifying multiple IP addresses at the command line for snmpd.
I've yet to find a workable solution of ...
- 849
1
vote
How to disable version 1 and version 2c in snmpd?
it's good to run snmpwalk tests from chocripple answer before and after disabling v1, v2 https://serverfault.com/a/376693/460967
A simple solution:
stop the SNMP daemon
rename (move) snmpd.conf (the ...
- 31
1
vote
snmpd.conf: can't exec script (Permission denied)
Not sure, that it is exactly your problem. We ran into the same one but with extend, where name is required and OID isn't. So our misconfigured snmp was executing only the last part of command line ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
snmpd × 75snmp × 49
net-snmp × 19
linux × 14
oid × 7
centos × 5
debian × 5
cacti × 5
networking × 3
logging × 3
monitoring × 3
mib × 3
ubuntu × 2
redhat × 2
linux-networking × 2
configuration × 2
ubuntu-14.04 × 2
ubuntu-10.04 × 2
network-monitoring × 2
keepalived × 2
mysql × 1
apache-2.4 × 1
raid × 1
windows-7 × 1
centos7 × 1