Linuxfabrik / monitoring-plugins

220+ check plugins for Icinga and other Nagios-compatible monitoring applications. Each plugin is a standalone command line tool (written in Python) that provides a specific type of check.
https://linuxfabrik.ch
The Unlicense
220 stars 51 forks source link

Implement a new and cleaner directory structure #350

Closed NavidSassan closed 1 year ago

NavidSassan commented 3 years ago

In GitLab by @markuslf on Aug 31, 2021, 16:50

Before the next release, let's move some files to new locations. A check plugin directory should look like this from that on:

└── plugin-name
    ├── assets
    │   └── Additional ressources, for example helper scripts like monitoring.php
    ├── grafana
    │   └── dashboard definition
    ├── icingaweb2-module-director
    │   └── Icinga Director basket definition
    ├── icingaweb2-module-grafana
    │   └── Grafana panel definition for Icinga's Grafana module
    ├── lib
    └── unit-test
        ├── stdin
        └── stdout

The plugins' main directory will contain the check (Python 3) and README file only.

NavidSassan commented 3 years ago

where would we place something like https://git.linuxfabrik.ch/linuxfabrik/support/-/issues/1467 in this folder structure?

NavidSassan commented 3 years ago

mentioned in issue support#1572

NavidSassan commented 3 years ago

In GitLab by @markuslf on Sep 14, 2021, 10:15

tools within the plugin directory?

NavidSassan commented 3 years ago

what about assets?

NavidSassan commented 3 years ago

should be copied to /usr/lib64/nagios/plugins/check-name-assets/ on the remote machine (via ansible). for example, check-plugins/php-status/assets/monitoring.php should lie in /usr/lib64/nagios/plugins/php-status-assets/monitoring.php

NavidSassan commented 3 years ago

mentioned in issue support#1467

NavidSassan commented 2 years ago

In GitLab by @markuslf on Feb 16, 2022, 21:35

changed due date to February 28, 2022

NavidSassan commented 2 years ago

In GitLab by @markuslf on Feb 16, 2022, 21:38

marked this issue as related to #288

NavidSassan commented 2 years ago

removed due date

markuslf commented 2 years ago

See also https://github.com/Linuxfabrik/monitoring-plugins/issues/589