Users NAgios Session

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
flash09
Posts: 3
Joined: Sat Jun 17, 2017 4:40 am

Users NAgios Session

Post by flash09 »

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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Users NAgios Session

Post by cdienger »

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.
flash09
Posts: 3
Joined: Sat Jun 17, 2017 4:40 am

Re: Users NAgios Session

Post by flash09 »

Hi,
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.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Users NAgios Session

Post by cdienger »

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 {}
}
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Users NAgios Session

Post by tacolover101 »

that's pretty nifty it'll match without regex.

wouldn't it be this though?

Code: Select all

if [message] =~ 'Start* Session* *nagios**' {
drop {}
}
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Users NAgios Session

Post by dwhitfield »

@flash09, did either of the suggestions work for you?
flash09
Posts: 3
Joined: Sat Jun 17, 2017 4:40 am

Re: Users NAgios Session

Post by flash09 »

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
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Users NAgios Session

Post by tmcdonald »

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
Former Nagios employee
Locked