```[root@ryzo rip]# /etc/choria/machine/pctl/check...
# openvox
r
Copy code
[root@ryzo rip]# /etc/choria/machine/pctl/check_puppet.rb -w 2700 -c 3900
OK: last run 10 minutes ago with 0 failed resources 0 failed events and currently enabled|time_since_last_run=632s;2700;3900;0 failed_resources=0;;;0 failed_events=0;;;0 last_run_duration=42.88;;;0

[root@ryzo rip]# /etc/choria/machine/pctl/check_puppet.rb -w 1 -c 1 --check-failures --only-enabled
OK: last run 11 minutes ago with 0 failed resources 0 failed events and currently enabled|time_since_last_run=663s;1;1;0 failed_resources=0;;;0 failed_events=0;;;0 last_run_duration=42.88;;;0

[root@ryzo rip]# /etc/choria/machine/pctl/check_puppet.rb --choria-metrics|jq
{
  "labels": {
    "watcher": "pctl",
    "puppet_version": "8.18.1",
    "config_version": "1781677813",
    "runmode": "agent"
  },
  "metrics": {
    "enabled": 1,
    "manifest_failed": 0,
    "resources_changed_count": 0,
    "resources_corrective_change_count": 0,
    "resources_failed_count": 0,
    "resources_failed_to_restart_count": 0,
    "resources_out_of_sync_count": 0,
    "resources_restarted_count": 0,
    "resources_scheduled_count": 0,
    "resources_skipped_count": 0,
    "resources_total_count": 512,
    "catalog_application_seconds": 22.50848523294553,
    "config_retrieval_seconds": 14.946815846022218,
    "fact_generation_seconds": 3.1008032942190766,
    "pluginsync_seconds": 0.584294315893203,
    "total_seconds": 42.884341458,
    "transaction_evaluation_seconds": 22.44121386576444,
    "last_run_time": 1781677843,
    "event_failure_count": 0,
    "event_success_count": 0,
    "event_total_count": 0
  }
}