monitoring-plugins icon indicating copy to clipboard operation
monitoring-plugins copied to clipboard

Implement a new and cleaner directory structure

Open NavidSassan opened this issue 4 years ago • 10 comments

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:

└── countdown
    ├── assets
    │   └── some-file.ext
    ├── grafana-influxdb
    ├── icingaweb2-module-director
    ├── icingaweb2-module-grafana
    ├── lib
    └── tests
        ├── stdin
        └── stdout

The plugins' main directory will contain the check (Python 2 and/or Python 3), the .png, LICENSE and README file only.

Plus: Explain this structure in README.

NavidSassan avatar Aug 31 '21 14:08 NavidSassan

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

NavidSassan avatar Sep 10 '21 13:09 NavidSassan

mentioned in issue support#1572

NavidSassan avatar Sep 10 '21 13:09 NavidSassan

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

tools within the plugin directory?

NavidSassan avatar Sep 14 '21 08:09 NavidSassan

what about assets?

NavidSassan avatar Sep 14 '21 08:09 NavidSassan

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 avatar Sep 14 '21 08:09 NavidSassan

mentioned in issue support#1467

NavidSassan avatar Nov 24 '21 13:11 NavidSassan

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

changed due date to February 28, 2022

NavidSassan avatar Feb 16 '22 20:02 NavidSassan

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

marked this issue as related to #288

NavidSassan avatar Feb 16 '22 20:02 NavidSassan

removed due date

NavidSassan avatar Feb 28 '22 08:02 NavidSassan

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

markuslf avatar Jul 04 '22 09:07 markuslf