Page 1 of 1
Unknown ip address after installing Nagio Logserver 2024R2
Posted: Tue Mar 25, 2025 9:09 am
by rhassing
I installed the new released Nagio logserver 2024R2 a few days ago.
I started the migration, but not all data was copied over.
I assume it might have something to do with a strange ip address which appeared in the configuration.
The ip address found under configuration is: 192.168.1.93
This is not even in the subnet used for the logserver.
Also made configuration changed are not saved on the server.
How can I remove this ip address and replace it with the actual ip address?
Best regards,
Rob Hassing
Re: Unknown ip address after installing Nagio Logserver 2024R2
Posted: Tue Mar 25, 2025 1:21 pm
by jmichaelson
Hi Rob. A few questions or you:
- Which specific page are you seeing the strange ip address on?
Is the IP address possibly one from the old cluster?
Do you get any results if you search your existing log server cluster for that ip address?
Re: Unknown ip address after installing Nagio Logserver 2024R2
Posted: Tue Mar 25, 2025 1:33 pm
by rhassing
I see the ip address on the configuration page.
On the configure page it's missing it's actual ip address.
I noticed it was in the file "/usr/local/nagioslogserver/var/cluster_hosts"
When I remove it, it reappears after a reboot.
The ip address is found in my firewall log as a destination with a source of the actual ip address on the existing logserver.
This makes sense as the traffic is routed to the default gateway (firewall).
In the apache logging I see the following:
http://192.168.1.93/nagioslogserver/api/system/status
So some process is trying to go to that ip address.
This ip address is definitely never used in my network. I use a different subnet.
Re: Unknown ip address after installing Nagio Logserver 2024R2
Posted: Tue Mar 25, 2025 2:28 pm
by rhassing
I installed the OVA file. Could it be in there?
Re: Unknown ip address after installing Nagio Logserver 2024R2
Posted: Wed Mar 26, 2025 3:03 pm
by jmichaelson
It shouldn't be, but should is a big word. I'm having the team take a look and check it.
Re: Unknown ip address after installing Nagio Logserver 2024R2
Posted: Wed May 07, 2025 8:13 am
by karel.novak@meac.cz
Hi.
I have same issue with OVA file.
If you want to quick fix you can:
1. check ip of virtual and fix it:
#ip addr
#nmtui
2. edit file:
/usr/local/nagioslogserver/opensearch/config/opensearch.yml
3. find and change these lines:
network.publish_host: ["192.168.1.93"]
discovery.seed_hosts: ["192.168.1.93"]
#cluster.initial_cluster_manager_nodes: ["192.168.1.93"]
3. restart opensearch:
#service opensearch restart
4. edit file:
/usr/local/nagioslogserver/var/cluster_hosts
5. restart opensearch and logstash:
#service opensearch restart
#service logstash restart
You can restart whole server as last step.
6. Login to web page and change Home > Admin > Globals : Interface URL
And done.