System Status Degraded

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Toby
Posts: 7
Joined: Tue Apr 04, 2017 8:05 am

System Status Degraded

Post by Toby »

Hi there!

I got some problem with my nagiosxi installation.
Monitoring Engine
Performance Grapher
Database Backend

Is all offline according to webgui.

Beware, i'm not a Linux guy ;)
I tried:
starting services through webgui
Reboot machine.
run repair_database.sh

Above did not help at all.
Strange thing is that Everything seems to work fine.
If i pull a availability report on a servicegroup with performancedata for this week, Everything looks great.

Do yoy have any suggestions?

Where do i find error/debug-logs for Nagios?

Regards
Toby
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: System Status Degraded

Post by lmiltchev »

Have you made any changes to the system prior to seeing the "System Status Degraded" message? Is this a new install of Nagios XI or an upgrade? What version?

Open a ssh (putty) session to your Nagios XI server, run the following commands and show the output in code wraps:

Code: Select all

df -h
service nagios stop
service ndo2db restart
service nagios start
service nagios status
service ndo2db status
sestatus
chage -l nagios
tail -50 /var/log/httpd/error_log
tail -50 /var/log/mysqld.log
Note: If you are running mariadb, change the last command to:

Code: Select all

tail -50 /var/log/mariadb/mariadb.log
Be sure to check out our Knowledgebase for helpful articles and solutions!
Toby
Posts: 7
Joined: Tue Apr 04, 2017 8:05 am

Re: System Status Degraded

Post by Toby »

Hi!

I have actually solved it, or atleast i know the reason to my problems.
Someone in the Linux dep. added my server to puppet, and forced some default policies(classes) on it.
That ruined sudoers, so that scripts running to check localhost didn't work.

And i now managed to edit my sudoers file, and it works like a charm.

(And sry for posting same issue in 2 diff. sections)
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: System Status Degraded

Post by lmiltchev »

I am glad your issue has been resolved! :)

I am locking this thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked