check_http

Richard Gliebe richard.gliebe at fhv.at
Thu Jan 12 10:26:29 CET 2006


I'm checking some local websites with the check_http plugin.

[...]
# 'check_http_alias' command definition
        command_name    check_http_alias
        command_line    $USER1$/check_http -H $ARG1$ -w $ARG2$ -c $ARG3$
..
..
where $ARG1$ is www.xyz.com ! $ARG2$ is 2 ! $ARG2$ is 5
[...]

Works fine ;-)

But now I want to manipulate the output from:

[...]
HTTP OK HTTP/1.1 200 OK - 42488 bytes in 0.013 seconds
to
www.xyz.com OK HTTP/1.1 200 OK - 42488 bytes in 0.013 seconds
[...]

any thinks ?

thanks in advance
Richard



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list