I am working on making Zabbix monitor the contents of a folder containing timemachine backups. OSX with timemachine server can warn you when backups are out of date, but i would like to monitor this with zabbix.
If i run
-I get a nicely formatted list containing ownername of the backup, and the date in a format that i think zabbix would be happy to work with,
Any suggestions on how I could make zabbix pick out users from this list of users with backups older than 10 days and make items and triggers dynamically?
Regards,
druber
If i run
Code:
/usr/bin/stat -lt "%Y%m%d %H:%M" /Volumes/backup/folder/* | /usr/bin/awk '{print $3 , $6}'
Code:
user.name1 20130524 user.name2 20130619 user.name3 20130618 user.name4 ... ...
Regards,
druber
Comment