Tag Info

Hot answers tagged

4

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 ...


2

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 ...


1

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 ...


1

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.


1

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 ...


1

snmpget -v 2c -c PUBLIC 10.38.2.24 1.3.6.1.2.1.2.2.1.10 snmpget -v 2c -c PUBLIC 10.38.2.24 1.3.6.1.2.1.2.2.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