amélioration
This commit is contained in:
parent
9086b415ba
commit
ef68b8c8dd
|
@ -177,16 +177,25 @@ Vérification simple :
|
||||||
$ /usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 11211
|
$ /usr/lib/nagios/plugins/check_tcp -H 127.0.0.1 -p 11211
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
### Munin
|
Vérification plus avancée avec :
|
||||||
|
|
||||||
Voilà comment activer le plugin munin memcached :
|
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
# 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
|
# cd /etc/munin/plugins
|
||||||
# ln -snf /usr/share/munin/plugins/memcached_ memcached_bytes
|
# ln -s /usr/share/munin/plugins/memcached_ memcached_bytes
|
||||||
# ln -snf /usr/share/munin/plugins/memcached_ memcached_counters
|
# ln -s /usr/share/munin/plugins/memcached_ memcached_counters
|
||||||
# ln -snf /usr/share/munin/plugins/memcached_ memcached_rates
|
# ln -s /usr/share/munin/plugins/memcached_ memcached_rates
|
||||||
# aptitude install libcache-memcached-perl
|
|
||||||
# /etc/init.d/munin-node restart
|
# /etc/init.d/munin-node restart
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue