add monitoring
This commit is contained in:
15
config/health/resources/PackagesUpToDate.yml
Normal file
15
config/health/resources/PackagesUpToDate.yml
Normal 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() }}"
|
||||
Reference in New Issue
Block a user