I need help with a monitor to check a event ID number for text and alert on a key word. If you have and links to guides/commands I don't mind learning. i am a noob and trying to figure it out but have had no luck over the last week..
check_nrpe -H $HOSTADDRESS$ -p 22 -c CheckEventLog -a file=XXXX debug=true MaxWarn=1 MaxCrit=1 "filter=generated gt -5m AND id IN (NUMBER) AND message LIKE 'TEXT TO CHECK FOR'" truncate=800 unique descriptions "syntax=%severity%: (%count%)"
I don't know what I am doing wrong. Any help would be great.
Thanks