[munin/apt] on graphe le plugin apt

This commit is contained in:
Daniel STAN 2013-05-18 18:21:00 +02:00
parent 909d374f4d
commit 699a882e9b
4 changed files with 6 additions and 2 deletions

3
munin/apt Executable file
View file

@ -0,0 +1,3 @@
#!/bin/bash
/usr/share/munin/plugins/apt "$@" | grep -v "graph no"

View file

@ -73,8 +73,8 @@ hosts_plugins = {
"bind9_rndc": "/usr/share/munin/plugins/bind9_rndc", "bind9_rndc": "/usr/share/munin/plugins/bind9_rndc",
}, },
"gordon": { "gordon": {
"wifi_clients": "/usr/scripts/wifi_new/munin.py",
"ap_states": "/usr/scripts/wifi_new/munin.py", "ap_states": "/usr/scripts/wifi_new/munin.py",
"wifi_auth": "/usr/scripts/wifi_new/munin_auth",
"bind9_rndc": "/usr/share/munin/plugins/bind9_rndc" "bind9_rndc": "/usr/share/munin/plugins/bind9_rndc"
}, },
"thot": { "thot": {
@ -101,6 +101,7 @@ hosts_plugins = {
"batiments": "batiments", "batiments": "batiments",
"munin": "munin", "munin": "munin",
"stats-ip": "stats-ip", "stats-ip": "stats-ip",
"ap_states": "/usr/scripts/wifi_new/munin.py",
# La suite plus bas... # La suite plus bas...
}, },
"news": { "news": {
@ -113,6 +114,7 @@ hosts_plugins = {
# Plugins Cr@ns systématiquement rajoutés # Plugins Cr@ns systématiquement rajoutés
general_plugins = { general_plugins = {
"check_ntp": "check_ntp", "check_ntp": "check_ntp",
'apt': 'apt',
} }
#### ####

View file

@ -153,7 +153,6 @@ def add_plugin(plugin):
register_quirk(add_plugin("uptime")) # Coucou MoSaN register_quirk(add_plugin("uptime")) # Coucou MoSaN
register_quirk(add_plugin("netstat")) register_quirk(add_plugin("netstat"))
register_quirk(add_plugin("apt"))
register_quirk(add_plugin("nfs_client")) register_quirk(add_plugin("nfs_client"))
# Hacks sales # Hacks sales

View file