node name

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Post Reply
dariusz.nalazek
Posts: 39
Joined: Thu Nov 16, 2017 6:46 am

node name

Post by dariusz.nalazek »

Hello.

How to change hostnames shown in Nagios LS GUI --> Admin/Instance Status.
I'm after hardware upgrade and I replaced all nodes for new ones (new server, ip, name). Migration was nice and easy, all works, but the names of nodes ;)

On very 1st installation of Nagios LS, setup process found proper names and IPs for all nodes.
But all new Nagios LS sewers shows as 'localhost' (IP is shown in proper way in Admin/Instance Status).
From cli, all is messed up, all hosts are 'localhost' with 127.0.0.1 IP

From OS (RHEL8) point of view, hostname is OK on each node (/etc/hostname, hostnamectl, /etc/hosts, nmtui - shows correct data)

During upgrade Nagios LS was in version 2.1.13 , now it's 2.1.15 (upgrade didn't help)


Code: Select all

curl -XGET 'http://localhost:9200/_cat/nodes?v'
host      ip        heap.percent ram.percent load node.role master name                                 
localhost 127.0.0.1            6          61 0.00 d         m      xxxxxxxxxxxxxxxxxxxxxxxxxxxx9 
localhost 127.0.0.1            4          61 0.01 d         m      xxxxxxxxxxxxxxxxxxxxxxxxxxxx0 
localhost 127.0.0.1            6          61 0.14 d         m      xxxxxxxxxxxxxxxxxxxxxxxxxxxxc 
localhost 127.0.0.1            7          61 0.02 d         *      xxxxxxxxxxxxxxxxxxxxxxxxxxxx1 
It’s a bit annoying if I want to debug shards, everywhere is 127.0.0.1 shown (both r and p on all shards is 127.0.0.1)

I hope I miss some little step while configuration, but can't find it…

D.
dariusz.nalazek
Posts: 39
Joined: Thu Nov 16, 2017 6:46 am

Re: node name

Post by dariusz.nalazek »

Sorted out ;)
Post Reply