SNMP in my VB.net

Apr 23, 2012 at 12:27 PM

Hello

 

is it possible with this library to act as a 'SNMP server'?

I have made a program (with internal variables :D) and I want my monitor software to periodically consult it + logging/graphing the value.

Sorry, it sounds basic but these are my needs at this moment.

I know it is possible via an intermedium (like file, XML, database, ...) but I want it to be open/standaard.

 

TIA

 

Mario

Coordinator
Apr 28, 2012 at 1:19 AM

SNMP protocol does not restrict how you implement your server (called engine in SNMP v3, and agent in SNMP v1/v2), so using file/XML/database as your storage is fine. But your server must be able to respond to SNMP queries and generate notifications in the standard way.

We have a C# sample called snmpd that demonstrates how to set up such a server. As it is so simple, you should be able to rewrite it in VB.NET. Then you can see how to customize it. There were several discussion threads here about agent development, which you can refer to.

Regards,

Lex