monitoring engine failing after upgrading to 5.8.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
localit
Posts: 40
Joined: Thu Oct 29, 2020 12:50 pm

monitoring engine failing after upgrading to 5.8.2

Post by localit »

Our Nagios monitoring engine is failing after i did the update.

we have tried restarting the engine, we also tried to restart the server.



EDIT: I have rolled backed to 5.7.5 so my system is working. i did download the system profile before doing so. Can someone look at it and tell me what went wrong. I would like to know reasoning before i attempt to update to 5.8 again.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: monitoring engine failing after upgrading to 5.8.2

Post by vtrac »

Hi,
Could you please upload the profile.zip of the upgraded 5.8.2 system?

Regards,
Vinh
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: monitoring engine failing after upgrading to 5.8.2

Post by vtrac »

Hi,
Looking at the "profile", I noticed this error which will prevent Nagios from starting.

Code: Select all

Error: Template 'tpl_G_MCAT_Apache_Service' specified in service definition could not be not found (config file '/usr/local/nagios/etc/services/UN25C01MS01.tiretech2.contiwan.com.cfg', starting on line 16)
   Error processing object config files!
Please use CCM (Core Config Manager) to fix the issue, do not edit the file directly as it will be over written by the database.

Please run the below command, which will displays the ERROR and try to fix the issue using CCM:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
You also has database crashed, but that can be fix with the repair_database script.

Regards,
Vinh
localit
Posts: 40
Joined: Thu Oct 29, 2020 12:50 pm

Re: monitoring engine failing after upgrading to 5.8.2

Post by localit »

still having issues, i deleted that service and template before re attempting to upgrade. Upgraded successful no errors. did a database repair after update. Still having issues with monitoring engine.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: monitoring engine failing after upgrading to 5.8.2

Post by vtrac »

Can you please share what issue?
Screenshot would be nice.

Regards,
Vinh
localit
Posts: 40
Joined: Thu Oct 29, 2020 12:50 pm

Re: monitoring engine failing after upgrading to 5.8.2

Post by localit »

I rolled back a snap shot and got it working.(still not updated to 5.8.2) my next issue i am having is the Guest cant see a dash board no longer. it is appearing like this ?

I am trying to make sure my system is working correctly before trying to attempt to upgrade to 5.8.2. i have been experiencing a lot of issues.
nagios dashboard.JPG
You do not have the required permissions to view the files attached to this post.
localit
Posts: 40
Joined: Thu Oct 29, 2020 12:50 pm

Re: monitoring engine failing after upgrading to 5.8.2

Post by localit »

i fixed the dashboard issue, now i need someone to review my current system profile before trying to update to 5.8.2. it seems to be working perfect now.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: monitoring engine failing after upgrading to 5.8.2

Post by vtrac »

Hi,
Since your system is working now, please shut it down and take a GOOD snapshot of that VM.
It only take a minute, but you have something to fall back to.

I do not want to take a snapshot when my VM is running, that way I know for sure I have a GOOD backup.

As to the "profile.zip", please upload that and I will take a look.


Regards,
Vinh
Locked