amélioration

This commit is contained in:
gcolpart 2017-02-19 15:46:15 +01:00
parent 9086b415ba
commit ef68b8c8dd

View file

@ -177,16 +177,25 @@ Vérification simple :
$ /usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 11211
~~~
### Munin
Voilà comment activer le plugin munin memcached :
Vérification plus avancée avec :
~~~
# apt install libcache-memcached-perl
$ wget https://raw.githubusercontent.com/willixix/WL-NagiosPlugins/master/check_memcached.pl
$ perl check_memcached.pl -H 127.0.0.1
MEMCACHE OK: memcached 1.4.21 on 127.0.0.1:11211, up 2 minutes 37 seconds
~~~
### Munin
Le plugin Munin pour _Memcached_ est fourni en standard :
~~~
# apt install munin-plugins-extra libcache-memcached-perl
# cd /etc/munin/plugins
# ln -snf /usr/share/munin/plugins/memcached_ memcached_bytes
# ln -snf /usr/share/munin/plugins/memcached_ memcached_counters
# ln -snf /usr/share/munin/plugins/memcached_ memcached_rates
# aptitude install libcache-memcached-perl
# ln -s /usr/share/munin/plugins/memcached_ memcached_bytes
# ln -s /usr/share/munin/plugins/memcached_ memcached_counters
# ln -s /usr/share/munin/plugins/memcached_ memcached_rates
# /etc/init.d/munin-node restart
~~~