Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th May 2006, 05:46
wizard wizard is offline
Junior Member
 
Join Date: May 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default munin-update.log error

I have problem aboute server monitoring with munin, i do it from
http://www.howtoforge.com/server_monitoring_monit_munin but in file
/var/log/munin/munin-update.log
show error here .

May 03 11:00:03 - Starting munin-update
May 03 11:00:03 [1398] - Processing domain: th.com
May 03 11:00:03 [1398] - Processing node: ayt.th.com
May 03 11:00:03 [1402] - Could not connect to ayt.th.com(localhost):
Connection refused - Attempting to use old configuration
May 03 11:00:03 [1398] - Processed node: ayt.th.com (0.02 sec)
May 03 11:00:03 [1398] - Processed domain: th.com (0.02 sec)
May 03 11:00:03 [1398] - connection from th.com -> ayt.th.com (1402)
May 03 11:00:03 [1398] - connection from th.com -> ayt.th.com (1402) closed
May 03 11:00:03 [1398] - Munin-update finished (0.29 sec)
May 03 11:50:03 - Starting munin-update
May 03 11:50:03 [3499] - Processing domain: th.com
May 03 11:50:03 [3499] - Processing node: ayt.th.com
May 03 11:50:03 [3500] - Could not connect to ayt.th.com(localhost):
Connection refused - Attempting to use old configuration
May 03 11:50:03 [3499] - Processed node: ayt.th.com (0.02 sec)
May 03 11:50:03 [3499] - Processed domain: th.com (0.02 sec)
May 03 11:50:03 [3499] - connection from th.com -> ayt.th.com (3500)
May 03 11:50:03 [3499] - connection from th.com -> ayt.th.com (3500) closed
May 03 11:50:03 [3499] - Munin-update finished (0.31 sec)
May 03 12:00:02 - Starting munin-update
May 03 12:00:02 [3927] - Processing domain: th.com
May 03 12:00:02 [3927] - Processing node: ayt.th.com
May 03 12:00:02 [3934] - Could not connect to ayt.th.com(localhost):
Connection refused - Attempting to use old configuration
May 03 12:00:02 [3927] - Processed node: ayt.th.com (0.04 sec)
May 03 12:00:02 [3927] - Processed domain: th.com (0.04 sec)
May 03 12:00:02 [3927] - connection from th.com -> ayt.th.com (3934)
May 03 12:00:02 [3927] - connection from th.com -> ayt.th.com (3934) closed
May 03 12:00:02 [3927] - Munin-update finished (0.32 sec)

What wrong and how to solved this problem ?
Reply With Quote
Sponsored Links
  #2  
Old 4th May 2006, 12:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

What's in /etc/munin/munin.conf?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 4th May 2006, 14:46
wizard wizard is offline
Junior Member
 
Join Date: May 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Detail in file Munin.conf

# Example configuration file for Munin, generated by 'make build'

# The next three variables specifies where the location of the RRD
# databases, the HTML output, and the logs, severally. They all
# must be writable by the user running munin-cron.
dbdir /var/lib/munin
htmldir /var/www/html/munin
logdir /var/log/munin
rundir /var/run/munin

# Where to look for the HTML templates
tmpldir /etc/munin/templates

# Make graphs show values per minute instead of per second
#graph_period minute

# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
# something changes (OK -> WARNING, CRITICAL -> OK, etc)
#contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm
#contact.anotheruser.command mail -s "Munin notification" anotheruser@blibb.comm
#
# For those with Nagios, the following might come in handy. In addition,
# the services must be defined in the Nagios server as well.
#contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c /etc/send_nsca.cfg

# a simple host tree
[ayt.th.com]
address localhost
use_node_name yes
Reply With Quote
  #4  
Old 4th May 2006, 18:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by wizard
[ayt.th.com]
address localhost
use_node_name yes
Please use
Code:
[ayt.th.com]
   address 127.0.0.1
   use_node_name yes
instead of

Code:
[ayt.th.com]
   address localhost
   use_node_name yes
What's in /etc/hosts?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th May 2006, 14:26
wizard wizard is offline
Junior Member
 
Join Date: May 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default munin-update

Detail in file /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 mail.ayt.th.com mail localhost.localdomain localhost
Reply With Quote
  #6  
Old 5th May 2006, 21:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Did you change /etc/munin/munin.conf and restart munin? Does it work now?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 6th May 2006, 06:53
wizard wizard is offline
Junior Member
 
Join Date: May 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How to restart munin ?
Reply With Quote
  #8  
Old 6th May 2006, 12:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Have a look at the tutorial:
Code:
/etc/init.d/munin-node restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 8th May 2006, 04:31
wizard wizard is offline
Junior Member
 
Join Date: May 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default Munin work,but password protect output not work

Thank you, it work.
but password protect output directory not work.
detail in file /var/www/html/munin/.htaccess

AuthType Basic
AuthName "Members Only"
AuthUserFile /var/www/html/munin/.htpasswd
<limit GET PUT POST>
require valid-user
</limit>

and detail in file
[root@www ~]# vi /var/www/html/munin/.htpasswd
admin:xxxxxxxxxx

When i browse to http://mywebserver/munin/ but not asked password.
what wrong and how to solve this problem ?

thank you .
Reply With Quote
  #10  
Old 8th May 2006, 10:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Please put something like
Code:
AllowOverride All
in your Apache configuration for that directory and restart Apache.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10 perfect setup error .. keybd_user Installation/Configuration 6 9th April 2006 18:06
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 17:14
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 19:07
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 11:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 5th October 2005 00:53


All times are GMT +2. The time now is 13:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.