Join Slack
Powered by
This is PQL related question: how do I filter out ...
# bolt
w
woolfy
02/29/2024, 4:52 AM
This is PQL related question: how do I filter out nodes that are powered off? In PE console their status connected is set to no.
b
bastelfreak
02/29/2024, 8:29 AM
There are a few options. I don't think PuppetDB saves the pxp-agent connection state. but you could filter when their last report happened. Does that help? We've some examples at
https://voxpupuli.org/docs/pql_queries/#get-a-list-of-nodes-with-stale-catalogs-date--r-to-see-your-time-offset
(if you come up with something new, please let me know or provide a PR for those docs)
Open in Slack
Previous
Next