NagiosXi "Run Check Command" problem detected
Posted: Fri Oct 16, 2020 5:36 am
Hi Team,
Noticed a weird issue recently,
When using check command "http_xi_service_http" on certain string/content checks on webpages, the following occurs:
Service is currently added to NagiosXi successfully, however when using the "Run Check Command" below "CRITICAL" result is seen.
Response:
"/usr/local/nagios/libexec/check_http -H api.kickbox.com -s "true" -f ok -H api.kickbox.com -u "/v2/verify?email=[email protected]&apikey=test_" -S --sni -p 443
HTTP CRITICAL: HTTP/1.1 404 Not Found - string 'true' not found on 'https://api.kickbox.com:443/v2/verify\\ ... ikey=test_' - 193 bytes in 1.033 second response time |time=1.033374s;;;0.000000 size=193B;;;0
NB: a valid email add is applied to the check.
When looking at the actual Item via "Service State", its in an Ok state: PSA Document
Can you kindly share some insight with regards to this error as it seems to be a false positive result currently, majority of our current service webpage content checks display errors when "Run check command" is performed however the service state displays "Ok"
NB: Other basic content checks do not display these errors when "Run Check Command" is performed.
Possible that additional characters are being added on when using "Run Check Command" resulting in a Critical result (unsure)
NagiosXi has been upgraded to the latest release available and up to date.
Thanks
Branigan.
Noticed a weird issue recently,
When using check command "http_xi_service_http" on certain string/content checks on webpages, the following occurs:
Service is currently added to NagiosXi successfully, however when using the "Run Check Command" below "CRITICAL" result is seen.
Response:
"/usr/local/nagios/libexec/check_http -H api.kickbox.com -s "true" -f ok -H api.kickbox.com -u "/v2/verify?email=[email protected]&apikey=test_" -S --sni -p 443
HTTP CRITICAL: HTTP/1.1 404 Not Found - string 'true' not found on 'https://api.kickbox.com:443/v2/verify\\ ... ikey=test_' - 193 bytes in 1.033 second response time |time=1.033374s;;;0.000000 size=193B;;;0
NB: a valid email add is applied to the check.
When looking at the actual Item via "Service State", its in an Ok state: PSA Document
Can you kindly share some insight with regards to this error as it seems to be a false positive result currently, majority of our current service webpage content checks display errors when "Run check command" is performed however the service state displays "Ok"
NB: Other basic content checks do not display these errors when "Run Check Command" is performed.
Possible that additional characters are being added on when using "Run Check Command" resulting in a Critical result (unsure)
NagiosXi has been upgraded to the latest release available and up to date.
Thanks
Branigan.