check_http plugin

Pietan, James J (DOA) james.pietan at alaska.gov
Mon May 4 05:51:31 CEST 2015


I had the same issue. I copied the check_http to a new check_http2. Edited it and told check2 that a 401 error was OK.  if the web site returned ANY other code.  then the check2 returned a critical.  only was i could come up with.  as i did NOT want to submit my username and password

Corripe Cervesium

Life is but a timed game, where the Official is a stickler for the rules

On May 3, 2015, at 10:37 AM, AGUADO VELAZQUEZ DANIEL <daguado at tecnatom.es<mailto:daguado at tecnatom.es>> wrote:

Hi,

I have a little problem with the check_http plugin. I am trying to check Evista URL, but I am receiving “HTTP/1.1 401 Unauthorized”. I think the problem is because in Evista’s loguin I need to fill the fields (account, user and pass). May be I am using the plugin wrong...

The command line:

./check_http -H srvevista -u http://srvevista -a accountnumber: user:userpass

The output:

HTTP WARNING: HTTP/1.1 401 Unauthorized - 1546 bytes en 0,005 segundo tiempo de respuesta |time=0,004903s;;;0,000000 size=1546B;;;0

Please, help me, I am lost and not know how fix it

Thank you very much,

Daniel Aguado

________________________________
[https://tecnatom-public.sharepoint.com/SiteAssets/LogoTecnatom.png]    DANIEL AGUADO VELAZQUEZ

Explotación y Mantenimiento Service Support & Operations
Dirección de Sistemas de Información Information Systems
daguado at tecnatom.es<mailto:daguado at tecnatom.es>

Avda. Montes de Oca, 1 28703 San Sebastian de los Reyes-Madrid (España/Spain)
Telf. +34 916598600 /4322

Q Si no es necesario no imprimas este mensaje. Tu papel es importante.


________________________________

Le invitamos a visitar nuestra página Web / We kindly invite you to visit our Web page:
http://www.tecnatom.es / >http://www.tecnatom.es/en


________________________________

AVISO LEGAL
Este mensaje va dirigido, de manera exclusiva, a su destinatario y puede contener información confidencial sujeta al secreto profesional, cuya divulgación no está permitida por la ley. En caso de haber recibido este mensaje por error, no podrá difundir, distribuir o copiar éste mensaje. Por favor, informa inmediatamente al remitente y proceda a su eliminación así como a la de cualquier documento adjunto al mismo. Asimismo, le comunicamos que la distribución, copia o utilización de este mensaje, o de cualquier documento adjunto al mismo, cualquiera que fuera su finalidad, están prohibidas por la ley.


LEGAL WARNING
This message is intended exclusively for the above addressee and may contain confidential information subject to professional secrecy, whose disclosure is prohibited by law. If you have received the message in error, you should not disseminate, distribute or copy this e-mail. Please inform immediately the sender and delete it and any document attached to it from the system. We also inform you that the distribution, copying or use of this message, or of any document attached to it, for any purpose are prohibited by law.

________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20150504/645ef1d0/attachment.html>


More information about the Help mailing list