ajout configuration seuils d'alertes dans /etc/munin/plugin-conf.d/munin-node
This commit is contained in:
parent
2ca6fd3000
commit
c3b8bb980a
|
@ -155,6 +155,18 @@ contact.someuser.command mail -s "Munin notification" foo@example.com
|
|||
postfix_mailqueue.deferred.critical 200
|
||||
~~~
|
||||
|
||||
On peut aussi configuré les seuils de warning ou critical dans le fichier de configuration `/etc/munin/plugin-conf.d/munin-node`, voici un exemple de seuils sur le check du retard sur la réplication mysql :
|
||||
|
||||
~~~
|
||||
[mysql*]
|
||||
user root
|
||||
env.mysqlopts --defaults-file=/etc/mysql/debian.cnf
|
||||
env.mysqluser debian-sys-maint
|
||||
env.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf
|
||||
env.seconds_behind_master_warning 120
|
||||
env.seconds_behind_master_critical 800
|
||||
~~~
|
||||
|
||||
## Plugins
|
||||
|
||||
Les plugins sont stockés dans `/usr/share/munin/plugins`.
|
||||
|
|
Loading…
Reference in a new issue