This repository contains checks for icinga2 monitoring of FahrplanDatenGarten and some scripts to create debian packages for them.
- Create a directory named
check_$checkname
- Write the check and add it to the directory
- Create a
metadata.yml
file within this directory. Here is an example using python with one check filepackage_name: fdgmon-check-$checkname directory_name: check_$checkname files: - src: file.py dest: usr/lib/monitoring/plugins/check_$checkname mode: 755 version_git_autogenerated: true dependencies: - python3 description: Add here a description please source_maintainer: Name <email> source_license: MIT
- Add the directory name to the global metadata.yml in the
packages
section
- Create a directory named
meta_$groupname
- Create a
metadata.yml
file within this directory. Here is an example:package_name: fdgmon-group-$groupname directory_name: meta_$groupname files: [] version_git_autogenerated: true dependencies: description: Meta package containing all packages source_maintainer: FahrplanDatenGarten Debian Packaging Team <[email protected]> source_license: MIT