Questions tagged [sharp-snmp]

#SNMP is a set of SNMP libraries and tools for Windows and other platforms.

#SNMP is a set of SNMP libraries and tools for Windows and other platforms.

More information about them can be found at the documentation sites,

81 questions
14
votes
1 answer

Getting usmStatsUnknownEngineIDs on SNMPv3 Discovery

I am trying to get SNMPv3 to work using sharpsnmplib but i am stuck on the discovery step. Discovery discovery = Messenger.GetNextDiscovery(SnmpType.GetRequestPdu); ReportMessage report = discovery.GetResponse(60000, new…
noisyass2
  • 580
  • 4
  • 13
7
votes
6 answers

Define MIB and send SNMP trap under .net

I have developed a special application for a company under .net in C# and it is used for years. Now it is developed on, one of the main new features I have to implement is to integrate it with another software by sending SNMP traps to it in some…
Tom
  • 3,899
  • 22
  • 78
  • 137
6
votes
1 answer

SharpSnmp vs SnmpSharpNet

I'm about to embark on a project where I need to create an SNMP Agent via C#. I've never worked with SNMP, so I plan on using an existing library/api such as SharpSnmp or SnmpSharpNet. I'm fishing for responses from anyone who has personal…
Jed
  • 10,649
  • 19
  • 81
  • 125
4
votes
0 answers

SNMP OID Translation with .NET Core

currently I'm using the LexTm Libraries in my .NET Core / Standard 1.3+ class libraries. Now I need to use the translation function, I have found another posts, but it seems only compatible with FullDotNet. Anyone has used the OID translation in…
Thiago Loureiro
  • 1,041
  • 13
  • 24
4
votes
1 answer

What is the difference between SNMP GETBULK and GET operations

Background I am trying to create a project of an SNMP web site to get information on network devices. I have used the SNMP Library created by LeXtudio - sharpsnmp. The problem I have created two methods one using the Getbulk and one with Get. Both…
Mdukes00
  • 131
  • 1
  • 1
  • 8
4
votes
1 answer

SNMP what is the correct way to interpret RMON2-MIB file?

I'm using sharpsnmplib open source library to compile MIB files and use them in my custom snmp browser. The issue is that sharpsnmplib cannot compile RMON2-MIB file. And subsequent libraries that use it cannot be compiled as well. As it turns out,…
Serge
  • 43
  • 5
3
votes
1 answer

#SNMP - How to compile a MIB file using SharpSNMP?

Trying to find a sample at http://sharpsnmplib.codeplex.com/documentation on how to compile a MIB but the reference section is sparse. Does anyone have a simple piece of code (just a console application) that demonstrates how to compile a MIB file,…
pokstad
  • 3,411
  • 3
  • 30
  • 39
2
votes
1 answer

Properly parse MAC Address

When I use tools such as snmp-walk or snmp-get to query an OID with a return type of MacAddress, It'll always parse the data as a HexString and display it properly. Even when they don't have the MIBs loaded it'll still works. bash#snmpwalk -v 2c -c…
Brian Mitchell
  • 849
  • 1
  • 8
  • 24
2
votes
0 answers

Unexpected results with value assignment in a foreach loop - sharpsnmplib

I am looking for the explanation of the following problem: I use the sharpsnmplib to communicate with devices on the network. If I assign the result to an "outside" variable, then the result of the Messenger.Walk method contains zero elements, if I…
rendes
  • 117
  • 8
2
votes
1 answer

SharpSnmpLib SendTrap

I create this button in C#: private void sendTrapBtn_Click(object sender, EventArgs e) { Messenger.SendTrapV1(new IPEndPoint(IPAddress.Parse("172.29.16.200"), 162), IPAddress.Parse("172.29.16.203"), // my machine new…
Diego Pereira
  • 81
  • 1
  • 6
2
votes
1 answer

SNMP walk on only one level

Is there a way to walk only one level of the tree with SNMP? Example: I want to know how many tables my tree has but I don't want to walk each entry. It would be nice to only walk the parent level and return all OIDs for the root node of the table.
Schwimo
  • 31
  • 4
2
votes
2 answers

SharpSNMP max-repetitions increase causes buffer size exception through GPRS

I am trying to send SNMP requests to a remote location. I am using the SharpSNMP 8.5.0 library and the Snmp.BulkWalk example from a code project post ( here ). In the example, they use 10 as max-repetitions and using sniffing software I noticed…
Aereal
  • 113
  • 9
2
votes
1 answer

How to define table for GET

I'm writing an agent for one of our C# apps that exposes various application properties via SNMP GET using SharpSnmpLib, which I've successfully sent traps and retrieved GETs with in the past. I'm able to expose single properties, but I'm having…
Chris
  • 133
  • 2
  • 10
2
votes
1 answer

Strange SNMP v3 response, report instead of get-response

Strange problem seen while querying a Cisco Call Manager via SNMP v3. SNMP v2 works fine. When using get-next-request, the response is supposed to be a get-response, but from time to time I get a "report" response instead. Reporting on an oid…
skjelland
  • 139
  • 2
  • 6
2
votes
1 answer

Network discovering using SharpSNMP Lib

I am new to SNMP and need to develop a Windows Service that will make the discovery of devices (SNMP) for all network and then need to get the information from discovered devices. The discovery of devices I could do, although I believe that some…
1
2 3 4 5 6