title: Munin master not fetching data from external Munin-node
body: <p>I am trying to make my munin master fetch data from another external munin-node. But I seems to be running into problems.  The Munin master exist at 10.0.0.4, while the external node is at 10.0.0.1. I am trying to make 10.0.0.4 fetch the data from 10.0.0.1.</p>
  
  <p>I believe I have set up the configuration correctly:</p>
  
  <p>Edited /etc/munin/munin.conf on the munin_master to make it fetch data from 10.0.0.1.</p>
  
  <pre><code>[muninServer.vm] 
  address 10.0.0.1 
  use_node_name yes
  </code></pre>
  
  <p>Restarted Munin and apache on munin_master.</p>
  
  <pre><code>/etc/init.d/munin-node restart
  * Stopping Munin-Node    [ OK ]
   * Starting Munin-Node     [ OK ]
  </code></pre>
  
  <p>Also restarted apache2 on munin_master </p>
  
  <pre><code>/etc/init.d/apache2 restart
  </code></pre>
  
  <p>On the external munin-node edited /etc/munin/munin-node.conf, to allow the munin_master to collect the files from the external munin-node. </p>
  
  <pre><code>allow ^10\.0\.0\.4$
  </code></pre>
  
  <p>Also restarted munin. </p>
  
  <pre><code>/etc/munin# /etc/init.d/munin-node restart
   * Stopping Munin-Node             [ OK ]
   * Starting Munin-Node               [ OK ]
  </code></pre>
  
  <p>This seems to work fine for munin_master. However, when Munin master tries to establish a new connection with 10.0.0.1  on port 4949(by sending a SYN bit). The external node refuses the connection and responds with a reset bit. Since the external node is specified to accept this connection, I don’t see why this happens. </p>
  
  <p>My local firewall at 10.0.0.1 accept all traffic in by default. So this cannot be the reason:</p>
  
  <pre><code>iptables -L Chain INPUT (policy ACCEPT) target     prot opt source     destination
  
  Chain FORWARD (policy ACCEPT) target     prot opt source               destination
  
  Chain OUTPUT (policy ACCEPT) target     prot opt source               destination
  </code></pre>
  
  <p>Might be important to note that using: telnet 127.0.0.1 4949 on the external node works fine, while using telnet 10.0.0.1 4949 on the munin_master is being refused. </p>
  
  <p>Trying to find out if the port is listening on the external node:</p>
  
  <pre><code>lsof | grep TCP | grep LISTEN
  munin-nod  4669             root    5u     IPv4            2095805      0t0        TCP localhost:munin (LISTEN)
  
  netstat -tulpn
  Proto  Recv-Q      Send-Q Local Address           Foreign Address         State       PID/Program name
  tcp        0             0             127.0.0.1:4949          0.0.0.0:*                LISTEN      4669/perl
  </code></pre>
  
  <p>The content on the information in  munin-node.conf on the external node. </p>
  
  <pre><code>log_level 4
  log_file /var/log/munin/munin-node.log
  pid_file /var/run/munin/munin-node.pid
  background 1
  setsid 1
  user root
  group root
  
  ignore_file [\#~]$
  ignore_file DEADJOE$
  ignore_file \.bak$
  ignore_file %$
  ignore_file \.dpkg-(tmp|new|old|dist)$
  ignore_file \.rpm(save|new)$
  ignore_file \.pod$
  
  allow ^127\.0\.0\.1$
  allow ^::1$
  allow ::ffff:158.36.119.179
  allow ^10\.0\.0\.4$
  allow ^128\.39\.74\.58$
  
  host 127.0.0.1
  host ::ffff:158.36.119.179
  
  port 4949
  </code></pre>
  
  <p>Any suggestion to how to fix this problem would be greatly appreciated :)</p>