Add check_nrpe like behaviour to check_http (#1355)

Fredrik Rambris notifications at github.com
Tue Sep 22 14:00:50 CEST 2015


With my change you format a web page response like Nagios plugin output, put
the numeric exit code in the X-NRPE-Status header, set the Content-Type to
text/nagios and the check_http plugin behaves like check_nrpe.

Instead of having to parse the output of your own web applications to suit
Nagios, why not have them output the status in that format already.
You can view, comment on, or merge this pull request online at:

  https://github.com/monitoring-plugins/monitoring-plugins/pull/1355

-- Commit Summary --

  * Added NRPE like funtionality to check_http
  * Removed old get_content_length

-- File Changes --

    M plugins/check_http.c (66)

-- Patch Links --

https://github.com/monitoring-plugins/monitoring-plugins/pull/1355.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1355.diff

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1355
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20150922/17281e80/attachment.html>


More information about the Devel mailing list