Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_lenovo_storage
1.1.0
2022-05-16
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
1362
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
check_lenovo_storage
check Hardware for lenovo thinksystem storage via REST API
prerequisites
This script uses theses libs : REST::Client, Data::Dumper, Monitoring::Plugin, MIME::Base64, JSON, LWP::UserAgent, Readonly
to install them type :
sudo cpan REST::Client Data::Dumper Monitoring::Plugin MIME::Base64 JSON LWP::UserAgent Readonly
Use case
check_lenovo_storage.pl 1.1.0
This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).
Nagios check for lenovo thinksystem storage hardware via REST API
Usage: check_lenovo_storage.pl -H -p -u -P [-t ] [-a ]
-?, --usage
Print usage information
-h, --help
Print detailed help screen
-V, --version
Print version information
--extra-opts=[section][@file]
Read options from an ini file. See https://www.monitoring-plugins.org/doc/extra-opts.html
for usage and examples.
-H, --host=STRING
Hostname
-p, --port=INTEGER
Port Number
-a, --apiversion=string
The thinksystem API version
-u, --user=string
User name for api authentication
-P, --Password=string
User password for api authentication
-S, --ssl
The thinksystem use ssl
-t, --timeout=INTEGER
Seconds before plugin times out (default: 30)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)
Exemples de commande à exécuter à partir du poller Nagios/Shinken/centreon :
check_lenovo_storage.pl -H -S -p 443 -u monitor -P "password"
you may get :
check_lenovo_storage OK - 2 powerSupplies ares healthy 2 controllers ares healthy 2 batteries ares healthy 10 drives ares healthy 4 fans ares healthy 6 thermalSensors ares healthy
check Hardware for lenovo thinksystem storage via REST API
prerequisites
This script uses theses libs : REST::Client, Data::Dumper, Monitoring::Plugin, MIME::Base64, JSON, LWP::UserAgent, Readonly
to install them type :
sudo cpan REST::Client Data::Dumper Monitoring::Plugin MIME::Base64 JSON LWP::UserAgent Readonly
Use case
check_lenovo_storage.pl 1.1.0
This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
It may be used, redistributed and/or modified under the terms of the GNU
General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).
Nagios check for lenovo thinksystem storage hardware via REST API
Usage: check_lenovo_storage.pl -H
-?, --usage
Print usage information
-h, --help
Print detailed help screen
-V, --version
Print version information
--extra-opts=[section][@file]
Read options from an ini file. See https://www.monitoring-plugins.org/doc/extra-opts.html
for usage and examples.
-H, --host=STRING
Hostname
-p, --port=INTEGER
Port Number
-a, --apiversion=string
The thinksystem API version
-u, --user=string
User name for api authentication
-P, --Password=string
User password for api authentication
-S, --ssl
The thinksystem use ssl
-t, --timeout=INTEGER
Seconds before plugin times out (default: 30)
-v, --verbose
Show details for command-line debugging (can repeat up to 3 times)
Exemples de commande à exécuter à partir du poller Nagios/Shinken/centreon :
check_lenovo_storage.pl -H
you may get :
check_lenovo_storage OK - 2 powerSupplies ares healthy 2 controllers ares healthy 2 batteries ares healthy 10 drives ares healthy 4 fans ares healthy 6 thermalSensors ares healthy
Reviews (0)
Be the first to review this listing!