a question aboat "Writing a Subagent
Mostafa Salari <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAGQ+h=3BjPFm9crjCphCeovpadxcjybUH1fL9hfKfThUkAOO6Q@mail.gmail.com> |
Hello, I'm new to net-snmp agent. I am trying to do "Writing a Sub agent" tutorial as described in the following link: http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_Subagent#Test_object_with_subagent I was successfull to compile and run my own agentx subagent using net-snmp --compile-subagent ... as described in the tutorial. I wrote a sub agent that reads any number of OIDs and Values from a text file and registers them via "netsnmp_register_long_ instance" function. It works! but if the textfile changed the sub agennt must be killed and executed again so that snmpwalk shows the new values. SO: I want to write a sub agent that read the textfile repeatedly (for example every 5 secs). I thought that ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users