[Nagiosplug-help] sentence matching in check_file

Venkatesh venki_lin at fastmail.us
Tue Jul 11 11:44:39 CEST 2006


hello all,

i want to match a sentence from a file using check_file 

the check_file syntax checks only for patterns using -r, -e or -i , 

i want to check a sentence for error like example "The connection
attempt failed because: No route to host" in a log file,
how can i do this, do i need to modify the code, or ????

thanks in advance for the help

regards
venkatesh
-- 
  Venkatesh
  venki_lin at fastmail.us

-- 
http://www.fastmail.fm - A fast, anti-spam email service.





More information about the Help mailing list