Search found 20 matches

by solarisfire
Mon Feb 21, 2022 6:26 am
Forum: Nagios XI
Topic: Nagios iLO/iDrac licencing
Replies: 1
Views: 2049

Nagios iLO/iDrac licencing

Hi guys, Just have a small licensing query. Say we have 100 hosts, and to fully monitor them we need to poll a Dell iDrac/ HP iLO interface to check for hardware faults, as well as NRPE/NCPA interface to check for OS and application faults. We're only polling one piece of hardware, but these are at ...
by solarisfire
Tue Jan 25, 2022 6:34 am
Forum: Nagios XI
Topic: Nagios checks stuck - Not running hosts checks.
Replies: 2
Views: 291

Re: Nagios checks stuck - Not running hosts checks.

Turns out the hosts didn't have a check command set after being imported...

I did a bulk update of check commands on all of the hosts and set it to "check-host-alive" and things are working now.

Surprising that a host can exist with no check command...
by solarisfire
Tue Jan 25, 2022 5:24 am
Forum: Nagios XI
Topic: Nagios checks stuck - Not running hosts checks.
Replies: 2
Views: 291

Nagios checks stuck - Not running hosts checks.

A large number of host checks are stuck in a pending state... nagiosxi-stuck-1.PNG The host looks to be configured correctly, but the last check is shown as 1970?? And the next check is scheduled to run correctly, but it never runs. Forcing an immediate check returns that the command has been submit...
by solarisfire
Tue Jan 25, 2022 5:21 am
Forum: Nagios XI
Topic: Stuck on - "Waiting for configuration verification"
Replies: 20
Views: 4144

Re: Stuck on - "Waiting for configuration verification"

If you see my previous message, setting the correct home directory for the Nagios user fixed all of these issues.

The cron jobs seem to be core to how nagiosxi works, and things are very broken if nagiosxi cron is unable to run.
by solarisfire
Mon Jan 24, 2022 12:01 pm
Forum: Nagios XI
Topic: Stuck on - "Waiting for configuration verification"
Replies: 20
Views: 4144

Re: Stuck on - "Waiting for configuration verification"

Okay, I've finally managed to work out the answer to my own question... The commands in the nagiosxi_commands table, are processed by a cron job that runs every minute... * * * * * nagios /usr/bin/php -q /usr/local/nagiosxi/cron/cmdsubsys.php >> /usr/local/nagiosxi/var/cmdsubsys.log 2>&1 That co...
by solarisfire
Mon Jan 24, 2022 9:13 am
Forum: Nagios XI
Topic: Stuck on - "Waiting for configuration verification"
Replies: 20
Views: 4144

Re: Stuck on - "Waiting for configuration verification"

It's not being processed successfully though... cmdsubsys.log just says: cat /usr/local/nagiosxi/var/cmdsubsys.log ............................................................. PROCESSED 0 COMMANDS Could not resolve host: api.nagios.com; Name or service not known .......................................
by solarisfire
Fri Jan 21, 2022 11:31 am
Forum: Nagios XI
Topic: Stuck on - "Waiting for configuration verification"
Replies: 20
Views: 4144

Re: Stuck on - "Waiting for configuration verification"

This server is on an airgapped offline network.

It shouldn't be able to resolve the DNS for api.nagios.com, nor should it ever be able contact that address...

I've sent the output of the curl command in a PM.
by solarisfire
Thu Jan 20, 2022 5:49 pm
Forum: Nagios XI
Topic: Stuck on - "Waiting for configuration verification"
Replies: 20
Views: 4144

Re: Stuck on - "Waiting for configuration verification"

profile.zip sent via PM.

Had to build on the cli. WebGUI returned:

PROFILE BUILD FAILED
Array
(
)
CODE: 1
by solarisfire
Thu Jan 20, 2022 10:19 am
Forum: Nagios XI
Topic: Stuck on - "Waiting for configuration verification"
Replies: 20
Views: 4144

Re: Stuck on - "Waiting for configuration verification"

So I've removed everything from the xi_commands table in the SQL DB on the off chance that something was stuck in there. I tried submitting a new host check command, and the entry pops up in the DB. MariaDB [nagiosxi]> select * from xi_commands \G; *************************** 1. row ****************...
by solarisfire
Wed Jan 19, 2022 3:14 pm
Forum: Nagios XI
Topic: Stuck on - "Waiting for configuration verification"
Replies: 20
Views: 4144

Re: Stuck on - "Waiting for configuration verification"

The SSL error log contain a lot of errors... But not sure how many pertain to this issue... cat /var/log/httpd/ssl_error_log | awk -F] '{print $5}' | awk -F, '{print $1}' | sort | uniq -c 1 AH01617: user nagiosadmin: authentication failure for "/nagios/": Password Mismatch 3 Could not reso...