[Nagiosplug-devel] Some changes to check_http

Iberê Luiz Di Tizio Junior ibere.tizio at supportcomm.com.br
Wed Nov 3 08:30:39 CET 2004


Hi, 

My name is Ibere and I work in a brazilian telecom company.

We have been using nagios and nagios plugins, but in our http checks, we usually need to simulate phone requests (or 
other devices).

So, we need to change some http tags in header of http request (like user-agent, accept...)

I have changed the check_http code (downloaded in 11:00 am Nov/03 - 2004) to implement:

-A STRING  or   --useragent=STRING           String to be sent in http header as "User Agent"

And

-k STRING   or    --header=STRING             Any other tags to be sent in http header, separeted by semicolon

Well, I don´t know how to suggest changes, or how can I could become a volunteer, so any comment will be apreciated..
I´d like to submit this code..

Thanks,
Iberê Luiz Di Tizio Júnior

 <<check_http.patch>>  <<check_http.c>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20041103/1f6915b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_http.patch
Type: application/octet-stream
Size: 3609 bytes
Desc: check_http.patch
URL: <http://nagios-plugins.org/archive/devel/attachments/20041103/1f6915b5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_http.c
Type: application/octet-stream
Size: 33548 bytes
Desc: check_http.c
URL: <http://nagios-plugins.org/archive/devel/attachments/20041103/1f6915b5/attachment-0001.obj>


More information about the Devel mailing list