check_http -S

lennart.kvam at softronic.se lennart.kvam at softronic.se
Fri Sep 15 02:20:37 CEST 2006


He,he.... Thanks man!
The problem is that I can write whatever in user:pass....eg  nagios:nagios or muppetplugin:muppet it STILL reports OK:-) 
That's is not ok:) 

//Lelle 

-----Ursprungligt meddelande-----
Från: Eirik Robertstad [mailto:erobertstad at perimeterusa.com] 
Skickat: den 15 september 2006 02:15
Till: Kvam Lennart
Ämne: Re: SV: SV: SV: [Nagios-users] check_http -S

the -a is the authentication. Again, it's working fine, everything is "OK". What more do you want from it? You have requested a url (-u), from a host (-H), and have logged in with a username and password (-a user:pass), and have returned a status of "OK" back to Nagios. You even have the response time being returned, so you know how quickly it took.

check_http --help

:)

There isn't a problem here, lol. Read the docs and get some sleep, have you used Nagios before?

What am I missing here?

lennart.kvam at softronic.se wrote:
>  okej....so far i´m with you...but how about authentication then? This 
> test just says that the page/site is responding:)
>
> -----Ursprungligt meddelande-----
> Från: Eirik Robertstad [mailto:erobertstad at perimeterusa.com]
> Skickat: den 15 september 2006 02:01
> Till: Kvam Lennart
> Ämne: Re: SV: SV: [Nagios-users] check_http -S
>
> Yeah I get what your trying to do. The thing is... your ARE doing it. ;) Everything IS working fine.
>
> OK = Good!
>
> That's all your going to get from any check pretty much.
> OK
> WARNING
> CRITICAL
> UNKNOWN
>
> Your verify first thing worked fine:
>
> But whatever i writ after -a works... still get :
> OK - HTTP/1.1 302 Object Moved - 0.042 second response time
> |time=0.042236s;;;0.000000 size=205B;;;0
>
> But the only thing you where missing was the
>
> --onredirect=follow
>
>
>
> option so that you got rid of the "Object Moved". No worries man, it's working how it should. ;) Change the password to something else and you'll get back CRITICAL saying the login failed.
>
> Regards,
> Eirik
>
> lennart.kvam at softronic.se wrote:
>   
>> Okej! Lets make it simple!
>>
>> I have a https site with a log in.... I want to check that the log in 
>> works with a user:password That's it! :-) and the problem is...i can 
>> writ what I want in the user/passwd...still replyes OK
>>
>> //Lelle
>>
>> -----Ursprungligt meddelande-----
>> Från: Eirik Robertstad [mailto:erobertstad at perimeterusa.com]
>> Skickat: den 15 september 2006 01:53
>> Till: Kvam Lennart
>> Ämne: Re: SV: [Nagios-users] check_http -S
>>
>> K... I'm not sure what the problem is here? Your results came back with an 'OK' in your first post expect for the fact that it was a redirect.
>> Everything should be fine now. If I'm missing something, please make it a bit more clear of what the issue at hand is.
>>
>> Regards,
>> Eirik
>>
>> lennart.kvam at softronic.se wrote:
>>   
>>     
>>> Hi!
>>> Thanx for a fast answer....
>>> Still the same
>>>
>>> ./check_http -H www.intexxxx.com -u /62 -S -a 7xxxxxx04:Kassantestar 
>>> -f=follow
>>>
>>> What i´m I missing here:)
>>>
>>> Reegards
>>> lennart
>>>
>>> -----Ursprungligt meddelande-----
>>> Från: Eirik Robertstad [mailto:erobertstad at perimeterusa.com]
>>> Skickat: den 15 september 2006 01:39
>>> Till: Kvam Lennart
>>> Kopia: nagios-users at lists.sourceforge.net
>>> Ämne: Re: [Nagios-users] check_http -S
>>>
>>> --onredirect=follow
>>>
>>>
>>>
>>> --
>>> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit:
>>> http://www.perimeterusa.com/malicious_code_defense_content.html
>>>
>>> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444.
>>>   
>>>     
>>>       
>>
>>
>> --
>> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit:
>> http://www.perimeterusa.com/malicious_code_defense_content.html
>>
>> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444.
>>   
>>     
>
>
>
>
> --
> The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit:
> http://www.perimeterusa.com/malicious_code_defense_content.html
>
> This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444.
>
>   




--
The sender of this email subscribes to Perimeter Internetworking's email anti-virus service. This email has been scanned for malicious code and is believed to be virus free. For more information on email security please visit:
http://www.perimeterusa.com/malicious_code_defense_content.html

This communication is confidential, intended only for the named recipient(s) above and may contain trade secrets or other information that is exempt from disclosure under applicable law. Any use, dissemination, distribution or copying of this communication by anyone other than the named recipient(s) is strictly prohibited. If you have received this communication in error, please delete the email and immediately notify our Command Center at 203-541-3444.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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