Page 1 of 1

Localhost on new server shows same duration as "old" server.

Posted: Thu Mar 22, 2018 9:56 am
by PhilG
Hello:
My environment:
A). "Production" server is RHEL 6.x, physical box, Nagios XI updated to 5.4.13
B). "New" server is OEL 7.x, VM, running Nagios XI 5.4.13.

I followed https://assets.nagios.com/downloads/nag ... ios-XI.pdf
and was successful with "migrating" A). to B).
A). is still in Production until B). is fully checked over, confirmed, and verified to be our new Production monitoring server.

What I noted:
1). I had to disable all the Hosts and Services in B). from squawking since the Hosts' clients are not configured to communicate with B). yet. No big deal.
2). I noted that B).'s admin password was now A).'s when I tried to login. No big deal.

My question: It was found in the Service Status that B).'s localhost duration is the same duration as A).'s localhost. I just setup B). only a month or so ago so it hasn't been up for over 1000 days. Can this be corrected?

Re: Localhost on new server shows same duration as "old" ser

Posted: Thu Mar 22, 2018 12:13 pm
by lmiltchev
The duration is the same as you migrated the data from the old server to the new one. You could reset the counter just by sending a DOWN passive check to localhost:

Host Detail > localhost > Advanced > Submit passive check result > Check Result = DOWN, enter something in the "Check Output" text-box, and click "Submit".

Re: Localhost on new server shows same duration as "old" ser

Posted: Thu Mar 22, 2018 1:51 pm
by PhilG
Thank you - that took care of it.
You may close this post.

Re: Localhost on new server shows same duration as "old" ser

Posted: Thu Mar 22, 2018 2:33 pm
by lmiltchev
I am glad I could help! :)