--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/conf/freebsd.conf Wed Jul 14 08:23:31 2010 +0200
@@ -0,0 +1,5 @@
+# FreeBSD specific checks
+
+# Number of port vulnerabilities (need to have portaudit(1) installed)
+UserParameter=portaudit.problems,portaudit |grep 'problem(s)'|cut -f1 -d" "
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/conf/fs.conf Wed Jul 14 08:23:31 2010 +0200
@@ -0,0 +1,8 @@
+# Filesystem related parameters
+
+# Returns age of last modification time of file $1
+UserParameter=file.age[*],expr `date +%s` - `stat -f %m $1`
+
+# Returns count of files in directory $1
+UserParameter=dir.files[*],ls $1|wc -l
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/conf/mysql.conf Wed Jul 14 08:23:31 2010 +0200
@@ -0,0 +1,10 @@
+# Mysql monitoring (taken from original zabbix_agent conf)
+
+UserParameter=mysql.ping,mysqladmin -ureader ping|grep alive|wc -l
+UserParameter=mysql.uptime,mysqladmin -ureader status|cut -f2 -d":"|cut -f1 -d"T"
+UserParameter=mysql.threads,mysqladmin -ureader status|cut -f3 -d":"|cut -f1 -d"Q"
+UserParameter=mysql.questions,mysqladmin -ureader status|cut -f4 -d":"|cut -f1 -d"S"
+UserParameter=mysql.slowqueries,mysqladmin -ureader status|cut -f5 -d":"|cut -f1 -d"O"
+UserParameter=mysql.qps,mysqladmin -ureader status|cut -f9 -d":"
+UserParameter=mysql.version,mysql -V
+