[SNMP4J] [ InformD Executor ]

Frank Fock fock at agentpp.com
Mon Nov 14 23:45:05 CET 2005


Hi Dane,

SNMP4J is all you will need for your purpose. Just implement the
CommandResponder interface and add it as a NotificationListener
to the Snmp class.

Best regards,
Frank

dane wrote:

>Hi.
> 
>Thanks for a great great API.
>Being new to java and the snmp world, I have what should be a very basic
>question to you guys/gals....
> 
>I have completed writing a very basic inform sender and seperate inform
>daemon. However, my main objective now, is to give
>the inform daemon the ability to process and read a special string (varbind)
>within the inform (from sender), and take the
>string as a literal path to an execution of a system batch file.
> 
>Do I need to use snmp4j-agent to be able to manipulate the received inform,
>to execute my given file?
>Or is the snmp4j api enough, and as far as I can see, getting the string
>using the PDU class, and stripping the 
>string somehow to get the values I want.
> 
>Thanks
>Newb!
>
>
> <blocked::http://www.sourcing.co.za> "We can't solve problems by using the
>same kind of thinking we used when we created them." - Albert Einstein
>
>- Dane-Garrin Balia 
>- Sourcing http://www.sourcing.co.za <http://www.sourcing.co.za/> 
>- (011) 250-4618
>
> 
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>  
>


-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com





More information about the SNMP4J mailing list