Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] missing documentation #8

Open
glensc opened this issue Feb 29, 2016 · 0 comments
Open

[doc] missing documentation #8

glensc opened this issue Feb 29, 2016 · 0 comments

Comments

@glensc
Copy link

glensc commented Feb 29, 2016

http://search.cpan.org/~nierlein/Monitoring-Plugin-0.39/lib/Monitoring/Plugin.pm#CONSTRUCTOR

there's no documentation for version, blurb, license, extra, plugin, timeout parameters

as for example i was looking where to put information about homepage and where to report bugs and copyright years and author.


for homepage and bugs url, i just appended to blurb:
glensc/nagios-plugin-check_raid@cd17820

for license and copyright did not find good solution: i do not want to replace license key, i like that default GPLv2 is printed.

here's example how my plugin worked before starting to use perl-Monitoring-Plugin, and after

➔ ./check_raid-3.2.5.pl --help | head -n10
check_raid, v3.2.5
Copyright (c) 2004-2006 Steve Shipway,
Copyright (c) 2009-2015, Elan Ruusamäe <[email protected]>

This plugin reports the current server's RAID status
https://github.com/glensc/nagios-plugin-check_raid

Usage: check_raid [-h] [-V] [-S] [list of devices to ignore]
➔ ./check_raid-4.0.1.pl --help | head -n10
check_raid 4.0.1

This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).

This plugin checks all RAID volumes (hardware and software) that can be identified.

Usage: check_raid [-h] [-V] [-S] [list of devices to ignore]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant