Logging

Gabi Mahu <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello all,

I have a small application that initializes an agent, checks for some parameter values and if these values are in a some "bad" limits, sends some traps. Because I have some problems with the connection with the master agent, some kind of log , from the agent side, would be very helpful. 
My question is: how do I make the agent log into a file, from my configuration file, if possible? From what I have seen this it is just a matter of command line parameters when dealing with the usual netsnmp tools, but what should be done, when developing a small agent application?

Thank you for your time
Gabriel Mahu

       
---------------------------------
 Check out  the hottest 2008 models today at Yahoo! Autos.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.