Permalink
Browse files

- Add an example userparameter. Issue is it requires the option "Allo…

…wRoot" which I'm not yet comfortable enabling
  • Loading branch information...
1 parent 3d03fd7 commit cedabe0cb648b36d8167769c88253ad0612962a6 @treydock committed Sep 15, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 files/userparameter_filesystem.conf
View
1 files/userparameter_filesystem.conf
@@ -1,3 +1,4 @@
# File managed by Puppet
# Returns size of directory
+# MAY REQUIRE ROOT PRIVILEGES, look at option "AllowRoot" in zabbix_agentd.conf
UserParameter=vfs.dir.size[*],du -h --summarize -b "$1" | awk -F" " '{ print $1 }'

0 comments on commit cedabe0

Please sign in to comment.