Open lextudio-support opened 4 hours ago
Copied from CodePlex without authors:
1) In most cases, the answer is No. Microsoft ships MIB documents in Windows if you enable SNMP service. But to fully understand what is MIB, you need to go and buy an SNMP book.
2) To test traps, run snmptrapd.exe and then snmpsendtrap.exe.
Original Posted Date: 2014-02-01T01:59:56.09-08:00
Copied from CodePlex without authors:
Thank you Lex for your support.I have another question . I have to test the class Lextm.SharpSnmpLib.Pipeline.ISnmpContext with the following methods
get_Binding
get_CreatedTime
get_Request
get_Response
get_Sender
but not as unit test, i need a test case and i should not modify the library itself. I thought about the snmptrapd already in the code examples but i have no idea how to call those methods above without modifying the library and i cannot find any example.
Thanks
Original Posted Date: 2014-02-07T05:44:31.323-08:00
Dear Lextm,
My company has used the SharpsnmpLib for a project and we need to provide a document containing test cases and test procedures related to the SharpsnmpLib.I did not partecipe to the project but i have to test the library.Furthermore i am trying to understand more about SNMP protocol and at the time i have to provide the doc in 15 days.I need to know if i am on the right way.
1) First of all i am using the company lan with Windows OS.If i use my pc as manager and another one as agent, do i still need to create a MIB? Why?
2) Since time is limited i am going to use your C# code example to run the test cases and i think i am ok with snmpget, snmpset, snmpd and sbmpdiscover.What i still do not understand is how to use the trap.If i run the snmpd i have to do "Start listening" on my pc (the manager), then what should i do on the agent pc? How do i verify that the trap has been sent?
Original Reported Date: 2014-01-31T23:31:51.62-08:00 Original CodePlex Discussion Thread ID: 528600