This new plugin allows for Prometheus to scrape an OPNsense installation for
metrics - including CPU, Memory, devices, interfaces and so on.
The data can then be used for remote monitoring/alerting of an OPNsense
installation, or indeed graphing using popular graphing technologies such as
Grafana.
closes#452
-=david=-
width, align, valign, cellpadding, cellspacing, border, summary, bgcolor
Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
Error: The bgcolor attribute on the table element is obsolete. Use CSS instead.
This simple plugin takes a few parameters, such as hostname and username and
schedules a cron job to remotely scp the config.xml file at regular intervals.
It uses the public/private keypair of the built-in root user as the source of
the key exchange. This means that the public key must be copied to the remote
host and added to the authorized_keys file (for the defined user).
The remote file is backed up as `config-YYYY-DD-MM-HH-MM.xml`, for example:
`config-2018-01-02-15-40.xml`. It's possible to change the remote location of
where the config file is backed up to.
The cron job can be modified under System/Settings/Cron and the schedule
adjusted to suit the backup frequency requirements.
-=david=-
closes#457
* Suppress output when no SMART devices available
Small fix. Prevents empty form dropdowns when no SMART devices are available (i.e. running in a VM with a vdisk)
* use gettext for text
* better conditional check