add monitoring

This commit is contained in:
ludo
2024-02-22 19:33:56 +01:00
parent 869b148e20
commit 722ea43bc2
61 changed files with 1666 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
name: Packages up to date
abbreviation: pkgupdtd
checker: PragmaRX\Health\Checkers\Composer
notify: true
binary: "{{ config('health.services.composer.bin') }}"
command: "outdated --format=json --minor-only"
should_count_at_most: 0
json_result: true
root_item: "installed"
error_message:
'There are %s outdated packages, please run composer outdated to see the full list'
column_size: 3
targets:
- default:
working_dir: "{{ base_path() }}"