Questions tagged [net-snmp]

Net-SNMP is a suite of software for using and deploying the SNMP protocol.

Net-SNMP is a suite of software for using and deploying the SNMP protocol (v1, v2c and v3 and the AgentX subagent protocol):

  • supports IPv4, IPv6, IPX, AAL5, Unix domain sockets and other transports;
  • contains a generic client library, a suite of command line applications, a highly extensible SNMP agent, perl modules and python modules.
92 questions
1
vote
3 answers

How to selectively use mutliple interfaces with Net-SNMP?

I have this monitoring network setting for Net-SNMP 5.7.2.1 listening to multiple Ethernet interfaces on my home gateway but it would only take the following combination from the snmpd.conf configuration file: single IP address single IP address,…
John Greene
  • 899
  • 10
  • 30
1
vote
1 answer

SNMPv3: Remote snmptrap engineID not found

I'm having trouble getting snmptrapd to accept remote SNMPv3 TRAP messages. Here's my simple snmptrapd.conf: root@snmptrapper:~# cat /tmp/testsnmptrapd.conf createUser -e 0x80001f8880013da3af54da7882 skohrs MD5 PaSSWoRD DES createUser -e…
skohrs
  • 1,520
  • 11
  • 23
1
vote
1 answer

(net)SNMP can GET but not SET

I am running OpenWRT (tried all 3 latest versions) in a TP-LINK WDR3600, with snmpd and snmp utils installed. I can get (although MIBs seem missing) but not set OIDs. SNMPGET root@OpenWrt:/# snmpget -v 1 -c public 10.0.0.2 iso.3.6.1.2.1.1.5.0 MIB…
1
vote
0 answers

Many error lines in snmpwalk report

Devices : Cisco SG 300 switch / Ubuntu 14.04 LTS when I run a snmpwalk, I get many error lines before the actual requested datas. Example: snmpwalk -v3 -u public 192.168.0.20 IF-MIB::ifHighSpeed Unlinked OID in IPATM-IPMC-MIB: marsMIB ::= { mib-2…
networkIT
  • 91
  • 1
  • 1
  • 7
1
vote
1 answer

net-snmp mib loading and snmptranslate

I'm trying to run snmptranslate on my system but it does not work, even if I did everything by tutorial from net-snmp.org. They say it should work but it doesn't. I have a debian 6 server and net-snmp 5.4.3. I tried what they say here, the official…
shadox
  • 185
  • 1
  • 7
1
vote
0 answers

snmpget on IPv6 local address timesout though snmpd is listening on ipv4 and ipv6

I am doing snmpget from a RHEL machine to the localhost. It works for IPv4 and doesn't work for IPv6. # snmpget -v2c -c public udp6:[::1] sysName.0 Timeout: No Response from udp6:[::1]. # snmpget -v2c -c public localhost…
Prem
  • 11
  • 2
1
vote
3 answers

Sending e-mail when SNMP Trap is received

I have to configure SNMP trap receiver to handle traps from a particular device (in this case it is a IBM TS3584 Tape Library) and send them over (as e-mail) with the information about the error. My server is running CentOS 6.4 linux, with net-snmp…
Ziwi
  • 13
  • 1
  • 1
  • 4
1
vote
0 answers

Unable to send v3 trap using snmptrap

I am trying to send snmp v3 trap using snmptrap command on ubuntu 12. I tried: sudo snmptrap -v 3 -c 1 localhost -a MD5 -A abcdefgh -l noAuthNoPriv -u myuser sudo snmptrap -v 3 -c 1 localhost -a MD5 -A 1.2.3 -l noAuthNoPriv -u myuser sudo snmptrap…
user674669
  • 159
  • 1
  • 7
1
vote
1 answer

Delay between sending and recieving SNMP Traps within a machine

I am experimenting with sending and receiving SNMP traps via net-SNMP. I have a script that sends traps out to localhost. I have snmptrapd set to write traps to a file. This works fine, except for the fact that there is about a 5 second delay…
Greg
  • 11
  • 2
1
vote
1 answer

Server-Ip address is not getting displayed in snmp-trap messages

my problem is about Ip Address which I am receiving on the windows system snmp-trap messages,is some thing like that UDP: [192.168.1.150]:1029->[0.0.0.0]:0 while same trap message on linux system has been displayed as UDP:…
Gaurav
  • 13
  • 3
1
vote
1 answer

Solaris 10 snmp exec multiple strings

I am trying to use snmp to query a directory listing. I have added the exec line to snmp.conf ("exec list /bin/ls /pathtodirectory") and restarted the service. When I perform an snmp walk for the exec OID I can see the string returned by the exec,…
ztnewman
  • 31
  • 1
  • 1
  • 3
1
vote
0 answers

snmptrap and snmptt - authcommunity not found

I am trying to configure snmptt to translate the snmp traps received and handle them as passive checks in an icinga monitoring server as described here. after doing the changes to the snmptrapd.conf I am trying to restart the service and I…
sabs6488
  • 151
  • 4
1
vote
1 answer

snmp.conf how to allow any remote client

Using linux (Ubuntu) with net-snmp. I want to allow any remote client to execute snmpget. The remote client not have to be from the same subnet , so i cannot do this by define subnet. Now i add line in snmpd.conf for each ip. like this: rwcommunity…
Avihai Marchiano
  • 612
  • 3
  • 16
  • 32
1
vote
3 answers

Spoofing origin host using snmptrap

I'm about ready to lose my mind with this... I need to spoof the host that snmp traps are being sent from using the snmptrap command. The man pages for snmptrap state that you can utilize common options made available by snmpcmd. snmpcmd states that…
TheBeege
  • 47
  • 2
  • 8
1
vote
1 answer

Obtain newer version of NetSNMP for CentOS 5

I'm using CentOS 5. I have a need to use net-snmp version "net-snmp-utils-5.5-37.el6_2.1.x86_64" which is currently available in CentOS 6 but not in CentOS 5. The reason I need this version (or greater) is because there is a new supported option…
jtnire
  • 817
  • 2
  • 8
  • 16