errors in nagios XI system status

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ABBsupervision
Posts: 41
Joined: Tue Jun 08, 2021 4:20 am

errors in nagios XI system status

Post by ABBsupervision »

Hi,
Can you help us to check this problem, attached:
-system status screenshot
-System profil dowload
Best regards
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: errors in nagios XI system status

Post by ssax »

What is the output of these commands?

Code: Select all

chage -l nagios
tail /var/log/cron
Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button.

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:

Code: Select all

rm -rf /usr/local/nagiosxi/var/components/profile*​​
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip​ file.​

If the profile script fails, please include the ENTIRE output.
ABBsupervision
Posts: 41
Joined: Tue Jun 08, 2021 4:20 am

Re: errors in nagios XI system status

Post by ABBsupervision »

Hello,

Following your request, you will find below the the output of these commands :

output of chage -l nagios :

Code: Select all

[root@DCPNAGIOSXIN1 ~]# chage -l nagios
Last password change                                    : janv. 04, 2021
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7
And output of tail /var/log/cron :

Code: Select all

[root@DCPNAGIOSXIN1 ~]# tail /var/log/cron
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723903]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/deadpool.php >> /usr/local/nagiosxi/var/deadpool.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723907]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723908]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/feedproc.php >> /usr/local/nagiosxi/var/feedproc.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723912]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/event_handler.php >> /usr/local/nagiosxi/var/event_handler.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723906]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/sysstat.php >> /usr/local/nagiosxi/var/sysstat.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723915]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/cleaner.php >> /usr/local/nagiosxi/var/cleaner.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723910]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/nom.php >> /usr/local/nagiosxi/var/nom.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723911]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/reportengine.php >> /usr/local/nagiosxi/var/reportengine.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723914]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php >> /usr/local/nagiosxi/var/perfdataproc.log 2>&1)
Jun  9 10:04:01 DCPNAGIOSXIN1 CROND[723920]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosxi/cron/eventman.php >> /usr/local/nagiosxi/var/eventman.log 2>&1)
I inform you that we are not able to download the profile via the interface but via the cmd as you mentioned.

Please find attached the requested profile.

Best Regards,
Souhaib
You do not have the required permissions to view the files attached to this post.
Last edited by ABBsupervision on Thu Jun 10, 2021 4:09 am, edited 1 time in total.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: errors in nagios XI system status

Post by vtrac »

Hi,
How are you doing?
I noticed there is no database's log in the profile.zip.

let's open a Nagios XI command prompt and do the followings:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
systemctl restart nagios
systemctl restart httpd
Now, try doing Apply Config:

Code: Select all

rm -f /usr/local/nagios/etc/import/*
Nagios XI GUI > Configure > Core Config Manager > Config File Management
Now, please click "Delete Files"
Now, please click "Write Configs"
Click "Verify Files"
Now, please click "Apply Configuration" at the upper left panel.

Now, please check and see if your system status is OK or not.

Please upload another "profile.zip" if the above steps do not resolve the issue.

Best Regards,
Vinh
ABBsupervision
Posts: 41
Joined: Tue Jun 08, 2021 4:20 am

Re: errors in nagios XI system status

Post by ABBsupervision »

Hello team,

We have applied the recommended steps, and for this moment system status is OK.

we will monitor the server for a while and we will get back to you ASAP.


Best Regards,
Souhaib
You do not have the required permissions to view the files attached to this post.
User avatar
vtrac
Posts: 903
Joined: Tue Oct 27, 2020 1:35 pm

Re: errors in nagios XI system status

Post by vtrac »

Great!! .... Thanks ... :-)
Locked