Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
This plugin needs small patch: — check_file_content.pl.orig 2015-09-15 13:44:43.941945012 +0200 +++ check_file_content.pl 2015-09-15 13:42:31.572945415 +0200 @@ -56,7 +56,7 @@ my $o_user= undef; # user my $o_password= undef; # password my $o_domain= undef; # domain -my @o_search= undef; # word or chain we search +my @o_search= (); # word or chain we search my @o_exception= undef; # exception word or chain we not search my $o_check_type= undef; # check type my $o_version= undef; # print version @@ -288,7 +288,7 @@
# Should match foreach (@o_search) { – if ($line =~ m/@o_search/) { + if ($line =~ m/$_/) { if ($exception==1) { if ($line =~ m/@o_exception/) { $found=0;