We've moved to a new support system!

The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.

Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users

After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.

Go to the Answer Hub

Nagios Core Notification Periods

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Nagios Core Notification Periods

Postby YUDI » Wed Mar 30, 2022 10:32 pm

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
YUDI
 
Posts: 3
Joined: Wed Mar 30, 2022 10:00 pm

Return to Community Support

Who is online

Users browsing this forum: Google [Bot] and 22 guests