wombat.ch

your Partner for Network Design and CMS

Message
  • Failed loading XML...
  • Failed loading XML... Opening and ending tag mismatch: link line 1 and head Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'raquo' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Opening and ending tag mismatch: link line 1 and html Premature end of data in tag meta line 1
  • Failed loading XML... Opening and ending tag mismatch: link line 1 and head Opening and ending tag mismatch: img line 1 and a Opening and ending tag mismatch: a line 1 and div Opening and ending tag mismatch: input line 1 and p Opening and ending tag mismatch: input line 1 and form Opening and ending tag mismatch: input line 1 and div Opening and ending tag mismatch: p line 1 and div Opening and ending tag mismatch: form line 1 and div Opening and ending tag mismatch: hr line 1 and div Specification mandates value for attribute disabled attributes construct error Couldn't find end of Start Tag option line 1 Opening and ending tag mismatch: select line 1 and option Entity 'agrave' not defined Entity 'ntilde' not defined Entity 'ccedil' not defined Entity 'nbsp' not defined Entity 'aring' not defined Entity 'ecirc' not defined Entity 'acirc' not defined Entity 'uuml' not defined Entity 'ccedil' not defined Opening and ending tag mismatch: div line 1 and select Opening and ending tag mismatch: hr line 1 and div Entity 'emsp' not defined Entity 'copy' not defined Opening and ending tag mismatch: br line 1 and p Opening and ending tag mismatch: br line 1 and div Opening and ending tag mismatch: p line 1 and div Opening and ending tag mismatch: div line 1 and body Opening and ending tag mismatch: hr line 1 and html Premature end of data in tag hr line 1

Monitoring FreeBSD with Munin

Munin is a monitoring tool available in the FreeBSD ports. It tracks the vital signs of your servers and charts everything on graphs by day, week, month and year. It makes it easy to see when your server gets spikes of traffic and how well it handles them. It can also show you how your traffic is increasing over the month or year so that you can plan out when you will need to upgrade or add more servers.
on FreeNAS  #  cd /usr/local/etc/pkg/repos/
  #  vi local.conf set enable to No
# vi FreeBSD.conf set enable to yes




Munin-Node

Munin is split between two ports. One port is for the clients and one is for the server that tracks and charts the data. On all machines that you plan to monitor, including the machine that will act as the munin server if you wish, install munin-node from the ports.

 # pkg install munin-node 
 
 





will prompt you to add the group. Press y for both these as they come up.


You need a group "munin". Would you like me to create it [y]? y
Would you like me to set up log rotation [y]? y

Now that munin-node has been installed you need to enable it in the rc.conf file before you can run it.


Open the file and add the following line

# ee /etc/rc.conf

munin_node_enable="YES"

Munin-Node Config File

The munin node config file contains the settings as well as the ips that can access the data from the node. Open this file:

# ee /usr/local/etc/munin/munin-node.conf

The only critical setting in this file that you will need to change at first is the list of allowed addresses. It defaults to only allow the localhost to access the node data. If you are running the munin-main server on the same machine then this is all you will want, but if you have it on a seperate machine you will need to add the ip. If your server running munin-main was on 192.168.0.50 you would add the following:

allow ^192\.168\.0\.50$If munin node is already running restart it to put these changes into effect with:

# sh /usr/local/etc/rc.d/munin-node.sh restart

Starting up Munin-Node

Now that your node is configurated start it up from the rc.d folder.

# sh /usr/local/etc/rc.d/munin-node.sh start Starting munin_node.You can test that everything is working correctly by telneting into munin from the local machine. Type version to check the munin version and fetch cpu to see the current cpu stats.

# telnet localhost 4949 Trying 127.0.0.1... Connected to localhost.freebsdmadeeasy.com. Escape character is '^]'. # munin node at www.freebsdmadeeay.com version munins node on www.freebsdmadeeasy.com version: 1.2.5 fetch cpu user.value 11975593 nice.value 14303 system.value 5550264 interrupt.value 3717056 idle.value 948846761 . quit Connection closed by foreign host.

Source/Quellen:
http://www.freebsdmadeeasy.com/tutorials/web-server/monitoring-with-munin.php
guide.munin-monitoring.org/en/latest/installation/install.html
-
-
-

Installing Munin

# pkg install munin-node
Updating local repository catalogue...
pkg: Repository local load error: access repo file(/var/db/pkg/repo-local.sqlite) failed: No such file or directory
pkg: file:///usr/ports/packages/meta.txz: No such file or directory
repository local has no meta file, using default settings
pkg: file:///usr/ports/packages/packagesite.txz: No such file or directory
Unable to update repository local
Error updating repositories!

# freebsd-version
11.2-STABLE



 

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 527 guests and no members online

We have 526 guests, one bot and no members online


one bot:
1 x BOT for JCE