check_http output

Marc Powell marc at ena.com
Thu Jul 19 00:13:19 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Nagios
> Sent: Wednesday, July 18, 2007 2:18 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_http output
> 
> Hello
> 
> is there any way to change check_http plugin output .
> here is my output :
> HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds
> 
> but I want to have different output based on service names.y
> like : host_name: HTTP OK HTTP/1.1 200 OK - 918 bytes in 0.012 seconds

Yes, you can do it but you'd need to edit the source and recompile or
create a wrapper for check_http that modified the output to suit your
needs.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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