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
I added stripping the HTML:
in the use section:
use HTML::FormatText;
my @output_lines = split(/ /, $content); # print “CONTENT ERROR: EXPR NOT FOUND (last: $output_lines[$#output_lines]) full output was: $content”; my $text = HTML::FormatText->format_from_string($content); print “CONTENT ERROR: EXPR NOT FOUND: “; print “$text “; $status = EXIT_CRITICAL;
With this change I found it more useful output for my client.