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

Commit

Permalink
Merge pull request #2 from kentfredric/rename-nagios
Browse files Browse the repository at this point in the history
Replace "Nagios::Plugin" with "Monitoring::Plugin"
  • Loading branch information
Flameeyes authored Feb 12, 2017
2 parents c631419 + 132cff2 commit 84b886c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
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

0 comments on commit 84b886c

Please sign in to comment.