From: Matthew B. <mlb...@co...> - 2011-05-25 12:18:00
|
On 25/05/11 07:48, Mihamina Rakotomandimby wrote: >> On Tue, 24 May 2011 23:31:13 -0700 (PDT) >> Mahmood Naderan<nt_...@ya...> wrote: > >> The first time I used munin, only eth3 was active so in the plugins >> folder, "if_" used eth3 data. Now I have setup eth2 and I want to see >> that traffic in munin. Problem is currently I see only eth3 traffic. >> Any idea about that? > > Create symlinks to have something like this: > > mihamina@lft-ambatobe:~$ ls -l /etc/munin/plugins/if_* > /etc/munin/plugins/if_err_eth0 -> /usr/share/munin/plugins/if_err_ > /etc/munin/plugins/if_err_eth1 -> /usr/share/munin/plugins/if_err_ > /etc/munin/plugins/if_err_eth3 -> /usr/share/munin/plugins/if_err_ > /etc/munin/plugins/if_err_eth3.29 -> /usr/share/munin/plugins/if_err_ > /etc/munin/plugins/if_err_eth5 -> /usr/share/munin/plugins/if_err_ > /etc/munin/plugins/if_eth0 -> /usr/share/munin/plugins/if_ > /etc/munin/plugins/if_eth1 -> /usr/share/munin/plugins/if_ > /etc/munin/plugins/if_eth3 -> /usr/share/munin/plugins/if_ > /etc/munin/plugins/if_eth3.29 -> /usr/share/munin/plugins/if_ > /etc/munin/plugins/if_eth5 -> /usr/share/munin/plugins/if_ > > Paths depend on you system. > > Then restart munin-node > You're done. munin-node-configure is the tool you want: munin-node-configure --suggest # check the changes for sanity munin-node-configure --suggest --shell | sh -x # restart munin-node service, and you're go. cheers, --matt -- Matthew Boyle, Systems Administrator, CoreFiling Limited Telephone: +44-1865-203192 Website: http://www.corefiling.com |