Check_Eventlog
Posted: Wed Oct 12, 2016 1:02 am
Im trying to create a service check to trigger when there is an event log with critical level for application, setup, and system. Could someone please advice whats wrong with my command
$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_eventlog -a "crit=level in ('critical')" $ARG1$ "scan-range=$ARG2$" "unique-index=%(id)" "detail-syntax=%(source) %(level) ID %(id)"
$ARG1$: "file=Application" "file=Setup" "file=System"
$ARG2$: -1h
$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c check_eventlog -a "crit=level in ('critical')" $ARG1$ "scan-range=$ARG2$" "unique-index=%(id)" "detail-syntax=%(source) %(level) ID %(id)"
$ARG1$: "file=Application" "file=Setup" "file=System"
$ARG2$: -1h