Hi,
We are using passive checks.
With Freshness Threshold of 420sec (7min)
Please see the attached image.
last check shows correctly but the next check is showing a past time.
Next Check: showing a past date
Next Check: showing a past date
You do not have the required permissions to view the files attached to this post.
Re: Next Check: showing a past date
Go to the CCM > Services, click on the "View config" next to your service, copy/paste the config to the forum. We will try to replicate this issue in-house. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Next Check: showing a past date
From the Service
From the Template it uses
Code: Select all
###############################################################################
#
# Services configuration file
#
# Created by: Nagios CCM 2.7.4
# Date: 2019-01-29 12:47:11
# Version: Nagios Core 4.x
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define service {
host_name 192.168.207.58
service_description RFB-AccountServices_Login
use RFB-AccountServices_Login
display_name RFB-AccountServices_Login
register 1
}
###############################################################################
#
# Services configuration file
#
# END OF FILE
#
###############################################################################Code: Select all
define service {
name RFB-AccountServices_Login
service_description RFB-AccountServices_Login
display_name RFB-AccountServices_Login
check_command check_dummy!3!"No results from RFB-AccountServices_Login"!!!!!!
initial_state w
max_check_attempts 1
check_interval 5
retry_interval 1
active_checks_enabled 0
passive_checks_enabled 1
check_period 24x7
check_freshness 1
freshness_threshold 420
flap_detection_enabled 0
notification_interval 5
notification_period 24x7
notification_options w,c,
notifications_enabled 1
contacts admin
register 0
}
Re: Next Check: showing a past date
It seems like this is a display issue only. The "next check" ("next scheduled check") is not used with passive checks as these are not initiated by nagios. When you have a passive check, in Nagios Core, you would see:
FYI, I don't think this (display) inconsistency would cause any issues on your system. Let us know if you have any further questions.
In XI, you should see:Next Scheduled Check: N/A
however, if you had freshness enabled, you may see an actual timestamp. It would be in the past as when the freshness check is run, the "last check" timestamp is used for some reason. I believe Nagios XI should always show "Not scheduled" as far as the next check goes for passive checks. Our developers said that they would be changing this to match Nagios Core.Next Check: Not scheduled
FYI, I don't think this (display) inconsistency would cause any issues on your system. Let us know if you have any further questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!