/etc/mrtg/mrtg.cfg v/s /etc/mrtg/conf.d
Posted: Fri Nov 21, 2014 4:37 am
Dear Expert
Previously we found while scanning our device (HOST) all the interface get included in /etc/mrtg/mrtg.cfg even though we had selected only two interfaces. We limit the write access of MONITORING WIZARD and it stopped to add any interface/bandwidth in /etc/mrtg/mrtg.cfg , we go to /usr/local/nagiosxi/tmp/my-host-1 and select (copy) only required interface and was adding in /etc/mrtg/mrtg.cfg. Yes there is little extra work but this shrink our /etc/mrtg/mrtg.cfg file to just 10% of original file.
Now we found in new (in Nagios XI 2014R2.0) /etc/mrtg/conf.d/my-host-1.cfg it doing nearly same default behave of adding all the interfaces, what we fear in future, when there 1000 devices and one device having 10000 interfaces (yes 10000 interfaces physical+logical)) then that device file be huge, will Nagios able to perform MRTG for 1000x10000=10000000 interfaces?
Why NagiosXI adding all the interfaces in /etc/mrtg/conf.d/my-host-1.cfg while scanning from CONFIGURE MonitoringWIZARD we selecting only some interfaces?
Regards
Previously we found while scanning our device (HOST) all the interface get included in /etc/mrtg/mrtg.cfg even though we had selected only two interfaces. We limit the write access of MONITORING WIZARD and it stopped to add any interface/bandwidth in /etc/mrtg/mrtg.cfg , we go to /usr/local/nagiosxi/tmp/my-host-1 and select (copy) only required interface and was adding in /etc/mrtg/mrtg.cfg. Yes there is little extra work but this shrink our /etc/mrtg/mrtg.cfg file to just 10% of original file.
Now we found in new (in Nagios XI 2014R2.0) /etc/mrtg/conf.d/my-host-1.cfg it doing nearly same default behave of adding all the interfaces, what we fear in future, when there 1000 devices and one device having 10000 interfaces (yes 10000 interfaces physical+logical)) then that device file be huge, will Nagios able to perform MRTG for 1000x10000=10000000 interfaces?
Why NagiosXI adding all the interfaces in /etc/mrtg/conf.d/my-host-1.cfg while scanning from CONFIGURE MonitoringWIZARD we selecting only some interfaces?
Regards