[Nagiosplug-help] check_http
Thomas Guyot-Sionnest
dermoth at aei.ca
Tue Nov 24 05:51:40 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 23/11/09 11:39 PM, Marc Powell wrote:
> On Nov 23, 2009, at 7:53 PM, Ashkan Tavassoli wrote:
>
>> Hi all,
>>
>> I am trying to get check http to check the SharePoint website however it keeps returning unauthorized...
>>
>> [root at nagiosserver] [/usr/local/nagios/libexec] # ./check_http -H sharepointserver -a "domainname\username":password
>> HTTP WARNING: HTTP/1.1 401 Unauthorized
>>
>> What am I missing?
>
> check_http sends Basic Authentication. I believe that Sharepoint uses NTLM Authentication.
Have a try with the attached plugin.
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFLC2Zc6dZ+Kt5BchYRAskyAKDGxqhLOJbxNiO1PAasLjVnxpB4/gCgvt3g
7qG8VFs2IViwM7UoaDG8Zf4=
=scF0
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_http_ntlm
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20091123/902d7c59/attachment.ksh>
More information about the Help
mailing list