WL-NagiosPlugins icon indicating copy to clipboard operation
WL-NagiosPlugins copied to clipboard

Added support to work with redis sentinel

Open ivanmp91 opened this issue 10 years ago • 3 comments

  • Added support to connect to a list of sentinels with -S parameter and to a specific service given with -s parameter.
  • Shows in the default output the ip and port of the current master server and the total number and reachable sentinels.
  • Added the checkin 'sentinels_available' which contains the number of sentinels reachable. If some of them are down the plugin returns a WARNING and shows the number of sentinels down. In case that all of them are down returns a CRIT.
  • Check parameters to ensure you use "-H host" or "-S sentinel1:port,sentinel2:port" and not both at the same time.
  • Updated the version of the scipt, help output and comments with the new features. NOTE: In case of use the script to connect with servers via sentinel is necessary to use at least the library version Redis-1.972 which comes with the Sentinel interface.

ivanmp91 avatar May 28 '14 19:05 ivanmp91

I appreciate your work and contribution. Currently busy with another project, so I'll look at this in mid June and do update of the plugin - I have my own changes and several patches in line.

willixix avatar May 28 '14 21:05 willixix

Hey! That's fine no worries! I just made some changes that are useful for me at the moment and I decided to share with you. If you see something may be improved just contact with me and I can help you in implement it. By the way congrats, you've a nice set of perl checks 😁

ivanmp91 avatar May 31 '14 06:05 ivanmp91

I guess mid-june never happened? :)

Is this project dead? It's August, one year later.

eltismerino avatar Aug 04 '15 13:08 eltismerino