Only Receiving Logs From 1 Host

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
hillhealthcenter
Posts: 174
Joined: Fri Sep 21, 2012 7:45 am
Location: New Haven, CT

Only Receiving Logs From 1 Host

Post by hillhealthcenter »

Not sure why the number of hosts incrementing.
Thanks so much,
Tom
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Only Receiving Logs From 1 Host

Post by eloyd »

I've noticed that it takes a while for the number to actually increase, even though logs are showing up. Go to the "top sources" dashboard or the default search dashboard and you should be able to look at "logsource" in the list of terms to confirm that your hosts are actually logging.

If they're not, ensure that firewall ports are set properly to allow port 5544 traffic into your log host.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Only Receiving Logs From 1 Host

Post by tmcdonald »

A few other users have seen this behavior as well. I'll talk to the devs and see if I can get an explanation.
Former Nagios employee
hillhealthcenter
Posts: 174
Joined: Fri Sep 21, 2012 7:45 am
Location: New Haven, CT

Re: Only Receiving Logs From 1 Host

Post by hillhealthcenter »

Thanks, Eric and Trevor! :D

My hosts do appear in the Top Sources section.
Thanks so much,
Tom
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Only Receiving Logs From 1 Host

Post by tmcdonald »

The answer I got was pretty confusing. Basically it boils down to logstash taking its time indexing the new logs when they first come in. I suggested altering our setup script for the remote machines to ping back or "phone home" to an API that will immediately register.
Former Nagios employee
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Only Receiving Logs From 1 Host

Post by eloyd »

I just don't pay attention to the number. It's pretty irrelevant for us anyway, since the number of hosts we're monitoring isn't as important as the number of log files (web, syslog, sql, VoIP, etc) across the hosts. So as long as the rsyslog.d/*.conf file gets created properly on the monitored host, and as long as the logsources show up in the searches, I think doing something to get the count to update faster is much lower priority than getting dark to work in the dashboard!!! :-)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Only Receiving Logs From 1 Host

Post by sreinhardt »

I suppose that is a valid point on importance. We might just have to see what comes about from tmcdonalds request.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked