Only Receiving Logs From 1 Host
-
hillhealthcenter
- Posts: 174
- Joined: Fri Sep 21, 2012 7:45 am
- Location: New Haven, CT
Re: Only Receiving Logs From 1 Host
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.
If they're not, ensure that firewall ports are set properly to allow port 5544 traffic into your log host.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Only Receiving Logs From 1 Host
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
Thanks, Eric and Trevor!
My hosts do appear in the Top Sources section.
My hosts do appear in the Top Sources section.
Thanks so much,
Tom
Tom
Re: Only Receiving Logs From 1 Host
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
Re: Only Receiving Logs From 1 Host
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!!! 
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
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.