Accepting request 959540 from home:adaugherity:branches:server:monitoring
- fix POD errors shown in 'check_qlogic_sanbox -h' output (Unterminated B<...> sequence) - general POD cleanup, including: + reorganize top section into description to fix warning about empty section + update bugzilla URL OBS-URL: https://build.opensuse.org/request/show/959540 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-qlogic_sanbox?expand=0&rev=4
This commit is contained in:
parent
d725c5c444
commit
02b21e55d9
@ -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> | --hostname <HOSTNAME>
|
||||
-w <int> | --warning <int>
|
||||
-c <int> | --critical <int>
|
||||
|
||||
-t <int> | --timeout <int>
|
||||
-C <string> | --community <string>
|
||||
-V <string> | --snmp-version <string>
|
||||
-p <int> | --port <int>
|
||||
|
||||
-f <file> | --filename <file>
|
||||
|
||||
-f <file> | --filename <file>
|
||||
--sensor4_warn <int>
|
||||
--sensor4_crit <int>
|
||||
|
||||
-h | --help
|
||||
-d | --debug
|
||||
|
||||
@ -419,35 +399,35 @@ This plugin has been tested with the following QLogic switches:
|
||||
|
||||
=over 8
|
||||
|
||||
=item B<--hostname> F<hostname>
|
||||
=item B<--hostname> I<hostname>
|
||||
|
||||
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<int>
|
||||
=item B<--critical> I<int>
|
||||
|
||||
Critical temperature level. Default is 45 degrees Celsius.
|
||||
Critical temperature level. Default: 45 degrees Celsius.
|
||||
|
||||
=item B<--warning> F<int>
|
||||
=item B<--warning> I<int>
|
||||
|
||||
Warning temperature level. Default is 35 degrees Celsius.
|
||||
Warning temperature level. Default: 35 C
|
||||
|
||||
=item B<--timeout> F<int>
|
||||
=item B<--timeout> I<int>
|
||||
|
||||
Timeout until the plugin times out with result UNKNOWN.
|
||||
|
||||
=item B<--community> F<string>
|
||||
=item B<--community> I<string>
|
||||
|
||||
SNMP community string to use. Default: public.
|
||||
|
||||
=item B<--port> F<int>
|
||||
=item B<--port> I<int>
|
||||
|
||||
SNMP port to use. Default: 161.
|
||||
|
||||
=item B<--snmp-version> F<string>
|
||||
=item B<--snmp-version> I<string>
|
||||
|
||||
SNMP version to use. Default: 2c.
|
||||
|
||||
=item B<--filename F<path_to_file>
|
||||
=item B<--filename> F<path_to_file>
|
||||
|
||||
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<int>
|
||||
=item B<--sensor4_warn> I<int>
|
||||
|
||||
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<int>
|
||||
=item B<--sensor4_crit> I<int>
|
||||
|
||||
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 <lrupp@suse.de>
|
||||
|
||||
=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).
|
||||
|
@ -1,4 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 4 20:52:36 UTC 2022 - Andrew Daugherity <adaugherity@tamu.edu>
|
||||
|
||||
- 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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user