Re: [Puppet Users] Re: View all the failed executions on Puppetdb

2019-03-01 Thread Aditya S
I figured this out. I missed a step while setting up the PuppetDB. I did not add "reports = store,puppetdb" in the puppet.conf so it never really added the reports in the database. Adding the following and restarting it fixed the issues for me: # vi /etc/puppetlabs/puppet/puppet.conf [master]

Re: [Puppet Users] Re: View all the failed executions on Puppetdb

2019-02-14 Thread Aditya S
Thanks Austin, The output didn't give me any information so I tried to look in the database. Is it coming from *public.report_statuses *or *public.resource_events* because they are both blank for me. Is that the right tabel? Please let me know. Thanks! On Thursday, February 14, 2019 at 1:52:

Re: [Puppet Users] Re: View all the failed executions on Puppetdb

2019-02-14 Thread Austin Blatt
If you want all information about all failed reports you can query for reports that have a status of failed. An example using curl would look like, curl -X POST http://localhost:8080/pdb/query/v4 \ -H 'Content-Type:application/json' \ -d '{"query": "reports { status = \"failed\" }"}' There ar