diff --git a/check_qlogic_sanbox b/check_qlogic_sanbox index fd197bd..e544a1d 100644 --- a/check_qlogic_sanbox +++ b/check_qlogic_sanbox @@ -373,45 +373,25 @@ exit $exitcode; __END__ -=head1 check_qlogic_sanbox +=head1 NAME -check_qlogic_sanbox is a Nagios plugin, allowing to check QLogic FC Sanboxes. - -This plugin has been tested with the following QLogic switches: - -=over 4 - -=item SANbox 5200 FC Switch - -=item SANbox 5202 FC Switch - -=item SANbox 5600 FC Switch - -=item SANbox 5602 FC Switch - -=item SANbox 5800 FC Switch - -=back +check_qlogic_sanbox - check health of QLogic SANbox FC switch =head1 SYNOPSIS -./check_qlogic_sanbox -H $HOSTNAME$ --community public +check_qlogic_sanbox -H $HOSTNAME$ [ options ] Options: -H | --hostname -w | --warning -c | --critical - -t | --timeout -C | --community -V | --snmp-version -p | --port - - -f | --filename - + -f | --filename --sensor4_warn --sensor4_crit - -h | --help -d | --debug @@ -419,35 +399,35 @@ This plugin has been tested with the following QLogic switches: =over 8 -=item B<--hostname> F +=item B<--hostname> I -The name of the Sanbox. Default: localhost (which makes no sense). +The hostname/IP of the SANbox. Default: localhost (which makes no sense). -=item B<--critical> F +=item B<--critical> I -Critical temperature level. Default is 45 degrees Celsius. +Critical temperature level. Default: 45 degrees Celsius. -=item B<--warning> F +=item B<--warning> I -Warning temperature level. Default is 35 degrees Celsius. +Warning temperature level. Default: 35 C -=item B<--timeout> F +=item B<--timeout> I Timeout until the plugin times out with result UNKNOWN. -=item B<--community> F +=item B<--community> I SNMP community string to use. Default: public. -=item B<--port> F +=item B<--port> I SNMP port to use. Default: 161. -=item B<--snmp-version> F +=item B<--snmp-version> I SNMP version to use. Default: 2c. -=item B<--filename F +=item B<--filename> F You can put the configuration in a file with ini-file syntax (using the hostname as section separator) using the long format of the available options. @@ -468,15 +448,15 @@ Example: sensor4_crit=65 The script should be called with the hostname/IP and the filename option like: - B<$USER1$/check_qlogic_sanbox -H 192.168.0.1 --filename /etc/nagios-plugins/sanboxes.ini> + C<$USER1$/check_qlogic_sanbox -H 192.168.0.1 --filename /etc/nagios-plugins/sanboxes.ini> -=item B<--sensor4_warn F +=item B<--sensor4_warn> I -Warning temperature level for the CPU sensor (Sensor 4). Default is 70 degrees Celsius. +Warning temperature level for the CPU sensor (Sensor 4). Default: 70 C -=item B<--sensor4_crit F +=item B<--sensor4_crit> I -Critical temperature level for the CPU sensor (Sensor 4). Default is 75 degrees Celsius. +Critical temperature level for the CPU sensor (Sensor 4). Default: 75 C =item B<--help> @@ -490,13 +470,32 @@ Print debug output on STDERR. =head1 DESCRIPTION +check_qlogic_sanbox is a Nagios plugin which checks QLogic SANbox Fibre Channel +switches via SNMP. + +This plugin has been tested with the following QLogic switches: + +=over 4 + +=item SANbox 5200 FC Switch + +=item SANbox 5202 FC Switch + +=item SANbox 5600 FC Switch + +=item SANbox 5602 FC Switch + +=item SANbox 5800 FC Switch + +=back + =head1 AUTHORS Written by Lars Vogdt =head1 SUPPORT -Please use https://bugzilla.novell.com to submit patches or suggest improvements. +Please use https://bugzilla.opensuse.org to submit patches or suggest improvements. Include version information with all correspondence (when possible use output from the --version option of the plugin itself). diff --git a/monitoring-plugins-qlogic_sanbox.changes b/monitoring-plugins-qlogic_sanbox.changes index 4861517..236fcd9 100644 --- a/monitoring-plugins-qlogic_sanbox.changes +++ b/monitoring-plugins-qlogic_sanbox.changes @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Mar 4 20:52:36 UTC 2022 - Andrew Daugherity + +- fix POD errors shown in 'check_qlogic_sanbox -h' output +- general POD cleanup +------------------------------------------------------------------- Wed Jul 30 19:20:22 UTC 2014 - lars@linux-schulserver.de - Renamed package to monitoring-plugins-qlogic_sanbox diff --git a/monitoring-plugins-qlogic_sanbox.spec b/monitoring-plugins-qlogic_sanbox.spec index 27a33e1..2ea9ac1 100644 --- a/monitoring-plugins-qlogic_sanbox.spec +++ b/monitoring-plugins-qlogic_sanbox.spec @@ -1,7 +1,7 @@ # # spec file for package monitoring-plugins-qlogic_sanbox # -# Copyright (c) 2013-2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # Author: Lars Vogdt # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,8 +22,8 @@ Summary: Check QLogic FC Sanboxes License: BSD-3-Clause Group: System/Monitoring Version: 1.3 -Release: 100 -Url: http://en.opensuse.org/Monitoring-plugins-qlogic_sanbox +Release: 0 +URL: http://en.opensuse.org/Monitoring-plugins-qlogic_sanbox Source0: check_qlogic_sanbox Requires: perl(Getopt::Long) Requires: perl(Net::Ping)