Hello,
I'm working with Zabbix for three and a half month now and I'm having a problem.
I want to monitor the total datatraffic per month.
For example:
Every first day of the month at 0:00 I want to know the difference between the current and the previous value.
I want to keep an eye on the datatraffic limit of the webhost and be warned when it's getting too high.
At the moment I use an Userparameter with an item (interval 86400 sec and delta (simple change)) to get the total amount of traffic per day:
UserParameter=network.traffic.total[*],echo "$((`/sbin/ifconfig $1 |grep bytes|cut -d":" -f2|cut -d" " -f1` + /sbin/ifconfig $1 |grep bytes|cut -d":" -f3|cut -d" " -f1`))"
Is there a solution to get the total data traffic per month, or is it only possible to do this per day (86400 sec)?
I know it is possible to work it out with a cronjob and push the value to the server, but I want use only Zabbix for it.
Thanks,
Roelof
__________________
Using:
- 1 Host (50 items)
- Zabbix ver 1.4.2 (for Linux)
I'm working with Zabbix for three and a half month now and I'm having a problem.
I want to monitor the total datatraffic per month.
For example:
Every first day of the month at 0:00 I want to know the difference between the current and the previous value.
I want to keep an eye on the datatraffic limit of the webhost and be warned when it's getting too high.
At the moment I use an Userparameter with an item (interval 86400 sec and delta (simple change)) to get the total amount of traffic per day:
UserParameter=network.traffic.total[*],echo "$((`/sbin/ifconfig $1 |grep bytes|cut -d":" -f2|cut -d" " -f1` + /sbin/ifconfig $1 |grep bytes|cut -d":" -f3|cut -d" " -f1`))"
Is there a solution to get the total data traffic per month, or is it only possible to do this per day (86400 sec)?
I know it is possible to work it out with a cronjob and push the value to the server, but I want use only Zabbix for it.
Thanks,
Roelof
__________________
Using:
- 1 Host (50 items)
- Zabbix ver 1.4.2 (for Linux)


Comment