Questions tagged [snmpsharpnet]

20 questions
1
vote
0 answers

SnmpSharpNet.SnmpException: 'Request has reached maximum retries.'

I was researching SNMPv3 for an internship and I got this code from snmpsharp.net (I couldn't show all of the code stackoverflow wouldn't let me) using System; using System.Net; using SnmpSharpNet; namespace SharpGetV3 { class MainClass { …
Shizen
  • 11
  • 2
1
vote
1 answer

How to check if ObjectIdentifier is root of another ObjectIdentifier? (SnmpSharpNet)

How would I check if an ObjectIdentifier is parent/root of another ObjectIdentifier? For example: ObjectIdentifier rootId = ...; Variable variable = ...; if (rootId.IsRootOf(variable.Id)) { // The variable's id is a child of root id! } I can't…
Vapid Linus
  • 555
  • 3
  • 21
1
vote
1 answer

maximum try when i need usign snmp request

i need to send request to NCP board and give the information form that . the NCP IP : 192.168.1.105 but when i send the request with C# it show me this Error : SnmpSharpNet.SnmpException: 'Request has reached maximum retries.' and it connect to…
1
vote
1 answer

SNMPsharpnet SnmpNetworkException: 'Network error: connection reset by peer.'

I am beginner in C# and I am trying to create a tool to read snmp OID for some of my devices. In general the system is working fine at the exception of when I cannot reach the IP address or when the IP Address is not using the same OID. What I…
Yohann
  • 11
  • 2
1
vote
0 answers

How to get the bandwidth of network flowing through a port using SNMP c#

I have to find the network flow through a particular port in a cisco 2960 switch. For this I have to write a code using SNMP and C# only. I am already in the middle of the project and I would like to add this feature too in my project. I have…
Akshaya
  • 11
  • 4
1
vote
1 answer

snmpsharpnet Opaque Float

I query a Synlogy NAS via snmpsharpnet in c# and get the following Value for the UPS Battery: OID: 1.3.6.1.4.1.6574.4.3.1.1.0 Type: Opaque Data: 9F 78 04 42 C8 00 00 However, it should be a float value => 100.00 Same at the Voltage: OID:…
FAaBbiii
  • 13
  • 2
1
vote
0 answers

SNMP v3 gets with SnmpSharpNet and AES192/AES256

I'm trying to use SnmpSharpNet to make and SNMP v3 get with a privacy algorithm of AES192 or AES256. I cannot get a positive response back. I do for AES128 and DES though. I noticed in iReasoning MIB Browser tool there is an option (checkbox)…
Ambro
  • 63
  • 1
  • 8
0
votes
0 answers

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…
0
votes
0 answers

snmp trap listener no message receiving

So i'm building a snmp trap receiver to receive snmp trap messages. i'm using the sharpsnmp-net package from lexstudios aswell as the sample.engine with pipline from github. I'm creating a simple wpf application to just show messages on screen for…
0
votes
0 answers

Snmp community indexing string with snmpsharpnet library

It is possible with the library in question (snmpSharpNet) to use a community indexing string, for example "public@x"
0
votes
0 answers

SNMP How can I add additional OID to request?

I'm trying to query the CPU temperature of a Windows machine using SNMP and SharpNet. The example cope on the SharpNet website uses the following: OctetString community = new OctetString("public"); AgentParameters param = new…
B Minster
  • 191
  • 2
  • 12
0
votes
0 answers

C# monitor SNMP timeticks from multiple IP addresses

I'm attempting to monitor multiple SNMP agents (timeticks) with SnmpSharpNet across separate networks. The code below works with a single IP address, but when I try and connect to a second IP address the code fails, I'm trying to run this…
clomas
  • 63
  • 1
  • 9
0
votes
1 answer

Change authKey of a user

Using SNMP version 3, I am creating a user. Right now, I have it set up where I clone a user and that works just fine. However, I need to change the new user's authKey. How can I do this? I know the oid for authKeyChange, however, I don't know how…
Brandon Willis
  • 135
  • 2
  • 14
0
votes
1 answer

SnmpSharpNet Add User (SNMPv3)

I'm very simply trying to add a user to the device given the security name, auth key, auth protocol, priv key, and priv protocol using VB.net. At this point, NOT using VB.net is not an option. SNMPSharpNet does not seem to have a solution for this…
Brandon Willis
  • 135
  • 2
  • 14
0
votes
1 answer

Configure an Access point using SNMP

Currently I am developing an C# console application using .NET 4.5 to set some configuration values of the access point. This access point is in my local network. Further I am using SnmpSharpNet library to make SNMP requests. To make the SNMP…
diyath.nelaka
  • 163
  • 12
1
2