thruk-agent nrpe monitor fails on new 2.24 thruk-agent
Bug #1807756 reported by
Drew Freiberger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Thruk Agent Charm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
HTTP CRITICAL: HTTP/1.1 302 Found - string 'nagios_pid' not found on 'https:/
Two issues.
1. The URL for the thruk agent for new 2.4 units includes the /thruk/ URI, so the nrpe check must account for that, actual URL is: https:/
2. Return no longer include nagios_pid string, only thing returned by remote.cgi now appears to be "OK".
To post a comment you must log in.
It appears the issue coming about here is that I've misconfigured the thruk-agent URL to add the /thruk to the URL, which is creating a link to https:/ /nagios- ip:443/ thruk/thruk/ cgi-bin/ remote. cgi.
So, we neither have to change the URL scheme for the nrpe.d/cfg file nor is the monitor needing to be changed to result OK, since I had not read into the code to find that the query posts actions to perform which would return the nagios_pid.