HTTP WARNING: HTTP/1.1 401 Authorization Required
Elmar van Mourik
e.vanmourik at zhew.nl
Fri Aug 20 10:22:00 CEST 2004
Create a new check command:
# 'check_httpauth' command definition
define command{
command_name check_httpauth
command_line $USER1$/check_http -H $HOSTADDRESS$ -a $USER3$
}
and create a line in resource.cfg:
$USER3$="<username>:<password>"
easy as that...
Elmar van Mourik
-----Oorspronkelijk bericht-----
Van: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]Namens Antonio Vázquez
León
Verzonden: vrijdag 20 augustus 2004 10:01
Aan: nagios-users at lists.sourceforge.net
Onderwerp: [Nagios-users] HTTP WARNING: HTTP/1.1 401 Authorization
Required
Hi! I have configured a http service, but this give me a warning
because it needs a user and password to authentificate in my web, so How can
I put a user and password in my service.cfg file for this service?
Thanks in advanced.
==============================================================
Antonio Vázquez - Dpto. de Sistemas
DTI2 - Desarrollo de la Tecnología de las Comunicaciones
--------------------------------------------------------------
C/ Abogado Enriquez Barrios, 5 14004 CORDOBA (SPAIN)
Tlf: +34 957 761395 / FAX: +34 957 450380
--------------------------------------------------------------
avazquez at dti2.net _-_-_-_-_-_-_-_-_-_-_-_-_-_ http://www.dti2.net
==============================================================
- Without wicker a basket cannot be done.
==============================================================
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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
Door de electronische verzending van het bericht kunnen er geen rechten
ontleend worden aan de informatie. Als u deze e-mail onterecht heeft
ontvangen, waarschuwt u dan de afzender via postmaster at zhew.nl en verwijder
de gegevens van de computer.
ZHEW wordt opgeheven. Vanaf 1 januari 2005 zijn de watertaken van het zuiveringsschap
ondergebracht bij drie ‘all-in’ waterschappen. Meer informatie:
Zuiveringsschap Hollandse Eilanden en Waarden, Dordrecht
tel: +31 (0)78 6397100
fax: +31 (0)78 6311871
web: http://www.zhew.nl
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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