Force Check not working for host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
ksafa
Posts: 86
Joined: Wed Jan 15, 2014 3:05 pm

Force Check not working for host

Post by ksafa »

We have a host where "Force an immediate check" is not working. The host is up and pingable and no errors are thrown for the force check. Service checks are working fine, however, when attempting to force an immediate check on the host the "Last Check:" date/timestamp does not get updated and new values are not displayed for rta, lost, etc. Issue is only with this particular host. Any ideas on what else I can check?

Thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Force Check not working for host

Post by avandemore »

Please provide the host name in question and the file /usr/local/nagios/var/status.dat
Previous Nagios employee
ksafa
Posts: 86
Joined: Wed Jan 15, 2014 3:05 pm

Re: Force Check not working for host

Post by ksafa »

Sent you a PM.

Thanks
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Force Check not working for host

Post by avandemore »

That seems to be pretty normal. Can you attempt a Force Check again, then generate a fresh profile and PM that to me as well?

XI > Admin > System Profile > Download Profile

Please include the zip file in your response.
Previous Nagios employee
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Force Check not working for host

Post by avandemore »

You should consider upgrading Nagios XI. You are missing important security and functionality updates.

Does it work if you use the Nagios Core interface? http://yourip/nagios/

What is the full output from the following?

Code: Select all

# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Previous Nagios employee
ksafa
Posts: 86
Joined: Wed Jan 15, 2014 3:05 pm

Re: Force Check not working for host

Post by ksafa »

PM'd command output. The check does not work from core interface either.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Force Check not working for host

Post by avandemore »

I didn't receive a PM on that.
Previous Nagios employee
ksafa
Posts: 86
Joined: Wed Jan 15, 2014 3:05 pm

Re: Force Check not working for host

Post by ksafa »

Message is sitting in my outbox. ?!?
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Force Check not working for host

Post by dwhitfield »

You could just past the output in a code block and scrub sensitive info. Please put the output in a code block. The "Code" button is the fifth from the left on the post input screen (between Quote and List).

Are you able to upgrade? Here are instructions, unless you are using the offline: https://assets.nagios.com/downloads/nag ... nstall.pdf
ksafa
Posts: 86
Joined: Wed Jan 15, 2014 3:05 pm

Re: Force Check not working for host

Post by ksafa »

Code: Select all

Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL

Website: https://www.nagios.org
Reading configuration data...
   Read main config file okay...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
        Checked 2041 services.
        Checked 116 hosts.
        Checked 12 host groups.
        Checked 5 service groups.
        Checked 26 contacts.
        Checked 2 contact groups.
        Checked 138 commands.
        Checked 23 time periods.
        Checked 0 host escalations.
        Checked 0 service escalations.
Checking for circular paths...
        Checked 116 hosts
        Checked 0 service dependencies
        Checked 0 host dependencies
        Checked 23 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check
Locked