chrck_nrpe eventlog
Posted: Mon Mar 05, 2018 7:22 am
Hi guys,
im trying to check the event log using NRPE and it's working good.
but, i dont know how i can run 2 filters on 1 check command.
this is the command im using:
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_eventlog -a file="$ARG1$" "warning=count = $ARG2$" "critical=count = $ARG3$" "filter=source like '$ARG4$' AND id = '$ARG5$'" unique truncate-message=300 'top-syntax=The status is: ${status}: with ${count} entries matching the ID the last 24h Log message:"${list}"'
i would like to filter the error level besides the Source.
Appreciate your help.
Amit
im trying to check the event log using NRPE and it's working good.
but, i dont know how i can run 2 filters on 1 check command.
this is the command im using:
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_eventlog -a file="$ARG1$" "warning=count = $ARG2$" "critical=count = $ARG3$" "filter=source like '$ARG4$' AND id = '$ARG5$'" unique truncate-message=300 'top-syntax=The status is: ${status}: with ${count} entries matching the ID the last 24h Log message:"${list}"'
i would like to filter the error level besides the Source.
Appreciate your help.
Amit