Closed lextudio-support closed 2 hours ago
Copied from CodePlex without authors:
snmpd is the one. Run it at localhost and then you can use the browser to monitor it.
Original Posted Date: 2011-05-31T02:51:33.207-07:00
Copied from CodePlex without authors:
Thanks for your reply.
I started to debug the snmpd sample application.
So to implement the SNMP agent, I have to do the following:
Is this correct? Do I have to do something else?
Regarding the SET:
I also tried to debug a "SET" command (sysContact). However, it never reaches
the SetMessageHandler.Handle() method. I get the popup windows to amend the
value and then when sending it, it gets a timeout exception --> Am I doing
something wrong?
---> I have installed the iReasoning MIB Browser to further test it. Using this browser, it works. I believe that the timer in #snmp is started prior showing the windows to ask for the new value to set. Therfore, it timed out.
Thanks a lot,
Jose
Original Posted Date: 2011-05-31T03:23:51.653-07:00
Copied from CodePlex without authors:
The three points are correct.
You should debug more classes to understand the pipeline design.
For example, SnmpApplication class can give you more insight on how a request is handled from the beginning to the end.
Regards,
Lex
Original Posted Date: 2011-06-05T21:53:42.387-07:00
Copied from CodePlex without authors:
Hello again,
I went in debug in SnmpApplication class. So just to make sure, is it correct
that I have to create for each MIB variable a class (that inherits from
ScalarObject).
My private MIB contains 200 variables. This will end up will 200 classes. Am
I correct?
Thanks,
Jose
Original Posted Date: 2011-06-17T06:09:18.133-07:00
Copied from CodePlex without authors:
Currently the answer is Yes and you have to manually create the classes.
Technically the Compiler.exe can be enhanced to compile the MIB documents to C# source files (automatically converting the variables to classes). But in both cases this should end up with 200 classes.
Regards,
Lex
Original Posted Date: 2011-06-18T00:01:25.82-07:00
Marked as Answer Date: 2013-10-06T04:35:37.283-07:00
Hello,
I want to build a SNMP agent.
I have downloaded the code and the Help files. Then, I have looked at the examples (snmpSendTrap, snmpSendTrapd, snmpd, snmpGet, ...).
However, I can not find a sample that shows me how to implement a SNMP agent that support the following:
Is there any such sample available?
Many Thanks,
Jose
Original Reported Date: 2011-05-31T02:27:07.51-07:00 Original CodePlex Discussion Thread ID: 259615