[Nagiosplug-help] check_http -w (needs to be a float)

Warrick FitzGerald wfitzgerald at LiveTechnology.com
Mon Mar 1 13:27:03 CET 2004


Hi Guys,

I’m trying to set the warn \ critical time on check_http to a decimal
value.

./check_http -H www.google.com -w 1 this works fine. 

./check_http -H www.google.com -w 1.5 this will not work.

Is their an easy way around this, or do I need to patch the code? If so
I would really appreciate it if someone could help. I'm certainly no C
programmer, and tried changing the datatype to float in the check_http.c
file, however this did not seem to have much effect. 

Thanks
Warrick 






More information about the Help mailing list