Code: Select all
define service{
use generic-service
host_name metro-12-dc06
service_description Windows System Event Log
servicegroups Event_Logs
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups win-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_win_nrpe!alias_event_log
}
Code: Select all
; alias_event_log - Alias for alias_event_log. To configure this item add a section called: /settings/external scripts/alias/alias_event_log
alias_event_log = CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -1h AND severity NOT IN ('success', 'informational') AND source != 'SideBySide'" truncate=800 unique descriptions "syntax=%se
doing all the entries was wrong since this is in the nsclient
Just a question will that alias_envent_log give me just errors and warnings only? I do not want informational messages
Thanks