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
2
votes
2 answers

SNMP net-snmp getting different than expected OID translation

I have RFC1628_UPS_MIB (UPS-MIB) and SNMPv2-SMI (SNMPv2-SMI) installed on my system. I am using net-snmp tool snmptrapd to receive traps. Traps from my Liebert NPower UPS are being translated through SNMPv2-SMI rather than UPS-MIB as I expect. I get…
2
votes
1 answer

cant import netsnmp in python on centos 6.5

I am trying to use netsnmp in python but it is unable to import after following all suggestions related to netsnmp in python. I installed netsnmp using below commands yum install net-snmp net-snmp-utils easy_install ipython snmpd service is…
RAFIQ
  • 905
  • 3
  • 18
  • 32
2
votes
1 answer

not able to kill snmpd process in MAC OSX

Trying to Kill snmpd process i MAC OSX not able to do, after every Kill it restart again Automatically, not sure who is starting the process again and again, using MAC OSX operation system bash$ ps ax |grep snmpd 22214 ?? Ss 0:00.10…
anish
  • 6,884
  • 13
  • 74
  • 140
2
votes
2 answers

Where are the OID MIB values stored?

Where are stored SNMP MIB OID values and accsess type for every OID, that specified in MIB file, in Linux-based embedded systems? (such as networking equipment, set-top boxes, machine control, industrial automation) There should be internal database…
user2427839
2
votes
2 answers

How to receive Unsigned int value for a net-snmp variable

I have a AgentX sub-agent working with net-snmp master agent. I want to convert an unsigned int value to the snmp type and print it using the snmpget command. I have used the following function: snmp_set_var_typed_value(var, …
dashdeep13
  • 21
  • 3
2
votes
1 answer

LNK2001 VS2012 Net-SNMP

I'm at the end of my rope with this linker error. I've been searching the web and picking brains for days, but am at a total loss. I installed, through the downloadable binaries, Net-SNMP (net-snmp-5.5.0-2.x64.exe) for Windows and tried running an…
jhammond
  • 1,916
  • 2
  • 15
  • 29
2
votes
1 answer

SNMP: Why does a SET-request also perfom a GET-request?

I'm trying to build my own SNMP-agent (on Solaris 10.0) and added a line to my snmpd.conf: pass .1.3.6.1.4.1.xxxx /home/snmp/snmp_agent.bash For testing, the only thing the bash-script does, is writing the current time and arguments to a…
Gijsbert
  • 31
  • 2
2
votes
1 answer

SNMP query to get UPS information

I'm trying to get the information from an apc ups from winapi but my code is failing SnmpMgrRequest and when checked the error code it is giving it as 40 which is not mentioned in the SNMP ERROR code list for winapi. I have posted the code below…
Santhosh Pai
  • 2,535
  • 8
  • 28
  • 49
2
votes
1 answer

SNMP extend as an INTEGER and not a STRING

I am trying to extend freeradius statistics to snmp. I want to monitor these values and collect them within rrd files. My problem is that these values should be rrd counter but it appears that counter values needs to retrieve an INTEGER and not a…
DoRivard
  • 792
  • 3
  • 16
  • 27
2
votes
1 answer

Authoritative engine Id and context engine id in snmp v3

I have a client machine which sends snmpinform. In other machine i am running snmptrapd server. I wanted to mention context engine id and authoritative engine id explicitly. While sending command i can use -e for authoritative engine id, -E for…
K.K
  • 311
  • 1
  • 7
  • 17
2
votes
2 answers

can not implement SNMP class in PHP

I want to use snmp class on PHP, and try that example-1 on my server. get("sysDescr.0"); echo "$sysdescr\n"; $sysdescr =…
2
votes
1 answer

How to see the environment variable set by the net-SNMP library?

I am using the net-SNMP library for developing a parser for the MIBs. I want to see the environment variable used bye the library. I have tried the env command but it doesn't showing any variable as follows MIBDIRS, MIBS etc. Kindly give some idea.
pradipta
  • 1,718
  • 2
  • 13
  • 24
2
votes
1 answer

How to link curl with net-snmp

I am programming an application to be monitored with (net)snmp. So when I run snmpget it will trigger a request for my program in C to get the data. The only problem is my program uses libcurl. The function getSettings below uses libcurl:…
2
votes
1 answer

Query regarding SNMP get

Recently we were making MIB files for NMS system, while doing so I came across that after deploying the MIBs on Linux machine to query it I need to add 101.1 at the end, where as for standard Linux mibs only .0 needs to be appended. I am not able to…
punith
  • 1,249
  • 1
  • 15
  • 18
2
votes
3 answers

How to list SMIv1 MIBS with net-snmp MIB API in C/C++?

I want to display a list of various MIBS with net-snmp and show other informations related to the SNMP tree structure. Now it turns out that my customer's SMIv1 MIBS does not show up in the listing, but are correctly loaded by net-snmp. Sample…
JB.
  • 1,103
  • 1
  • 20
  • 37