Page 1 of 1
How to Stop Log from localhost
Posted: Tue Dec 06, 2016 2:56 am
by tsabit
Dear All,
I'm Newbie on Nagios .I have installed Nagios Log Server with OVA then I add eventlog from win server 2012 after long time more about 5 hours the eventlog is appears on Dashboard.
how to stop syslog from localhost if I want to know log other localhost (Nagios Log Server)
Kindly Regards,
Tsabit
Re: How to Stop Log from localhost
Posted: Tue Dec 06, 2016 11:34 am
by dwhitfield
I think you have two different issues. Could you clarify whether you are asking about the delay in logs?
If you want localhost to not send information to NLS, then you can remove, move, comment out
/etc/rsyslog.d/nagioslogserver.conf.
Filtering might be a better option though, unless you really don't care about the logs on localhost. Additional information is available at
https://assets.nagios.com/downloads/nag ... ilters.pdf
Re: How to Stop Log from localhost
Posted: Wed Dec 07, 2016 6:06 am
by tsabit
Hi dwhitfield ,
Thank you for the response.
i have configured on /etc/rsyslog.d/nagioslogserver.conf is like below
#*.* localhost = 5544
about filtering the logs i have tried the configuring it.if I get confuse i will ask again.
Regards,
Tsabit
Re: How to Stop Log from localhost
Posted: Wed Dec 07, 2016 10:14 am
by dwhitfield
It sounds like this issue has been resolved for now. Is it okay if we lock this thread or do you want to leave it open for now? You can always open another thread.
Re: How to Stop Log from localhost
Posted: Wed Dec 07, 2016 9:55 pm
by tsabit
Hi dwhitfield ,
Thank you for your reply..
I think that's all
you can lock this thread