Page 1 of 1

Nagios Log Sources count not changing

Posted: Sat Jan 24, 2015 7:53 pm
by stecino
Hello,

I am adding logsources to Nagios Log Server, and I can see the data being gathered, but Hosts count on Home page doesn't change. I have noticed this before as well.
Restarting logstash on all cluster nodes usually addresses the issue, but this time I can't even get that working. Any idea why this is the case?

Thanks in advance.

I am running 2015R1.1

Re: Nagios Log Sources count not changing

Posted: Sun Jan 25, 2015 12:08 pm
by eloyd
I have found that the count can take a while to update. Not sure why. You can always do a "top sources" query to see what's sending data.

Re: Nagios Log Sources count not changing

Posted: Mon Jan 26, 2015 1:29 am
by stecino
eloyd wrote:I have found that the count can take a while to update. Not sure why. You can always do a "top sources" query to see what's sending data.
Its very sporadic, it will update right after the node is added, it may take couple of days even after all the logsources have been added. In my case it got updated, after two days.

Re: Nagios Log Sources count not changing

Posted: Mon Jan 26, 2015 10:10 am
by scottwilkerson
We are looking into changing the algorithm that displays that to be a more accurate assessment, at best it currently only displays hosts it has received logs from that have dates in the last 24 hours

Re: Nagios Log Sources count not changing

Posted: Mon Jan 26, 2015 10:12 am
by eloyd
What happens "at worst?" :-)

Re: Nagios Log Sources count not changing

Posted: Mon Jan 26, 2015 10:13 am
by tmcdonald
I think the "at worst" in this case is just displaying 1 host.

Re: Nagios Log Sources count not changing

Posted: Wed Jan 28, 2015 2:02 pm
by stecino
Another thing I have noticed is that when first you add let's say Linux Host as logsource, and then add application specific log files as Linux File logsource, logsource count isn't incremented.
What is the Host to logsource relationship?

Host = Server? or Host = number of configurations to send out logs?

Re: Nagios Log Sources count not changing

Posted: Wed Jan 28, 2015 2:24 pm
by scottwilkerson
In this context
Host = Server