Hello all, I have joined an office where server's resources are being monitored on munin. Three red hat servers are running. one is configured as server ( munin + munin-node) and rest are client (munin-node). I am new with munin. dont know any thing about munin except its a monitoring tool over linux and it really seems to be great. Now i have installed and configured a new server rhel5. I installed munin-node and configured in this way /etc/munin/munin.conf host_name server4 allow ^192\.168\.1\.10$ ( munin-server IP i.e. server-2) and on the server side at server 2 [server4.mydomain.com] address 192.168.1.11 (server4's IP) use_node_name yes htmldir is set on server 2 like this htmldir /opt/munin/var/www service munin-node is running on server4. on the other hand on server2 where we see the graphs of all the servers ... its there only an entry like that mydomain.com :: [ day week month year ] server1.mydomain.com :: [ Disk Network Nfs Other Processes System ] server2.mydomain.com :: [ Disk Network Nfs Other Processes System ] server3.mydomain.com :: [ Disk Network Nfs Other Processes System ] server4.mydomain.com :: [ ] can any body help me whats wrong ? or what else needed to be configured? an early reponse will be highly appericiated. many thanks sohail
thanks for your time. well, on the server4 (rhel5)that is my new server and here its munin client and have munin-node working. well the log is not being generated . . . see its pasted here cat /var/log/munin/munin-node.log 2008/01/03-14:33:37 Server closing! Process Backgrounded 2008/01/03-14:33:37 MyPackage (type Net::Server::Fork) starting! pid(14402) Binding to TCP port 4949 on host * Setting gid to "0 0" 2008/01/03-14:34:55 Server closing! Process Backgrounded 2008/01/03-14:34:55 MyPackage (type Net::Server::Fork) starting! pid(14536) Binding to TCP port 4949 on host * Setting gid to "0 0" while on rest of the servers this log is being generated . . . i think problem lies here ... please let me know what to do now? secondaly, on the server end there is a tag in #/etc/opt/munin/munin.conf htmldir /opt/munin/var/www there is 3 folders (cgi, mydmain.com and server2) and three files (definitiions.html, index.html,style.css). Will i have to do something here ? please help me out.
Well, the previous clients were compiled from source by the previous sys admin, and they all are configured in /etc/opt/munin/munin-node.conf at RHEL4 while this new client is RHEL5 and I installed it by binary rpm file with default values. # cat /etc/selinux/config | grep SELINUX # SELINUX= can take one of these three values: SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: SELINUXTYPE=targeted please help me to sort out this problem. Thanks.
Hi falko Thanks for your response. Yes, the firewall is disabled. # telnet localhost 4949 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. # munin node at Server4 [root@Server4 root]#telnet 172.19.0.6 4949 Trying 172.19.0.6... Connected to 172.19.0.6 (172.19.0.6). Escape character is '^]'. Connection closed by foreign host. the entry in the server2 is like that [server4.mydomain.com] address 172.19.0.6 use_node_name yes If i try to connect through telnet to server4 from server2 [root@Server2 root]# telnet 172.19.0.6 4949 Trying 172.19.0.6... telnet: Unable to connect to remote host: No route to host I think problem is with firewall because i am not been able to connect to server by telnet but the firewall is disabled. SELINUX is disabled. then telnet? [root@server4 ~]# cat /etc/selinux/config | grep SELINUX # SELINUX= can take one of these three values: SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: SELINUXTYPE=targeted please guide where i missing something? Many thanks. Sam