Affects Version/s: SERVER 2.0.0
Component/s: Puppet Server
I am attempting to use the /puppet/v3/status API to query the status of a Puppet Server. My goal is to be able to use our Nagios monitoring system to test not just whether Puppet Server is accepting connections on TCP port 8140, but whether the Puppet Server is alive and functioning.
Based on the API docs, I am using the follow curl command for testing:
The /puppet/v3/status service is permitted in /etc/puppetlabs/puppet/auth.conf:
However, Puppet Server returns Not found:
Other services work properly. For example, if I permit the /puppet/v3/resource_type service in auth.conf, and use the Puppet client certificate to authenticate (because the /puppet/v3/resource_type service does not permit anonymous access), it works:
So, in conclusion, I'm using the API as it is documented, but the /puppet/v3/status service simply doesn't seem to work.
For production monitoring purposes, we'd really, really like for this to work.
Risk Assessment: Medium (QA plans Functional Review, but no additional automated testing because this will be replaced in the near future. QA will target automated testing against the long term solution.)