I'm trying to monitor our /var/log/maillog to build a nice graph of how many messages have been sent in a period of time.
So I created a [/var/log/maillog,'sent'] item, but this transfers every matching line to the zabbix server. I'd rather see the number of hits for a given period of time, not the hits itself. Is there anyway to create an item like this? (something like log[/var/log/maillog,'sent'].count(60) maybe? )
So I created a [/var/log/maillog,'sent'] item, but this transfers every matching line to the zabbix server. I'd rather see the number of hits for a given period of time, not the hits itself. Is there anyway to create an item like this? (something like log[/var/log/maillog,'sent'].count(60) maybe? )