Questions tagged [net-snmp]

Common set of SNMP tools for *nix and Windows environments.

SNMP-NET

Widely used set of SNMP CLI tools, GUI and snmpd (for traps). Great docs and books written about this tool set. If you're walking down the SNMP road, this is the place to start!

651 questions
3
votes
1 answer

SNMP OID for network traffic

i'm working on a script that will monitor traffic on specific hosts from nagios. I have studied some scripts already made and have gathered almost all the info i need to do it but i have encountered a problem in identifying the OID's necessary for…
primero
  • 591
  • 1
  • 6
  • 17
2
votes
2 answers

File descriptor leak leads to error message flood from net-snmp. Sound familiar?

I've run into a strange problem where a huge number of messages from snmplib's snmp_synch_response() are managing to fill up a 60GB hard drive within about three hours. The messages are all "Use snmp_sess_select_info2() for processing large file…
Steve M
  • 8,246
  • 2
  • 25
  • 26
2
votes
3 answers

SNMPd: Cannot open /proc/bus/pci

I cross-compiled NET-SNMP 5.7.1 from sources to a PowerPC using ELDK-3.1. When I try to load the snmpd daemon in my embedded board, I see the message: # snmpd -f -Lo pcilib: Cannot open /proc/bus/pci pcilib: Cannot find any working access…
j4x
  • 3,595
  • 3
  • 33
  • 64
2
votes
1 answer

Getting data from my program into snmpd

I guess I have missed the obvious, maybe, but I am lost for a good answer. I am developing a stand alone program that will be running on a Linux (Ubuntu?) embedded PC inside a piece of hardware. I want it to be the "thing" SNMP talks to. Well,…
Wes Miller
  • 2,191
  • 2
  • 38
  • 64
2
votes
1 answer

Control Sanyo projector with snmp

I'm trying to control Sanyo projectors (PLC-XU106) using snmp. Windows application PJ Network Manager uses snmp to get temperatures from projectors and to control its status (power on, outputs etc...). Now I need to control it with a bash script…
Alessandro Pezzato
  • 8,603
  • 5
  • 45
  • 63
2
votes
2 answers

net-snmp tutorial snmpset failed

I am trying to make net-snmp to support my own MIB, but I failed. I was following the instructions here: http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module. Then I think maybe I could just use the example MIB file and .c and .h file to…
user195678
  • 535
  • 4
  • 13
  • 27
2
votes
2 answers

snmpset/get returns Timeout:no response for ipv6

I am using snmp to query and set some OIDs in IPv6 mode. I use the below snmp command. I have checked and configured it to listen to udp6:161. snmpget -cpublic -v2c udp6:[2001:db8:3c4d::41a9:8e4e:a094:3840] .1.3.6.1.4.1.1429.5.1.1.2.5.6.0 It gives…
Sathya
  • 525
  • 1
  • 8
  • 15
2
votes
1 answer

How to translate SNMP "enterpriseSpecific trap" number to full OID?

I'm currently using net-snmp snmptranslate to translate the EnterpriseOID of the traps received by my custom coded trap receiver using the following command: snmptranslate -M. -mALL .1.3.6.1.2.1.39.2.2 Now, I am receiving SNMP v1 traps with…
Joshua
  • 1,709
  • 2
  • 24
  • 38
2
votes
1 answer

Is there a generic web app MIB that allows custom variables to be sent via SNMP Trap?

I'm looking for a Management Information Base (MIB) designed for web applications (Note: I'm working in PHP) that I can send multiple variables to my Network Management System via an SNMP Trap. Do I have to design one or is there a solution out…
Malcolm Jones
  • 1,472
  • 1
  • 12
  • 24
2
votes
0 answers

Why is the last index missing from the query when using snmp4j instead of NET-SNMP?

Here is the snmp4j result image When I use NET-SNMP, I can get the total data,but when I use snmp4j,I find that last data is missing. It only return 8193.and getnext 8193 the responseEvent.getResponse() is null . What is the reason? The NET-SNMP…
Rebecca
  • 199
  • 2
  • 8
2
votes
1 answer

Implement a net-snmp subagent (linux/C)

i have look how to implement a snmp sub-agent with the net-snmp library (http://net-snmp.sourceforge.net/tutorial/tutorial-5/toolkit/demon/index.html) The exemple works well, but i am asking a question about the variable passed in reference in…
7vingt
  • 301
  • 2
  • 16
2
votes
1 answer

How to configure engine ID to send SNMP trap V3 using SNMP4J?

I'm using snmp4j 2.8.4 and Java 1.8 It works when I use the command line to send traps.for example snmptrapd.conf authCommunity log,execute,net public createUser -e 0x8000000001020304 myuser MD5 mypassword DES mypassword1 authUser log,execute,net…
sun
  • 21
  • 1
2
votes
0 answers

Proxy snmp v3 request to snmp v2c supported servers

I am trying to configure Net-SNMP to accept incoming SNMP v3 requests at proxy agent and forward the requests to other internal application servers. I have investigated and read tons of comments but I could not find how to query the proxy agent with…
korayguney
  • 169
  • 1
  • 11
2
votes
2 answers

Why I'm not able to install Perl Net-SNMP on Ubuntu 18.04

I'm trying to use Perl Net-SNMP for some monitoring scripts on Ubuntu 18.04. But when I execute the Perl script it says: Can't locate SNMP.pm in @INC (you may need to install the SNMP module). I tried all possible ways to install Perl Net-SNMP and…
PrakashG
  • 1,642
  • 5
  • 20
  • 30
2
votes
1 answer

How to send snmptrap with net-snmp in C?

I am developing an application for an embedded device. I want to send traps when some situation occurred. I found some examples but not really helped to me. There is a function called send_v2trap() in net-snmp. Can someone help me? Is there need to…
lazkopat
  • 21
  • 1
  • 3