book
Article ID: 144814
calendar_today
Updated On:
Products
DX Unified Infrastructure Management (Nimsoft / UIM)
Issue/Introduction
In the snmpcollector probe folder for example D:\nimsoft\probes\network\snmpcollector\poller.log file is > 50 G.
Is there an appropriate setting for this to be capped at a certain size, or rolled over?
Environment
Release : 9.0.2/ 8.51
Component : UIM - SNMPCOLLECTOR 3.5x
Resolution
Steps
1)Disable snmpcollector probe
2)Delete the poller log(s) in snmpcollector folder
3)Take backup of snmpcollector.cfg before changes
4)Add the following keys to the <setup> section in the snmpcollector.cfg file or via raw configure
LOCAL_LOG_SIZE = 200
POLLER_LOG_LEVEL = INFO
->Modify loglevel to 3 or lower from 5
loglevel = 3
5)Activate snmpcollector
Additional Information
POLLER_LOG_LEVEL can be assigned the following values : ALWAYS,ERROR,WARN,INFO,DEBUG,DEBUG2,DEBUG3,TRACE
TRACE will log more information. ERROR will log all the exceptions. INFO will be a minimal version of TRACE.
** LOCAL_LOG_SIZE = 1000000 (or any value smaller than 10,000,000) Based on this value, the number of lines that poller.log can have is calculated.
Number of lines poller.log can have = LOCAL_LOG_SIZE / 160
By default, LOCAL_LOG_SIZE = 10000000