NagiosXi status in red - but still working - mostly

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sherlocknag
Posts: 1
Joined: Mon Jan 25, 2021 10:53 am

NagiosXi status in red - but still working - mostly

Post by sherlocknag »

Have a situation where we cannot apply changes through the Gui. Can make and save them, but not apply them.
The status indicators for:
Monitoring Engine
Performance grapher
Database Backend

Are all red.

We're running 5.6.5, an install from source. on Redhat 7.9. Php 5.4.16
From an alerting and visual standpoiny, everything else seems to be working. Alerts are going out, the status page is up to date, and usage graphs are as well.
Tried to do a profile build
but got:
profile build failed
Array
(
)
Code:1

I can "view" the system profile from System Config-System profile. But if I attempt to download it. I get the error.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: NagiosXi status in red - but still working - mostly

Post by vtrac »

Hi,
How are you doing?
You might have a crash in your database.

Please run the below commands

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh

rm -f /usr/local/nagios/etc/import/*
Now, please open the Nagios XI GUI > Configure > Core Config Manager > Config File Management
Please click "Delete Files", do ot worry ... we will re-write them
Please click "Write Configs"
Please click "Verify Files"
Now, please click "Apply Configuration" on upper left panel > "Apply Configuration"

If you are still experience issue with "Apply Configuration", please post the "profile.zip".

If you're unable to generate the the profile through the web interface,
please try generating it from the command line by running these commands as root:
rm -rf /usr/local/nagiosxi/var/components/profile*​​
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
or older system:
/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh SUPPORT


Best Regards,
Vinh