Tag Info

Hot answers tagged

8

As twalberg suggests, this is probably a 32-bit overflow problem. SNMP Interface Counters in are 32-bit (unsigned) by default. If your SNMP daemon and server OS support 64-bit counters they can be found in the ifXtable MIB (.1.3.6.1.2.1.31.1.1)


4

You can use Nmap's snmp-brute something like nmap -sU -p161 --script snmp-brute --script-args snmplist=community.lst 192.168.1.0/24


4

You have a fundamental misunderstanding of how SNMP works. Quick and dirty comparison: SNMP MIBs are the like hostnames. MIBs map OIDs to a friendly name -- for example .1.3.6.1.2.1.1.1.0 => SNMPv2-MIB::sysDescr.0 => Host Description (uname output). In order to retrieve information from an SNMP server (agent) that information must be published at a ...


4

This is usually related to the SNMP response not being received in a timely manner. Because SNMP uses UDP that could mean network congestion or host congestion caused the request/reply to be lost, but more commonly one of the two machines involved simply couldn't get around to dealing with the request in a timely manner and the other machine got sick of ...


3

Forget about installing from source code; packages are already available. yum install net-snmp net-snmp-utils


3

Access control is configured per transport. Try replacing rocommunity public with rocommunity6 public


2

The problem comes from the fork of snmpd during start. My service file (for Exherbo) forces snmpd to not use fork() (-f) and run the service with Type=simple. Type=forking is the good way for the default behavior of snmpd, but it is incomplete. It is highly recommended to specify PIDFile when using Type=forking because systemd is not always able to know ...


2

So can anyone say how to do community string indexing for non-cisco switches? This is how to poll Q-BRIDGE-MIB for mac-addresses from the only non-Cisco I have, a DLink DGS-3200. I'm not using [community@vlan] for non-Cisco switches. Indexing BRIDGE-MIB with [community@vlan] only applies to Ciscos. I expect any non-Cisco switch, which supports ...


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


2

Which version of SNMP protocol do you use? SNMP v1 does not supports 64bit counters. It's an old issue with Cacti, just switch to "Version 2" on relevant "Device"


2

A while ago there was a patch for Net-SNMP 5.5 which introduced a new option realStorageUnits for the configuration file. From the Redhat Bugreport #748410: To address this issue [negative hrStorageSite values], this update adds a new option to the /etc/snmp/snmpd.conf configuration file, realStorageUnits. By changing the value of this option to 0, ...


2

I posted this in the chat window awhile back, but it looks like you may have left it. Your snmptt.ini file has the following translation options set : translate_log_trap_oid = 1 translate_value_oids = 1 translate_enterprise_oid_format = 1 translate_trap_oid_format = 0 translate_varname_oid_format = 0 translate_integers = 1 The interesting one is the ...


2

Windows does not come with a default SNMP client, so you would have to install software. I recommend the Net-SNMP suite.


2

Many monitoring applications will include a network discovery tool which can query snmp on all devices it discovers. Some will even allow you to enter multiple SNMP community strings and it will try each of them.


1

I would go to a RHEL5 development machine, untar the source of your choice, cd into the untarr'd directory then issue: ./configure --prefix=/opt/netsnmp; make; make install Get some coffee :-). Now tar the /opt/netsnmp directory up and copy to your production machine. Be sure to either alias or otherwise prefer this new netsnmp. If it won't run on the ...


1

You must have the following items: SNMP read/write comunity for SNMP v1, and v2c or username/password that has read/write access for SNMP v3. The mib file from the manufacturer to find out the OID that you will need to use to have access to user table. If the equipment is not supporting password reset via SNMP, this can be found from these MIBs. Password ...


1

rocommunity public But please rethink this. Letting anybody in the world get your SNMP data is generally a bad idea.


1

Here's a script that I use with OpenNMS that will generate an XML file containing snmp-enabled devices and their respective communities. It accepts IP addresses and multiple community names as input files.


1

You need to use -o option in addition. For example: monitor -o 1.3.6.1.x -o 1.3.6.2.y -I -u root -s -t -r 18 "Warn: High ipp Usage" -e ifMtu.1 1.3.6.1.2.1.2.2.1.4.1 != where: 1.3.6.1.x and 1.3.6.2.y are two additional varbinds added to SNMP PDU payload and defined by these OIDs. You may also refer to: man page of snmpd.conf do


1

The default net-snmp copy of SNMPv2-SMI has a definition for zeroDotZero... [mpenning@lnxlmf ietf]$ cd /usr/share/snmp/mibs/ [mpenning@lnxlmf mibs]$ grep zeroDotZero SNMPv2-SMI.txt zeroDotZero OBJECT-IDENTITY [mpenning@lnxlmf mibs]$ It turns out that I had installed an old copy of SNMPv2-SMI.my in my Cisco MIBs directory... this copy of SNMPv2-SMI.my ...


1

Yes. In fact if you check the man page for snmpd.conf you'll discover the extend directive: extend [MIBOID] NAME PROG ARGS works in a similar manner to the exec directive, but with a number of improvements. The MIB tables (nsExtendConfigTable etc) are indexed by the NAME token, so are unaffected by the order in which entries are read from the ...


1

I know this is not a direct answer to your question, but perhaps it will help. I suggest you try contacting the team that makes SNMP Informant: http://www.snmp-informant.com/ They extend the Windows SNMP agent to work around Microsoft's limitations for some of their OIDs. I use it with Zenoss to get more accurate CPU utilization and storage numbers and ...


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

The snmpd.conf file should contain a few other parameters by default, among them is the community "public" which has access to the system info MIB (OID 1.3.6.1.2.1.1 ). This should work for any version of SNMP. You can enable broader access to other MIBs, restrict by IP etc with very little effort.


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

as "work around" (even though it really not), one can use -c or -w instead of -r, as -r seems to have some sort of bug. # ./check_snmp --help | grep -E 'critical|warning' -w, --warning=THRESHOLD(s) -c, --critical=THRESHOLD(s) # example: # /usr/lib/nagios/plugins/check_snmp --hostname=X.X.X.X --community=X --protocol=X --oid=ifOperStatus.6 -c1 SNMP ...



Only top voted, non community-wiki answers of a minimum length are eligible