how to configure MRTG for multiple nodes
Posted: Sun Sep 22, 2013 10:24 am
I have installed nagios and mrtg on centos 6.4 .
for MRTG I used this instruction for creating graphs:
cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output /etc/mrtg/mymrtg.cfg public@routerip-1
# indexmaker --output=/var/www/html/mymrtg/index.html /etc/mrtg/mymrtg.cfg
when I add another node IP with
cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output /etc/mrtg/mymrtg.cfg public@routerip-2
the http://hostip/mrtg just shows the last node graph
I wanna have the graph for all of them so what is the instruction to create graph with mrtg for multiple network elements?
TX
for MRTG I used this instruction for creating graphs:
cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output /etc/mrtg/mymrtg.cfg public@routerip-1
# indexmaker --output=/var/www/html/mymrtg/index.html /etc/mrtg/mymrtg.cfg
when I add another node IP with
cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output /etc/mrtg/mymrtg.cfg public@routerip-2
the http://hostip/mrtg just shows the last node graph
I wanna have the graph for all of them so what is the instruction to create graph with mrtg for multiple network elements?
TX