diff --git a/check_apache b/check_apache index 58d4cde..7f706fa 100755 --- a/check_apache +++ b/check_apache @@ -10,9 +10,9 @@ check_apache - Nagios plugin to poll Apache mod_status information use strict; -use Data::Dumper; ### For generating debug output in verbose mode -use LWP::UserAgent; ### For communicating with the webserver -use Nagios::Plugin; ### For communicating with the nagios server +use Data::Dumper; ### For generating debug output in verbose mode +use LWP::UserAgent; ### For communicating with the webserver +use Monitoring::Plugin; ### For communicating with the nagios server ### Know what we're working with @@ -427,7 +427,7 @@ my $available_measurements = join(', ', sort(keys(%measurements))); ### Initialize the plugin -my $plugin = Nagios::Plugin->new( +my $plugin = Monitoring::Plugin->new( shortname => "APACHE", usage => "Usage: check_apache -H -m " ."(-w -c ) [-P ] " @@ -830,7 +830,7 @@ L module installed. Thresholds given to this script should be in the format specified at . -This module is built upon L by the Nagios Plugin Development +This module is built upon L by the Monitoring Plugin Team. Further reading on Nagios, NPRE, and Nagios Plugins is available at .