no incoming logs after upgrade.

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

no incoming logs after upgrade.

Post by benhank »

Upgraded to Nagios Log Server 2.0.8, and now I am not receiving any logs. I honestly think I messed up the process somehow. I am running NLS on a 2 node system.
I don't know how to check to see what might have gone wrong.
On a side note. all systems are green and the NLS services are running but i just don't have any new logs.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: no incoming logs after upgrade.

Post by npolovenko »

Hello, @benhank. Did you change the IP address on the log server or just updated it to the latest version?

Can you PM me a profile from the system so I can review it? The profile can be generated under Admin > System Status > Download System Profile.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: no incoming logs after upgrade.

Post by benhank »

no bro I didn't change the Ip I just ran the upgrade using the following commands:

Code: Select all

cd /tmp

rm -rf nagioslogserver nagioslogserver*.tar.gz

http://library.nagios.com/library/products/nagios-log-server/downloads/

wget http://assets.nagios.com/downloads/nagios-log-server/nagioslogserver-latest.tar.gz

curl -XPUT localhost:9200/_cluster/settings -d '
{
"transient" : {
"cluster.routing.allocation.enable" : "none"
}
}'

tar xzf nagioslogserver-latest.tar.gz

cd nagioslogserver/

./upgrade

curl -XPUT localhost:9200/_cluster/settings -d '
{
"transient" : {
"cluster.routing.allocation.enable" : "all"
}
}'
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: no incoming logs after upgrade.

Post by npolovenko »

@benhank, Looks like the updated logstash plugin no longer supports the version of GeoLiteCity database you're using. Please download the newer version of the geoip database from here:
https://geolite.maxmind.com/download/ge ... ity.tar.gz
Extract the GeoLite2-City.mmdb file to the /usr/share/GeoIP/ folder and change the database path in the geoip filter to:

Code: Select all

 geoip {
    database => "/usr/share/GeoIP/GeoLite2-City.mmdb"
    source => "IPAddress"
    }

 geoip {
    database => "/usr/share/GeoIP/GeoLite2-City.mmdb"
    source => "IpAddress"
    }
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: no incoming logs after upgrade.

Post by benhank »

Hey man thanks!
I gotta admit I was skeptical to try it, but I thought to myself" they haven't steered you wrong yet, so do it" and it worked logs are coming in now appreciate the help man!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: no incoming logs after upgrade.

Post by scottwilkerson »

benhank wrote:Hey man thanks!
I gotta admit I was skeptical to try it, but I thought to myself" they haven't steered you wrong yet, so do it" and it worked logs are coming in now appreciate the help man!
great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked