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
2
votes
1 answer

SharpSNMP Implementation Based on snmptrad example stop working

I'm doing an application prototype based on a example included in Sharp-SNMP Library (snmptrapd) to get some data from SNMP protocol but has stopped working at all, by some unknown reason stopped working but don't throw any exception, compiles and…
Rafael
  • 3,081
  • 6
  • 32
  • 53
2
votes
1 answer

SNMP mib parser

How can I convert SNMP-OID to string, by the mib-file? I use SNMPSharpLib, but I don't know how to parse the objects. I recieve traps (v2), and they contain "ObjectIDentifier" filed, but I need to translate they to English-text.
Azriel Berger
  • 160
  • 4
  • 17
1
vote
1 answer

Trouble with SNMP V3 Creating a Server and Client (SharpSnmpLib)

I am using SharpSnmpLib to create an snmp server and client. I have got V1 and V2 working with the code below but am having trouble with V3 as it is returning a Malformed message. My server creates a listener per device. This is my…
bigboy
  • 35
  • 5
1
vote
1 answer

SNMP GET snmpexception when response in V1 has trailing data bytes when using SharpSnmp

A SharpSnmpLib SNMP V1 GET snmpexception is thrown when querying a certain vendor equipment located in remote networks. Other software like iReasoning MIB Browser, SNMPB, or SnmpSharpNet work OK on the same OID and equipment. The error varies even…
1
vote
2 answers

Listener not found in SharpSnmpLib v11.2

I had a Listener setup for SNMP Traps using SharpSnmpLib v11.1 that I grabbed from Nuget.org. I noticed there was an update to this package to v11.2. When I updated, there was no longer a reference to the Listener. I cannot find where this…
Red_Phoenix
  • 482
  • 6
  • 22
1
vote
0 answers

How to get value of oid type OctetString

I am trying to get OID value (in string format) from Snmp device by using Lextm.SharpSnmpLib.Messaging. it is displaying correctly for normal OID values, but while converting for Mac address containing('-') it does not converts properly and displays…
1
vote
1 answer

Perform SNMP walk using SharpSnmpLib BulkWalk method

I am trying to retrieve the MAC address of a device that connects to the network. My goal is to perform a WALK and then search the results by the port number that triggered the event. I first grab the port information via a GetRequestMessage…
Red_Phoenix
  • 482
  • 6
  • 22
1
vote
0 answers

#snmplib error in snmpwalk command with agent

i try write a agent with sample code snmpd and define custom Object . but when i use snmpwalk in other library like net-snmp , my agent not return custom Object with value custom object public TestObject(): base(new…
d.borzouei
  • 171
  • 1
  • 1
  • 5
1
vote
1 answer

How do you interpret a bit string using sharp snmp lib (hrPrinterDetectedErrorState)?

How do you interpret hrPrinterDetectedErrorState (http://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?oid=1.3.6.1.2.1.25.3.5.1.2) or something like it using Sharp Snmp lib? Is there some kind of bit string type? It's kind of a bitmask, but…
js2010
  • 23,033
  • 6
  • 64
  • 66
1
vote
1 answer

SNMPv3 not in time window

I try to query a Cisco SMB (small business switch) to read its hostname. My code returns "not in time window (1.3.6.1.6.3.15.1.1.2.0). Net-Snmp works fine. The difference I found using wireshark is that net-snmp sets msgAuthorativeEngineTime after…
Kiksen
  • 11
  • 1
  • 2
1
vote
0 answers

Timeout on SNMP GET / SET using IP address on VPN client on different network

I have a SNMP GET timeout issue when trying to get data from an IP on a VPN connection. It seems like the SharpSnmpLib looks for the IP address from the wrong network connection and it times out. The app is a UWP test to try out Lextm.SharpSnmpLib.…
1
vote
1 answer

#SNMP - Privacy providers support in SNMP V3

From what I saw the #SNMP package supports only DES and (partially) AES128 privacy providers. Are there any plans extend the list and support additional privacy providers? (like AES192, AES256 and 3DES)
TeaHoney
  • 150
  • 11
1
vote
0 answers

How to do manager MIB parsing with SharpSNMP

I just want my C# .NET manager code to be able to do SNMP V2 sets and gets using the variable and table names defined in the MIB and not have to use the long OID numeric string to make the code easier to read and maintain. I am not developing a…
D. Edwards
  • 11
  • 2
1
vote
1 answer

Is it possible to use sharp-snmp to manage Access points

I want to discover all wifi clients in wifi area. I want to use sharp-snmp or any code that configure the access point to send probe request perodically and then I want to read probe response and get the information about the Wi-fi clients(mobile…
Moh. Qaid
  • 13
  • 5
1
vote
0 answers

How SNMP agent gets data from snmp devices will work c#

I've been looking around the net for a guide or tutorial on how to start on using C#.NET to query SNMP devices but I have been unsuccessful. I am using Sharpsnmplib because of MIT license. I didn't understand about the flow of data that how devices…
ankit Gupta
  • 313
  • 1
  • 5
  • 19