PDA

View Full Version : Sending a value by mail every day


themons
17-07-2006, 16:37
I check the a value and i want to receive every day the value by mail.
The value is a zabbix trapper and its a texte type (it's a report of disk usage). It seems not to be possible to use trigger on this type of item. I any body have an idea.

P.S.:I use this type of items because it's a standart script. So i don't have to configure eche file system of each computer

amcorreia
03-08-2006, 19:37
I check the a value and i want to receive every day the value by mail.
The value is a zabbix trapper and its a texte type (it's a report of disk usage). It seems not to be possible to use trigger on this type of item. I any body have an idea.

P.S.:I use this type of items because it's a standart script. So i don't have to configure eche file system of each computer

I don't know if it is possible in zabbix, but
you can do this with contrab
0 8 * * * echo "Disk usage $(df -sh)" | mail to@example.com

every day, 8:00am you receipt a email....
i don't tested this... ;)