Re: check_http problem with PDF documents

Andreas Ericsson <[email protected]>
Newsgroups gmane.network.nagios.plugins
Message-ID <[email protected]>
On 09/13/2012 11:42 AM, Ham, Gerrit van IA60 wrote:
> Hello list members,
> 
> We have been using the Nagios plugin 'check_http' for some years now
> without any problems but yesterday I found something strange with one
> of our checks involving a page that contains a PDF document.
> Sometimes this check reports an error and at other times the result
> is OK. The page is static and some content is delivered in all cases
> but the text I'm looking for with the '-s' option is not always
> found. So I did some tests, including the '-v' option and saving the
> output to a file. If I run this check 4 times I get 4 different
> output files.

That's not surprising, since the -v output also includes timings with
microsecond precision. If you compared them using diff or cmp, that
won't work very well.

-- 
Andreas Ericsson                   [email protected]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.