Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
This is a Nagios check that use Scaleways's REST API to check if the Redis bdd is up and get metric
Current Version
1.0.2
Last Release Date
2023-10-06
Owner
Julien DESMAREST
Website
https://github.com/Start81/check_scaleway_bddredis
Download URL
https://github.com/Start81/check_scaleway_bddredis/archive/refs/heads/main.zip
License
GPL
Compatible With
check_scaleway_bddredis
This is a Nagios check that use Scaleways’s REST API to check if the Redis bdd is up and get metric [ALL][PERL] https://www.scaleway.com/en/developers/api/managed-database-redis/ prerequisites
This script uses theses libs : REST::Client, Data::Dumper, Monitoring::Plugin, JSON, Readonly
to install them type :
sudo cpan REST::Client Data::Dumper Monitoring::Plugin JSON Readonly
Use case
check_scaleway_bddredis.pl 1.0.2
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).
check_scaleway_bddredis.pl is a Nagios check that uses Scaleway s REST API to get redis bdd metrics
Usage: check_scaleway_bddredis.pl -T -z -N | -i | -L [-m -w -c ]
-?, –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. -T, –Token=STRING Token for api authentication -N, –name=STRING cluster name -i, –id=STRING cluster id -a, –apiversion=string Scaleway API version -w, –warning=threshold See https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT for the threshold format. -c, –critical=threshold See https://www.monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT for the threshold format. -L, –listInstance Autodiscover instance -z, –zone=STRING Scaleway zone -m, –metric=STRING bdd metrics : cpu_usage_percent | mem_usage_percent | db_memory_usage_percent -t, –timeout=INTEGER Seconds before plugin times out (default: 30) -v, –verbose Show details for command-line debugging (can repeat up to 3 times)
sample :
#list all database ./check_scaleway_bddredis.pl -T -z fr-par-2 -L #BDD sate ./check_scaleway_bddredis.pl -T -z fr-par-2 -N #get a metric ./check_scaleway_bddredis.pl -T -z fr-par-2 -N -m cpu_usage_percent ./check_scaleway_bddredis.pl -T -z fr-par-2 -i -m cpu_usage_percent
you may get :
#list all database User Reviews (0) + Add a Review Add a Review You must be logged in to submit a review.
You must be logged in to submit a review.
To:
From: