def count_rrd(): """Add these counts to the rrd graph""" rrd = SystemCounts( ini.get('rrd_data').format(here=HERE), ini.get('rrd_graphs').format(here=HERE)) rrd.mark( datetime.now(), BmarkMgr.count(), BmarkMgr.count(distinct=True), TagMgr.count() ) rrd.update()
def count_rrd(): """Add these counts to the rrd graph""" rrd = SystemCounts( ini.get('rrd_data').format(here=HERE), ini.get('rrd_graphs').format(here=HERE)) rrd.mark(datetime.now(), BmarkMgr.count(), BmarkMgr.count(distinct=True), TagMgr.count()) rrd.update()
def generate_count_rrd(): """Update the png for the counts.""" rrd = SystemCounts( ini.get('rrd_data').format(here=HERE), ini.get('rrd_graphs').format(here=HERE)) rrd.output()