Hot answers tagged snmpd
rocommunity public default -V systemonly Your read-only community string is public. default represents what traffic will be accepted, which is to say all traffic will be accepted. Change default to be a hostname or a network address and slash annotated subnet to restrict it further (e.g. 10.4.0.0/16). The read-only context will be restricted to the -V ...
For Ubuntu 12.04 (which was causing the same messages for me) the full steps to get SNMP working appear to be as follows : Install snmpd : apt-get install snmpd Ensure the multiverse repository is enabled : apt-get install python-software-properties add-apt-repository 'deb http://archive.ubuntu.com/ubuntu precise multiverse' apt-get update Install the ...
Turns out the issue was DNS look ups timing out so I just pushed the -n flag to the options lines in /etc/defaults/snmpd. This was on Debian 6.0. # snmpd options (use syslog, close stdin/out/err). SNMPDOPTS='-Lsd -Lf /var/log/snmpd.log -n -u snmp -g snmp -I -smux -p /var/run/snmpd.pid' # snmptrapd options (use syslog). TRAPDOPTS='-Lsd ...
You'll want the cron job to look more like this: /usr/sbin/service bsnmpd status >/dev/null ; if [ $? != 0 ] ; then /usr/sbin/service bsnmpd start ; fi Anyway, let's figure out why bsnmpd is core dumping. See if you can find the bsnmpd.core file, then run /usr/bin/gdb /usr/sbin/bsnmpd bsnmpd.core then run bt and paste the output.
Snmpbulkwalk initiates internal server repetitions to walk through mib tree. Server does not respond untill it retrives "max-repetitions" number of variables or end of mib tree is reached. Retrieving some variables may demand valuable time. Important note: snmpwalk walks trough a requested subtree exactly but snmpbulkwalk may retreive additional variables ...
snmpget -v 2c -c PUBLIC 10.38.2.24 220.127.116.11.18.104.22.168.1.10 snmpget -v 2c -c PUBLIC 10.38.2.24 22.214.171.124.126.96.36.199.1.16 -c communityname, default to PUBLIC -v version, probably 2c SNMPget: Net-SNMP
Only top voted, non community-wiki answers of a minimum length are eligible