Tag Archives: install

installing munin with Debian


apt-get install munin munin node


chown munin:www-data -Rv /var/cache/munin/www

/etc/munin/apache.conf

16
17 Order allow,deny
18 #Allow from localhost 127.0.0.0/8 ::1
19 Allow from all
20 #Options None
21 Options FollowSymLinks

add file munin.conf to /etc/apache2/sites-available/


   ServerAdmin root@localhost
   DocumentRoot /var/www/munin
   
       Options FollowSymLinks
       AllowOverride None
   
   LogLevel notice
   CustomLog /var/log/apache2/access.log combined
   ErrorLog /var/log/apache2/error.log
   ServerSignature On


a2ensite munin.conf

this finally did the trick:

mv /var/cache/munin/www/ /var/www/munin

expect a few updates in the following days, beacuse


tail -f /var/log/apache2/error.log /var/log/munin/munin-html.log

is still giving a few errors

found the error:

munin.conf:9:htmldir /var/cache/munin/www

replaced by /var/www/munin

source

shinken install on debian for busy people


wget http://shinken-monitoring.org/pub/shinken-1.2.4.tar.gz
tar -xvzf shinken-1.2.4.tar.gz
cd shinken[tab]
./install -i

+--------------------------------------------------------------------------------
| Verifying compatible distros
+--------------------------------------------------------------------------------
> Found DEBIAN (Debian 7 x86_64)
> Version checking for Debian is not needed
+--------------------------------------------------------------------------------
| Checking for existing installation
+--------------------------------------------------------------------------------
+--------------------------------------------------------------------------------
| Checking prerequisites
+--------------------------------------------------------------------------------
> Checking for wget: OK
> Checking for sed: OK
> Checking for gawk: NOT FOUND. Installing it!
> Checking for grep: OK
> Checking for python: OK
> Checking for bash: OK
> Checking for sudo: NOT FOUND. Installing it!
> Installing build-essential libperl-dev python-setuptools libsqlite3-dev python-dev pyro sqlite3 nmap unzip libmysqlclient-dev python-ldap libevent-dev python-paste
> Module paramiko (paramiko) not found. Installing...
> Module netifaces (netifaces) not found. Installing...
> Module simplejson found.
> Module pysqlite found.
> Module MySQL_python found.
> Module pymongo (pymongo) not found. Installing...
> Module kombu (kombu) not found. Installing...
[..]
+--------------------------------------------------------------------------------
| Install mongodb server
+--------------------------------------------------------------------------------
> repository configuration not found. Adding 10 gen repository
> Installing mongodb server
+--------------------------------------------------------------------------------
| Applying various fixes
+--------------------------------------------------------------------------------
> updated configuration of module[3] passwd=/usr/local/shinken/etc/htpasswd.users updated configuration of module[3] passwd=/usr/local/shinken/etc/htpasswd.users
> Make files permissions and owners good
> Add Shinken entry for skonf in sudoers
/tmp/sudoers.shinken: parsed OK
/etc/sudoers.d/README: parsed OK
> Starting shinken
+------------------------------------------------------------------------------
| Shinken is now installed on your server
| The install location is: /usr/local/shinken
| The configuration folder is: /usr/local/shinken/etc
|
| The Web Interface is available at: http://localhost:7767
| The default credentials for the webui are admin/admin
|
| You can now learn how to configure shinken at: http://www.shinken-monitoring.org/wiki
+------------------------------------------------------------------------------

then I edited /usr/local/shinken/etc/skonf.cfg , because skonf was not starting (clue: vim /tmp/bad_start_for_skonf)

./install -p check_netint
> Found installation parameters
–> ETC=/usr/local/shinken/etc
–> VAR=/usr/local/shinken/var
–> LIBEXEC=/usr/local/shinken/libexec
–> TARGET=/usr/local/shinken
> checking if shinken is installed in /usr/local/shinken
+——————————————————————————–
| Install install_check_netint
+——————————————————————————–
> Installing pre-requisites.
> Downloading check_netint
> install check_netint
root@realbian:/usr/local/shinken# ln -s /usr/local/shinken/libexec/check_netint.pl /usr/local/shinken/libexec/check_snmp_netint.pl

./install -p nagios-plugins
./install -p check_mem
./install -p manubulon
./install -p check_nwc_health

and voilĂ !

source here