need to find/delete orphan entries from mrtg.cfg
Posted: Sun Feb 18, 2018 7:13 am
Dear Expert
We are very comfortable having one mrtg.cfg running interval of 5 minutes via crond. Now over the period, we have removed/deleted many Bandwidth services via CCM but entry lying there at /etc/mrtg/mrtg.cfg
Is there any script/tool/option, which check from mrtg.cfg as a master and if no service found in NagiosXI (/usr/local/nagios/etc/services) will delete the entry from mrtg.cfg?
In other words, want to remove orphan entries from /etc/mrtg/mrtg.cfg
Regards
We are very comfortable having one mrtg.cfg running interval of 5 minutes via crond. Now over the period, we have removed/deleted many Bandwidth services via CCM but entry lying there at /etc/mrtg/mrtg.cfg
Is there any script/tool/option, which check from mrtg.cfg as a master and if no service found in NagiosXI (/usr/local/nagios/etc/services) will delete the entry from mrtg.cfg?
In other words, want to remove orphan entries from /etc/mrtg/mrtg.cfg
Regards