Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with DST and passive checks #1003

Open
MrPippin66 opened this issue Nov 4, 2024 · 1 comment
Open

Issue with DST and passive checks #1003

MrPippin66 opened this issue Nov 4, 2024 · 1 comment
Labels

Comments

@MrPippin66
Copy link

MrPippin66 commented Nov 4, 2024

Nagios Core = 4.4.11

We had a rash of passive check alerts this weekend after DST kicked in.

We have passive checks configured to alert if checks not received in 1 hour.

Passive checks are received every 5 minutes, and logs confirm passive checks have been received up to this point in that interval.

Example service check definition:

define service {

    use                     local-service           ; Name of service template to use
    hostgroup_name             ftw-vmware-datacenter
    servicegroups vmware_base_os
    service_description     DATASTORE@SNW-INTEL Admin-IGS
    check_command check_dummy!1!'Passive check results not receieved within threshold. Queue incident to Nagios'
    check_freshness                 1
    freshness_threshold             3600
    active_checks_enabled           0
    passive_checks_enabled          1
    max_check_attempts              1                     ; Check each Windows host 2 times (max)
    passive_checks_enabled 1

}

Below is a warning example from log:

Sun Nov 3 01:51:11 CST 2024 Warning: The results of service 'DATASTORE@SNW-INTEL Admin-IGS' on host 'FORTWORTH-DC' are stale by 0d 0h 0m 37s (threshold=0d 1h 0m 0s). I'm forcing an immediate check of the service.

Note the stale time is only 37s.

@aaronagios
Copy link
Contributor

Thanks for the report. There may be some DST issue, #945. We'll take a look.

@aaronagios aaronagios added the Bug label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants