Search found 14 matches

by elpakko
Mon Dec 09, 2024 12:36 am
Forum: Nagios Log Server
Topic: Log collection just stops after a period of time
Replies: 15
Views: 28902

Re: Log collection just stops after a period of time

It seems that my log server survived the weekend. So your instructions fixed the problem, thanks!
by elpakko
Wed Dec 04, 2024 1:02 am
Forum: Nagios Log Server
Topic: Log collection just stops after a period of time
Replies: 15
Views: 28902

Re: Log collection just stops after a period of time

Ok, it seems that some of my old switches are indeed using the port 514. I changed the user to "root" and those switches are now logging again. I'll keep monitoring over the weekend and let you know how it goes.
by elpakko
Tue Dec 03, 2024 12:12 am
Forum: Nagios Log Server
Topic: Log collection just stops after a period of time
Replies: 15
Views: 28902

Re: Log collection just stops after a period of time

I'm not using 514 at all, so it could be disabled. Not sure why it's enabled in the first place. Any instructions on how to disable it without braking anything else?

I can see logs from 127.0.0.1 (localhost) in the host list, if that is what you mean.
by elpakko
Mon Nov 25, 2024 1:01 am
Forum: Nagios Log Server
Topic: Log collection just stops after a period of time
Replies: 15
Views: 28902

Re: Log collection just stops after a period of time

It just stops listening the port 5544. "Netstat -tulpn | grep 5544" gives an empty output I can see the following in the logs at the time when the logs stop collecting: {:timestamp=>"2024-11-24T04:45:47.613000+0000", :message=>"syslog listener died", :protocol=>:tcp, :a...
by elpakko
Mon Nov 18, 2024 1:05 am
Forum: Nagios Log Server
Topic: Log collection just stops after a period of time
Replies: 15
Views: 28902

Re: Log collection just stops after a period of time

kg2857 wrote: Fri Nov 15, 2024 12:37 am Check the status of logstash when the problem happens, then restart logstash.
Logstash is running when the problem occurs. Restarting the service will help, but it will stop collecting logs again after a few days.
by elpakko
Fri Nov 15, 2024 12:39 am
Forum: Nagios Log Server
Topic: Log collection just stops after a period of time
Replies: 15
Views: 28902

Re: Log collection just stops after a period of time

I can see the following in the syslog:

rsyslogd: cannot connect to localhost:5544: Connection refused
by elpakko
Fri Nov 15, 2024 12:19 am
Forum: Nagios Log Server
Topic: Log collection just stops after a period of time
Replies: 15
Views: 28902

Log collection just stops after a period of time

I recently migrated my NLS from Ubuntu 20.04 LTS to Ubuntu 24.04 LTS. Migration went ok and no worries there. However now after the migration I'm facing a problem where the log server just stops collecting logs. After reboot it starts to work again, but then after a random period of time it stops ag...
by elpakko
Fri Sep 27, 2024 6:01 am
Forum: Nagios XI
Topic: "Invalid Host Header" after upgrade
Replies: 4
Views: 5479

Re: "Invalid Host Header" after upgrade

Keep talking to myself, but I managed to solve it by using the "External URL".

So the solution:

Program URL: https://nagiossrv/nagiosxi
External URL: https://nagiossrv.local.domain/nagiosxi
by elpakko
Fri Sep 27, 2024 5:46 am
Forum: Nagios XI
Topic: "Invalid Host Header" after upgrade
Replies: 4
Views: 5479

Re: "Invalid Host Header" after upgrade

Ok, it seems that using the FQDN of the host it works. If I remember correctly, before the upgrade it worked with both: "https://nagiossrv/nagiosxi" or "https://nagiossrv.local.domain/nagiosxi" FQDN is the subject of the certificate and the name without the domain is in the SAN f...
by elpakko
Fri Sep 27, 2024 5:26 am
Forum: Nagios XI
Topic: "Invalid Host Header" after upgrade
Replies: 4
Views: 5479

"Invalid Host Header" after upgrade

Hey. I upgraded my Nagios XI to the newest version from the shell, using the package: http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz During the upgrade I got the usual cpan and pip errors, as they are not able to connect http (we are using proxy, and I don't know how to configure the p...