Page 1 of 1

Nagios XI not working

Posted: Mon Dec 13, 2021 6:01 am
by ITNO-SGAL
Hello,

I have Nagios XI 5.8.6 installed.

From today at 9:30 am i cant see anymore nothing on dashboard, or service status.

I only can see nodes at notifications. It looks like something is going wrong with the graphical interface.

Can you suggest me something?

Re: Nagios XI not working

Posted: Mon Dec 13, 2021 6:07 pm
by pbroste
Hello @ITNO-SGAL

Thanks for reaching out, and want to start off by taking a look at running services.

Code: Select all

systemctl status nagios

Code: Select all

systemctl status httpd   #or apache2

Code: Select all

systemctl status mysqld
You can restart the services by substituting 'status' with 'restart' *(example: systemctl restart nagios)

Please send over the System Profile if you find that the issue persists:

Code: Select all

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

Thanks,
Perry

Re: Nagios XI not working

Posted: Tue Dec 14, 2021 6:05 am
by ITNO-SGAL
Hello again,

All the 3 services are running, i made a restart of them and it is the same thing.
#systemctl status nagios
● nagios.service - Nagios Core 4.4.6
Loaded: loaded (/usr/lib/systemd/system/nagios.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2021-12-13 16:38:08 CET; 19h ago
# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/httpd.service.d
└─php-fpm.conf
Active: active (running) since Mon 2021-12-13 16:36:29 CET; 19h ago
# systemctl status mysqld
● mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2021-12-13 16:36:31 CET; 19h ago

Then i have run these commands
rm -rf /usr/local/nagiosxi/var/components/profile.zip
and
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT

The profile.zip is now generated, i am sending you in private message.

Thnx!

Re: Nagios XI not working

Posted: Tue Dec 14, 2021 11:15 am
by pbroste
Hello @ITNO-SGAL

Thanks for sending over the System Profile, after review we see that on Sun Nov 21 around 08:25:46 things are unable to connect or resolve the host (localhost, hostname). Two examples:
httpd: Could not reliably determine the server's fully qualified domain name....
ndo_handle_host_status(ndo-handlers.c:1036): Unable to bind parameters
Following to check:
  • System /var/log/.. Logs
  • /etc/hosts file
  • Apache configuration updates
  • proxy config's
  • SELinux Policy
  • Firewall Rules
  • IPTABLES Rules
  • httpd Service Status restart
Please let us know how things look and if you need further assistance.

Thanks,
Perry