I have noticed that I can only display an uninterrupted period with CACTI. I am wondering whether is possible or not to make a custom graph which displaying only the business hours during a period (a week, a month, etc.).
For example, I would like to be able to display a graph with an average inbound traffic between 8am and 6pm for 5 business days a week (monday to friday) of the last month.
I've tried to configure a script for RRDtool, but I don't know the right syntax. After severals tests, I saw that it is possible to superimpose differents graphs together. I was thinking to calculate the average of all thoses graphs, but I'm don't know how to do it.
I would like to configure something like the following:
--startday 20120604+8h
--endday 20120604+18h
monday: --start startday --end endday
tuesday: --start startday+24h --end endday+24h
wednesday: --start startday+48h --end endday+48h
thursday: --start startday+72h --end endday+72h
friday: --start startday+96h --end endday+96h
DEF:monday=router.rrd:gi0/1:traffic_mon:AVERAGE
DEF:tuesday=router.rrd:gi0/1:traffic_tue:AVERAGE
DEF:wednesday=router.rrd:gi0/1:traffic_wed:AVERAGE
DEF:thursday=router.rrd:gi0/1:traffic_thu:AVERAGE
DEF:friday=router.rrd:gi0/1:traffic_fri:AVERAGE
DEF:traffic_mon:traffic_tue:traffic_wed:traffic_thu:traffic_fri:AVERAGE
I would apreciate any help.
Thank you.