Skip to content
This repository has been archived by the owner on May 17, 2020. It is now read-only.

Replace "Nagios::Plugin" with "Monitoring::Plugin" #2

Merged
merged 1 commit into from
Feb 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ derived from another one that was published under a different license.
Dependencies
------------

All Perl-based plugins will require Nagios::Plugin at the very least,
All Perl-based plugins will require Monitoring::Plugin at the very least,
as that implements the basic Nagios API in a flexible way.

* `check_smart.pl`
Expand Down
4 changes: 2 additions & 2 deletions gentoo/check_openrc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ =head1 LICENSE
=cut

use strict;
use Nagios::Plugin;
use Monitoring::Plugin;

my $LICENSE = <<END;
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Expand All @@ -48,7 +48,7 @@ =head1 LICENSE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
END

my $np = Nagios::Plugin->new( shortname => "OPENRC",
my $np = Monitoring::Plugin->new( shortname => "OPENRC",
usage => "Usage: %s [--stopped-critical] <list of runlevels>",
blurb => "Check services status on OpenRC",
license => $LICENSE,
Expand Down
4 changes: 2 additions & 2 deletions gentoo/check_portage_age.pl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ =head1 LICENSE
=cut

use strict;
use Nagios::Plugin;
use Monitoring::Plugin;
use Date::Parse;
use Time::Duration;

Expand All @@ -51,7 +51,7 @@ =head1 LICENSE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
END

my $np = Nagios::Plugin->new( shortname => "PORTAGE_AGE",
my $np = Monitoring::Plugin->new( shortname => "PORTAGE_AGE",
usage => "Usage: %s -w SECONDS -c SECONDS",
blurb => "Check Portage tree age (last sync)",
license => $LICENSE,
Expand Down
4 changes: 2 additions & 2 deletions network/check_smb_share.pl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ =head1 LICENSE
=cut

use strict;
use Nagios::Plugin;
use Monitoring::Plugin;
use Filesys::SmbClient;

my $LICENSE = <<END;
Expand All @@ -51,7 +51,7 @@ =head1 LICENSE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
END

my $np = Nagios::Plugin->new( shortname => "SMB SHARE",
my $np = Monitoring::Plugin->new( shortname => "SMB SHARE",
usage => "Usage: %s [-u USERNAME] [-p PASSWORD] [-w WORKGROUP] -H HOSTNAME [-P PATH] [-W] [-D] SHARE",
blurb => "Check for accessibility of SMB shares",
license => $LICENSE,
Expand Down
4 changes: 2 additions & 2 deletions system/check_smart.pl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ =head1 LICENSE
=cut

use strict;
use Nagios::Plugin;
use Monitoring::Plugin;

my $LICENSE = <<END;
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Expand All @@ -51,7 +51,7 @@ =head1 LICENSE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
END

my $np = Nagios::Plugin->new( shortname => "SMART",
my $np = Monitoring::Plugin->new( shortname => "SMART",
usage => "Usage: %s [--sudo] [--smartctl PATH] [--device TYPE] device",
blurb => "Check health status of S.M.A.R.T. drives",
license => $LICENSE,
Expand Down