luqq / snmpsharpnet Goto Github PK
View Code? Open in Web Editor NEWSimple Network Management Protocol (SNMP) .Net Standard library written in C# (csharp). Implements protocol version 1, 2 and 3
License: GNU General Public License v3.0
Simple Network Management Protocol (SNMP) .Net Standard library written in C# (csharp). Implements protocol version 1, 2 and 3
License: GNU General Public License v3.0
Hello,luqq
I'm from China. I want to use your SNMP project.
Can you send me a concise example? Thank you.
My Email is [email protected]
Hello!
I'm try to get "1.3.6.1.4.1.14988.1.1.11.1.1.6" OID by walking. It's neighbors of network device. Hardware is RouterBoard (Mikrotik).
If I use linux snmpwalk with: "snmpwalk -v2c -c public 192.168.10.20 1.3.6.1.4.1.14988.1.1.11.1.1.6" - i'm got neighbors with STRING-type results, but one returned as Hex-STRING (TP-Link device).
But with SnmpSharpNet (by your's and original) results returned NULL.
Code is simple:
var client = new SimpleSnmp("192.168.10.20", "public");
client.Retry = 5;
client.Timeout = 1000;
var snmpResult = client.Walk(SnmpVersion.Ver2, "1.3.6.1.4.1.14988.1.1.11.1.1.6");
During my uses of this library i found that some devices was not returning same request id in response, this was due to SetRandom() was setting very high value thus requestid to server was getting set as 0.
to fix this i have changed
public void SetRandom()
{
Random rand = new Random();
- _value = rand.Next();
+ _value = rand.Next(0, 9999);
}
will further analyse this issue then will create a pull request for the same.
Is there possible with this library read a MIB file??
Is this library is related in any way with SnmpSharpNet? The name at least is exactly the same.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.