http://www.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/FS/part_export/cacti&feed=atom&action=historyFreeside:4:Documentation:Developer/FS/part export/cacti - Revision history2024-03-29T12:28:10ZRevision history for this page on the wikiMediaWiki 1.27.7http://www.freeside.biz/mediawiki/index.php?title=Freeside:4:Documentation:Developer/FS/part_export/cacti&diff=9429&oldid=prevJeremyd: Edit via perl MediaWiki framework (1.13)2015-11-18T15:36:22Z<p>Edit via perl MediaWiki framework (1.13)</p>
<p><b>New page</b></p><div>==NAME==<br />
FS::part_export::cacti<br />
<br />
==SYNOPSIS==<br />
Cacti integration for Freeside<br />
<br />
==DESCRIPTION==<br />
This module in particular handles FS::part_export object creation for Cacti integration; consult any existing [[Freeside:4:Documentation:Developer/FS/part export|FS::part_export]] documentation for details on how that works.<br />
<br />
==SUBROUTINES==<br />
; process_graphs JOB PARAM<br />
:Intended to be run as an FS::queue job.<br />
<br />
:Copies graphs for a single service from Cacti export directory to FS cache, generates basic html pages for this service with base64-encoded graphs embedded, and stores the generated pages in the database.<br />
<br />
==METHODS==<br />
; cleanup<br />
:Removes all expired graphs for this export from the database.<br />
; exptime [ TIME ]<br />
:Accepts optional current time, defaults to actual current time.<br />
<br />
:Returns timestamp for the oldest possible non-expired graph import, based on the import_freq option.<br />
<br />
==AUTHOR==<br />
Jonathan Prykop jonathan@freeside.biz<br />
<br />
==LICENSE AND COPYRIGHT==<br />
Copyright 2015 Freeside Internet Services<br />
<br />
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.</div>Jeremyd