check_http -k is not able to handle spaces

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
vellala2000
Posts: 1
Joined: Mon Jun 13, 2016 12:37 am

check_http -k is not able to handle spaces

Post by vellala2000 »

check_http -k "appid: national retail" -H national.retail.com is failing to read the full header when space is involved. looks like bug with check_http


by the way i am using centos and its the latest version of check_http plugin 2.1.2. i am getting 400 errors as check_http not including entire header.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: check_http -k is not able to handle spaces

Post by rkennedy »

Can you show us the full input / output you're using and seeing so that we can try to replicate this?
Former Nagios Employee
Locked