% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::part_export::cacti
Cacti integration for Freeside
This module in particular handles FS::part_export object creation for Cacti integration; consult any existing FS::part_export documentation for details on how that works.
Intended to be run as an FS::queue job.
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.
Removes all expired graphs for this export from the database.
Accepts optional current time, defaults to actual current time.
Returns timestamp for the oldest possible non-expired graph import, based on the import_freq option.
Jonathan Prykop jonathan@freeside.biz