Hi Team,
We have installed NSCLIENT++ on remote windows servers and now the log file size is increasing drastically, can someone help me how can I reduce it. is there any settings that I need to update?
NSCLIENT++ log
Re: NSCLIENT++ log
Can you look at the log and see what kind of messages are filling it?
Former Nagios Employee.
me.
me.
Re: NSCLIENT++ log
If you are running NSClient 0.4.x ot newer, edit the nsclient.ini file and add the following.
Save the ini file and restart the NSClient service. This will truncate the file for you.
Code: Select all
[/settings/log/file]
; MAXIMUM FILE SIZE - When file size reaches this it will be truncated to 50% if set to 0 (default) truncation will be disabled
max size = 2048000Be sure to check out our Knowledgebase for helpful articles and solutions!
-
raamardhani7
- Posts: 459
- Joined: Tue Jun 02, 2015 12:36 am
Re: NSCLIENT++ log
tgriep wrote:If you are running NSClient 0.4.x ot newer, edit the nsclient.ini file and add the following.Save the ini file and restart the NSClient service. This will truncate the file for you.Code: Select all
[/settings/log/file] ; MAXIMUM FILE SIZE - When file size reaches this it will be truncated to 50% if set to 0 (default) truncation will be disabled max size = 2048000
Hi Tom,
This worked for me, please close this thread. thanks.