Re: Is there a way to limit the log file size of net SNMP ?

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 15/01/2008, abhishek pundir <[email protected]> wrote:
> Is there any way/option to limit the log file size of
> the net SNMP?

No.
The agent just logs messages using the appropriate mechanisms
(log to file, via syslog, etc).   It doesn't have any way to monitor
the size of these logs.

If you need to detect "large" log files, then this will have to be done
via some external mechanism - e.g. a suitable cron job, use of
logrotate (or similar), etc, etc.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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.