Page 1 of 1

Automatic MRTG Configuration Management documentation

Posted: Mon Jun 15, 2026 10:55 am
by TBT
Where can we find documentation on the "Automatic MRTG Configuration Management" configuration option?

Re: Automatic MRTG Configuration Management documentation

Posted: Tue Jun 16, 2026 9:05 am
by DoubleDoubleA
It turns out we don't have an external doc on that, however, while we address that gap, here's what we have internally:

As of XI 2024R1.2, users may opt in to automatic management of MRTG Configuration.

To opt in, go to Admin->System Config->System Settings->General. Check the box for "Automatic MRTG Configuration Management" and then "Update Settings".

You can see the MRTG configuration that XI expects to exist by going to Configure->CCM->Advanced->MRTG Files. If you have MRTG configuration which is missing from this page, you can run /usr/local/nagiosxi/scripts/import_mrtg_configuration.php to attempt an automatic scan.

Once imported, configuration file referenced are linked to a host. If the host is deleted, the file reference will also be deleted.
When you Apply Configuration, Nagios XI will only retain the MRTG files that are listed in the MRTG Files section of the CCM - any others will be deleted.