Default localhost check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Default localhost check

Post by TBT »

Can you please outline how to re-add the localhost check present on a fresh install?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Default localhost check

Post by gsmith »

Hi

I created a tarball from a fresh install of Nagios XI.

Place the attached file in /

cp -rp /usr/local/nagios/etc /usr/local/nagios/etc.orig
rm -rf /usr/local/nagios/etc/*
cd /
tar xzvf fresh_config.tar.gz
systemctl restart nagios


Verify that Nagios XI is working and has the default checks.

If everything looks ok then:
rm -rf /usr/local/nagios/etc.orig
rm -f /fresh_config.tar.gz


Thanks
You do not have the required permissions to view the files attached to this post.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Default localhost check

Post by TBT »

No, that would blow-away a production system.

I was looking for clarification on how that localhost check was initially created. I've gone ahead and re-added it by manually comparing each service.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Default localhost check

Post by gsmith »

Hi,

My bad - I should have specified to extract the tarball on your Test system. Sounds like that's
what you ended up doing.

Glad you got it re-configured. Have a great weekend!.
Locked