<% 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

NAME

FS::part_export::cacti

SYNOPSIS

Cacti integration for Freeside

DESCRIPTION

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.

SUBROUTINES

process_graphs JOB PARAM

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.

METHODS

cleanup

Removes all expired graphs for this export from the database.

exptime [ TIME ]

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.

AUTHOR

Jonathan Prykop jonathan@freeside.biz

<% include ('/elements/footer.html' ) %>