factored out squid munin plugin, cleaned up some whitespaces in xen plugin
authormh <mh@immerda.ch>
Sat, 19 Jul 2008 15:12:10 +0000 (15:12 +0000)
committermh <mh@immerda.ch>
Sat, 19 Jul 2008 15:12:10 +0000 (15:12 +0000)
files/plugins/xen_traffic_all
manifests/plugin.pp

index 3fcb508..1e9b06e 100644 (file)
@@ -43,17 +43,17 @@ if [ "$1" = "config" ]; then
                 name=$real_name"_"`echo $dev | sed 's/\./\_/'`
             fi
             #echo $name"UP.label $name"
-           #echo $name"DOWN.label $name"
+               #echo $name"DOWN.label $name"
         
             echo $name'Down.label received'
-           echo $name'Down.type COUNTER'
+               echo $name'Down.type COUNTER'
             echo $name'Down.graph no'
-           echo "${name}Down.cdef ${name}Down,8,*"
+               echo "${name}Down.cdef ${name}Down,8,*"
             echo "${name}Up.label ${name}"
-           echo $name'Up.type COUNTER'
+               echo $name'Up.type COUNTER'
             echo "${name}Up.negative ${name}Down"
-           echo "${name}Up.cdef ${name}Up,8,*"
-       done
+               echo "${name}Up.cdef ${name}Up,8,*"
+           done
     done
     exit 0
 fi
index 9111aec..2065c79 100644 (file)
@@ -246,13 +246,6 @@ class munin::plugins::selinux inherits munin::plugins::base {
     munin::plugin::deploy { "selinux_avcstats": }
 }
 
-class munin::plugins::squid inherits munin::plugins::base {
-    munin::plugin{ 'squid_cache': config => "user root\nenv.squidhost localhost\nenv.squidport 80"}
-    munin::plugin{ 'squid_icp': }
-    munin::plugin{ 'squid_requests': }
-    munin::plugin{ 'squid_traffic': }
-}
-
 class munin::plugins::postgres inherits munin::plugins::base {
     munin::plugin::deploy { "pg_conn": }
     munin::plugin::deploy { "pg__connections": ensure => 'absent' }