Page 2 of 3

Re: Ghost unhandled problems reported

Posted: Wed Mar 24, 2021 2:58 pm
by mrjsokol
Good evening,

Yes the installation was working prior to a security breach that was made possible by holes in nagios appliance provided. We had to shutdown the installation, wipe the box and start with a new VM and do a new import.

Once we re-imported our data, we were having many issues with additional failures of pent test and other issues with functionality of the product. We continued on the ticket until all security related items were handled but still have some residual issues like the ones you see in this forum and log.

I can not speak for the timeout issues as I dont handle that part of the management.

To explain the screenshot, as you can see in G1 there are 32 down clients reported in the widget(which is accurate) but once inside the hyperlink when first clicking on service status page, it only displays what you see in G2 as the listed issues.

A workaround we found was: If we were first on the host status page and then clicked on the hyperlink on the widget the information would display correctly and show all down hosts.

Re: Ghost unhandled problems reported

Posted: Wed Mar 24, 2021 2:59 pm
by mrjsokol
In addition, would it be prudent to go ahead and clear the cache in Nagios to see if this resolves the issues we are receiving now?

Re: Ghost unhandled problems reported

Posted: Wed Mar 24, 2021 3:35 pm
by vtrac
Hi,
Now, I think I understand that you wiped out your old box and started out clean with a new VM.

Let me ask you these questions.
What version was your old Nagios XI?
What was the old operating systems?

When you created a new VM on a new OS, here are the steps:
1). Create a new VM with new OS
2). Install the SAME version of Nagios XI you have on your OLD machine onto the NEW machine (VM).
3). Restore from the OLD backup onto the NEW machine.
4). Now, you are ready to upgrade your NEW machine to the latest Nagios XI.

Now, my final question:
Did you follow the same steps as I stated above?

As you can see, the very important step (above) is to install the SAME nagios XI version onto your NEW machine (VM).
This is so that you can RESTORE from your backup .... which must be SAME Nagios XI version.


Regards,
Vinh

Re: Ghost unhandled problems reported

Posted: Thu Mar 25, 2021 7:48 am
by mrjsokol
Good evening Vtrac,

We had a nagios mod do a remote session with us and do the restore process. Do you think that something could have not been properly done with the restore?

Re: Ghost unhandled problems reported

Posted: Thu Mar 25, 2021 2:32 pm
by vtrac
Hi,
Please answer my questions from my last replied.
I am trying to understand what happens here.
I am lost as to why it worked before the shutdown, then you created a NEW machine (VM) and did a restore and now NOT working at all.

Did XI works on the day you guys did the restore on the NEW machine (VM)?

What version was your old Nagios XI?
What was the old operating systems?

Did you guys follows these steps (below) in order?

When you created a new VM on a new OS, here are the steps:
1). Create a new VM with new OS
2). Install the SAME version of Nagios XI you have on your OLD machine onto the NEW machine (VM).
3). Restore from the OLD backup onto the NEW machine.
4). Now, you are ready to upgrade your NEW machine to the latest Nagios XI.

If you guys did not follows the step above when bringing up your NEW machine (VM), then I would suggest that you start over as the steps I stated above.


Regards,
Vinh

Re: Ghost unhandled problems reported

Posted: Fri Mar 26, 2021 11:57 am
by mrjsokol
Good afternoon,

Did XI works on the day you guys did the restore on the NEW machine (VM)?
Yes but all the features were not tested, just checked for the data mainly

What version was your old Nagios XI?
5.7.4
What was the old operating systems?
centos 7 appliance
Did you guys follows these steps (below) in order?
Yes

When you created a new VM on a new OS, here are the steps:
1). Create a new VM with new OS
2). Install the SAME version of Nagios XI you have on your OLD machine onto the NEW machine (VM).
3). Restore from the OLD backup onto the NEW machine.
4). Now, you are ready to upgrade your NEW machine to the latest Nagios XI.

Re: Ghost unhandled problems reported

Posted: Mon Mar 29, 2021 10:03 am
by vtrac
In addition, would it be prudent to go ahead and clear the cache in Nagios to see if this resolves the issues we are receiving now?
Yes, please clear the cache and see what happens.

Please let me know what issue you are having now, screenshot would helps.

Regards,
Vinh

Re: Ghost unhandled problems reported

Posted: Mon Mar 29, 2021 3:24 pm
by mrjsokol
Good evening,

Could you provide the instructions or help article for clearing the cache to ensure I am clearing it properly.

Thank you and have a great evening,

Joseph

Re: Ghost unhandled problems reported

Posted: Mon Mar 29, 2021 4:35 pm
by vtrac
Hi,
Just talked to my teammate here and he said to run the below commands on your XI prompt:

Code: Select all

mysql -h 127.0.0.1 -uroot -pnagiosxi nagios -e "update nagios_dbversion set version = '2.1.3';"
Now, do Apply Configuration:
Nagios XI GUI > Core Config Manager > Apply Configuration > Click "Apply Configuration" button.

Now, restart DB and Nagios:

Code: Select all

systemctl restart mariadb

systemctl restart nagios
If they are they need to do this, it's a 5.8.2 bug, if customers on running XI 5.8.2 and have downgraded NDO
it has issues showing hosts/services and they need to run that command to trick it into being fixed

Regards,
Vinh

Re: Ghost unhandled problems reported

Posted: Wed Mar 31, 2021 7:20 am
by mrjsokol
Ran as instructed and still getting list not generating properly for widget unless on the correct page. I have sent you the latest profile.