Hello,
I have installed Nagios Log Server on CentOS 7. It seems to work so far but the User Nagios is logged in several times per second. After few days the user Nagios have Ten tousands of open Sessions.
I cant believe that this a normal behavior but i dont know what is wrong.
Have some one a idaea?
Regards
Users NAgios Session
Re: Users NAgios Session
Can you share the output or file you're seeing this in?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Users NAgios Session
Hi,
I have attached a Screenshot from my Dashboard. Hope that helps...
Regards
I have attached a Screenshot from my Dashboard. Hope that helps...
Regards
You do not have the required permissions to view the files attached to this post.
Re: Users NAgios Session
These are due to the cron jobs in /etc/cron.d/nagioslogserver running each minute. You can have NLS drop these by adding a filter under Administration > Globl > Global Configuration > Filters. For example:
if [message] =~ 'Session Started.*' {
drop {}
}
if [message] =~ 'Session Started.*' {
drop {}
}
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Users NAgios Session
that's pretty nifty it'll match without regex.
wouldn't it be this though?
wouldn't it be this though?
Code: Select all
if [message] =~ 'Start* Session* *nagios**' {
drop {}
}
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Users NAgios Session
@flash09, did either of the suggestions work for you?
Re: Users NAgios Session
Hi,
sorry for my late answer.
You meaning that is ok that the user NAgios start 3 Session per minute? I send a screenshot from messages log. Here can you see that the user Nagios starts 3 session every minute but i dont see a message that this session is closed
Sure i can supress the messages from the log but i want to be sure that this behavior is fine and working as expected. Switch off this dumb oil warning lamp wont be helpful for the engine - you know
Regards
sorry for my late answer.
You meaning that is ok that the user NAgios start 3 Session per minute? I send a screenshot from messages log. Here can you see that the user Nagios starts 3 session every minute but i dont see a message that this session is closed
Sure i can supress the messages from the log but i want to be sure that this behavior is fine and working as expected. Switch off this dumb oil warning lamp wont be helpful for the engine - you know
Regards
You do not have the required permissions to view the files attached to this post.
Re: Users NAgios Session
I don't believe there will necessarily be a "Closing session XYZ" message, and these messages are not specific to Nagios:
https://www.centos.org/forums/viewtopic.php?t=61718
https://www.centos.org/forums/viewtopic.php?t=61718
Former Nagios employee