Reports

The Reporting module brings report creation and automation capabilities to Opsview Monitor SMB, Enterprise and MSP plans (optional module for Opsview Monitor SMB customers). Based on JasperReports, the module creates and distributes professional-looking reports to your customers and staff.

Dependencies Copied

It requires Java (version 8 or version 11, depending on your OS) and MySQL or MariaDB.

Installation Copied

Refer to Reports Module (Optional).

Management Copied

Configuration Copied

DPKGs Copied

Watchdog service files are now managed by the package, doing a remove would leave the watchdog service file behind with a .save extension. Purging the package will remove it. The package managed config file:

/opt/opsview/watchdog/etc/services/opsview-reportingmodule.conf

RPMs Copied

Watchdog service files are now managed by the package. Any modifications will be saved at upgrade and remove time.

/opt/opsview/watchdog/etc/services/opsview-reportingmodule.conf

Service administration Copied

As root, start, stop and restart the service using:

/opt/opsview/watchdog/bin/opsview-monit <start|stop|restart> opsview-reportingmodule

Administration tools Copied

Set up the reports environment variables to facilitate in using the proceeding tools:

su - opsview
cd /opt/opsview/jasper/
source ./bin/rc.java

Backup the ODW datasource information Copied

./buildomatic/js-export.sh --uris /datasources --output-zip /var/tmp/reports-datasource-backup.zip

Backup the scheduled reports information Copied

./buildomatic/js-export.sh --report-jobs --output-zip /var/tmp/reports-jobs-backup.zip

Export reports Copied

./buildomatic/js-export.sh --uris /reports --output-dir /var/tmp/reports
./buildomatic/js-export.sh --uris /reports --output-zip /var/tmp/reports.zip

Update reports with modified content Copied

./buildomatic/js-import.sh --input-dir /var/tmp/reports --update

Restore Scheduled jobs and Datasources Copied

./buildomatic/js-import.sh --input-zip /var/tmp/reports-jobs-backup.zip --update
./buildomatic/js-import.sh --input-zip /var/tmp/reports-datasource-backup.zip --update
["Opsview On-premises"] ["User Guide"]

Was this topic helpful?