Hi,
Can you help us to check this problem, attached:
-system status screenshot
-System profil dowload
Best regards
errors in nagios xi system status
-
- Posts: 41
- Joined: Tue Jun 08, 2021 4:20 am
errors in nagios xi system status
You do not have the required permissions to view the files attached to this post.
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: errors in nagios xi system status
What is the output of these commands?
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:
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip file.
If the profile script fails, please include the ENTIRE output.
Code: Select all
chage -l nagios
tail /var/log/cron
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
If the profile script fails, please include the ENTIRE output.
-
- Posts: 41
- Joined: Tue Jun 08, 2021 4:20 am
Re: errors in nagios xi system status
Hello,
Following your request, you will find below the the output of these commands :
output of chage -l nagios :
And output of tail /var/log/cron :
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
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
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)
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.
-
- Posts: 903
- Joined: Tue Oct 27, 2020 1:35 pm
Re: errors in nagios xi system status
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:
Now, try doing Apply Config:
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
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
Code: Select all
rm -f /usr/local/nagios/etc/import/*
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
-
- Posts: 41
- Joined: Tue Jun 08, 2021 4:20 am
Re: errors in nagios xi system status
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
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.
-
- Posts: 903
- Joined: Tue Oct 27, 2020 1:35 pm
Re: errors in nagios xi system status
Great!! .... Thanks ... 
