Nagios Core Notification Periods

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
YUDI
Posts: 3
Joined: Wed Mar 30, 2022 10:00 pm

Nagios Core Notification Periods

Post by YUDI »

Hi,

I use Nagios Core to monitor servers and PCs send notification to email.
I want notification from PCs send to email only at working ours and notification from server send out 24x5

My PC config like this :

Code: Select all

define host {
 use                   windows-server
 host_name             YUDI-PC
 alias                 YUDI
 address               192.168.0.148
 hostgroups  		   div-Settlement
 max_check_attempts    5
 check_period          workhours
 notification_interval 60
 notification_period   workhours
}

###############################################################################
#
# SERVICE DEFINITIONS
#
###############################################################################

#########
### 1 ###
#########
define service{
        use            		generic-service
        host_name       	YUDI-PC
        service_description     CPU LOAD
        check_command           check_nt!CPULOAD! -l 5,80,90 -s mypasswd 
}
But I still receive the PC notification email from all day long.
Help me how to solve my problem please.
Thank you
Locked