| 1 |
Template: mrtg/move_config_file |
| 2 |
Type: note |
| 3 |
_Description: /etc/mrtg.cfg should be moved to /etc/mrtg/mrtg.cfg |
| 4 |
Older versions of MRTG on Debian had the configuration file /etc/mrtg.cfg. |
| 5 |
The new version reads from /etc/mrtg/mrtg.cfg instead, so MRTG will not |
| 6 |
work correctly until you move your configuration across manually. |
| 7 |
|
| 8 |
Template: mrtg/fix_permissions |
| 9 |
Type: boolean |
| 10 |
Default: true |
| 11 |
_Description: Fix owner, group and permissions for /var/www/html/mrtg? |
| 12 |
By default MRTG writes all graphs in the directory /var/www/html/mrtg/. This |
| 13 |
directory currently exists, but it is insecure. The directory should be |
| 14 |
owned by the user 'mrtg' and group 'www-data', with recommended permissions |
| 15 |
of 0750. |
| 16 |
|
| 17 |
Template: mrtg/create_www |
| 18 |
Type: boolean |
| 19 |
Default: true |
| 20 |
_Description: Create /var/www/html/mrtg? |
| 21 |
By default MRTG writes all graphs in the directory /var/www/html/mrtg/. |
| 22 |
However, this directory doesn't currently exist. The directory should be |
| 23 |
owned by the user 'mrtg' and group 'www-data', with recommended permissions |
| 24 |
of 0750. |
| 25 |
. |
| 26 |
Alternatively, you can use another path for generated graphs. Note that |
| 27 |
keeping this directory empty when using another path is not a problem. |
| 28 |
|
| 29 |
Template: mrtg/remove_cron |
| 30 |
Type: boolean |
| 31 |
Default: true |
| 32 |
_Description: Remove old and conflicting file /etc/cron.d/mrtg? |
| 33 |
MRTG no longer needs to use cron because it is started via systemd |
| 34 |
(or init.d scripts). |
| 35 |
. |
| 36 |
A file /etc/cron.d/mrtg exists, left behind by an old version of MRTG. |
| 37 |
If kept, this file will cause duplicate work because MRTG now runs as a |
| 38 |
daemon. It is therefore strongly recommended to remove the cron file. |
| 39 |
. |
| 40 |
If this cron job is needed, consider renaming the file (e.g. from |
| 41 |
/etc/cron.d/mrtg to /etc/cron.d/mrtg-custom) to avoid future warnings. |