Skip to content

Commit

Permalink
Replace "Nagios::Plugin" with "Monitoring::Plugin"
Browse files Browse the repository at this point in the history
As this basically is an upstream renaming of the package to avoid
trademark issues, drop-in substitution is satisfactory.

Closes Flameeyes/nagios-plugins-flameeyes#1

Bug: https://bugs.gentoo.org/608224
  • Loading branch information
kentfredric authored and antonfischl1980 committed Feb 12, 2017
1 parent 06591d5 commit 2370248
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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 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

0 comments on commit 2370248

Please sign in to comment.