Need help with Nagios XI database
-
marcostecnitia
- Posts: 10
- Joined: Fri Jun 29, 2018 4:53 am
Need help with Nagios XI database
Hi all,
I have a problem with my Nagios XI databases,
In web interface i can see
https://ibb.co/SnZn3td
When I run the command:
https://ibb.co/BPK0VvB
I restored backups for nagios, nagiosql and nagiosxi but problem persist. Any solution?
Regards
I have a problem with my Nagios XI databases,
In web interface i can see
https://ibb.co/SnZn3td
When I run the command:
https://ibb.co/BPK0VvB
I restored backups for nagios, nagiosql and nagiosxi but problem persist. Any solution?
Regards
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help with Nagios XI database
Can you show the output of the following:
or on an older system
Code: Select all
tail -50 /var/log/mariadb/mariadb.logCode: Select all
tail -50 /var/log/mysqld.log-
marcostecnitia
- Posts: 10
- Joined: Fri Jun 29, 2018 4:53 am
Re: Need help with Nagios XI database
thanks for the replyscottwilkerson wrote:Can you show the output of the following:Code: Select all
tail -50 /var/log/mariadb/mariadb.log
This is the output of the requested command.
https://ibb.co/JnPVqTb
regards
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help with Nagios XI database
Lets repair the database following this procedure
https://assets.nagios.com/downloads/nag ... tabase.pdf
Then restart the nagios service
https://assets.nagios.com/downloads/nag ... tabase.pdf
Then restart the nagios service
Code: Select all
systemctl restart nagios-
marcostecnitia
- Posts: 10
- Joined: Fri Jun 29, 2018 4:53 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help with Nagios XI database
Those are normal at the bottom of the repair script.marcostecnitia wrote:I do everything but still the problem
https://ibb.co/7JWGzn5
Thanks for reply.
Regards
What errors are you seeing in the UI?
-
marcostecnitia
- Posts: 10
- Joined: Fri Jun 29, 2018 4:53 am
Re: Need help with Nagios XI database
Hi Scott, output from UIscottwilkerson wrote:
Those are normal at the bottom of the repair script.
What errors are you seeing in the UI?
https://ibb.co/Smfng9g
Regards
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Need help with Nagios XI database
Ok, these are usually caused by cron not running for some reason.
Can you show the output of the following:
Can you show the output of the following:
Code: Select all
chage -l nagios
service crond status
tail -20 /var/log/cron-
marcostecnitia
- Posts: 10
- Joined: Fri Jun 29, 2018 4:53 am
Re: Need help with Nagios XI database
Hi Scottscottwilkerson wrote:Ok, these are usually caused by cron not running for some reason.
Can you show the output of the following:Code: Select all
chage -l nagios service crond status tail -20 /var/log/cron
chage -l nagios
https://ibb.co/RvdtpSC
crond status
https://ibb.co/Vg6dtbj
log cron
https://ibb.co/Bq3q2W1
Regards
-
marcostecnitia
- Posts: 10
- Joined: Fri Jun 29, 2018 4:53 am