diff options
author | mh <mh@immerda.ch> | 2008-07-19 15:09:59 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-07-19 15:09:59 +0000 |
commit | 1aa8557626f809278d31f6d0e75a6c8f4452e57f (patch) | |
tree | ff72a82c0e8b133fc2118a2e01789f9d886ff0c4 /manifests | |
parent | 919acf77dbd612b06b1b59b37216b80aaec41867 (diff) |
factored out munin plugin
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 2 | ||||
-rw-r--r-- | manifests/munin.pp | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index be83ba0..537718d 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -11,7 +11,7 @@ class squid { } if $use_munin { - include munin::plugins::squid + include squid::munin } } diff --git a/manifests/munin.pp b/manifests/munin.pp new file mode 100644 index 0000000..f2e555f --- /dev/null +++ b/manifests/munin.pp @@ -0,0 +1,8 @@ +# manifests/munin.pp + +class squid::munin { + 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': } +} |