Hello,
I'm running V5.5.8, 64-bit, VM. CentOS 7.
We did an MS update on a large number of servers this morning. The servers have time periods that mask out a 40 minute time period.
Many servers had their updates and there were no unexpected alert.
A few servers had problems. I'll use an example that had a time period for update at 3:00 AM to 3:40.
I verified the server date/time is correct.
A critical state was recorded, a critical alert was sent at 3:20.
A normal state existed later, but the state change does not appear in the state history, and no recovery alert was sent.
Critical alert sent during not-in-service time
-
Bitflogger
- Posts: 226
- Joined: Mon Oct 16, 2017 9:24 am
Critical alert sent during not-in-service time
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Critical alert sent during not-in-service time
Can you verify the timeperiod for this service in the CCM and send the config definitions for that timeperiod?
-
Bitflogger
- Posts: 226
- Joined: Mon Oct 16, 2017 9:24 am
Re: Critical alert sent during not-in-service time
Hello,
It is:
[ead@winston hosts]$ cat brother.doit.wisc.edu.cfg
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.6.11
# Date: 2018-05-09 10:31:18
# Version: Nagios 3.x config file
#
# --- 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 host {
host_name brother.doit.wisc.edu
use windows-server
address brother.doit.wisc.edu
contact_groups se-windows
notification_period win_wed_0300
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
[ead@winston hosts]$
define timeperiod {
timeperiod_name win_wed_0300
alias Automatic Updates - Wednesday - 03:00
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-02:55,03:40-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
It is:
[ead@winston hosts]$ cat brother.doit.wisc.edu.cfg
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.6.11
# Date: 2018-05-09 10:31:18
# Version: Nagios 3.x config file
#
# --- 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 host {
host_name brother.doit.wisc.edu
use windows-server
address brother.doit.wisc.edu
contact_groups se-windows
notification_period win_wed_0300
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
[ead@winston hosts]$
define timeperiod {
timeperiod_name win_wed_0300
alias Automatic Updates - Wednesday - 03:00
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-02:55,03:40-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Critical alert sent during not-in-service time
Is this same timeperiod applied to the service?
-
Bitflogger
- Posts: 226
- Joined: Mon Oct 16, 2017 9:24 am
Re: Critical alert sent during not-in-service time
Hello,
The service was 24x7.
I thought the host notification period overruled the service.
Even if that is not true, the normal state was missing from the service state history, after the critical state.
Earl
The service was 24x7.
I thought the host notification period overruled the service.
Even if that is not true, the normal state was missing from the service state history, after the critical state.
Earl
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Critical alert sent during not-in-service time
No, services are independentBitflogger wrote:I thought the host notification period overruled the service.
For the State history report set the State Type to "Both"Bitflogger wrote:Even if that is not true, the normal state was missing from the service state history, after the critical state.
-
Bitflogger
- Posts: 226
- Joined: Mon Oct 16, 2017 9:24 am
Re: Critical alert sent during not-in-service time
Thanks Scott!
Please lock the case.
Earl
Please lock the case.
Earl
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Critical alert sent during not-in-service time
Great LockingBitflogger wrote:Thanks Scott!
Please lock the case.
Earl