System Engineering

Install Cacti on OpenSUSE 12.3

Posted on

1. Install requirements # add repository # mirror was expired(2014-12-22) : zypper ar -f -c -n openSUSE-12.3-server:monitoring http://download.opensuse.org/repositories/server:monitoring/openSUSE_12.3/ repo-monitoring zypper ar -f -c -n openSUSE-12.3-server:monitoring http://mirror.euserv.net/linux/opensuse/repositories/server%3a/monitoring/openSUSE_12.3/ repo-monitoring # install zypper install cacti cacti-spine cacti-plugin-docs cacti-plugin-hostinfo cacti-plugin-tools apache2 apache2-doc apache2-prefork 2. Create user cacti useradd -d /srv/www/cacti -s /bin/bash -g nobody cacti mkdir ~cacti/.ssh chown cacti:www […]

System Engineering

Install Nagios on OpenSUSE 12.3

Posted on

1. Install requirements zypper install nagios nagios-plugins nagios-www nagiosgraph apache2 apache2-doc apache2-prefork 2. Prepare mysql CREATE USER nagios@localhost CREATE DATABASE nagios GRANT … 3. Configure ndo2db vi /etc/nagios/ndo2db.cfg lock_file=/var/run/nagios/ndo2db.pid db_user=nagios db_pass=PASSWORD chgrp nagios /var/spool/nagios chmod g+w /var/spool/nagios mkdir /var/run/nagios chown nagios:nagios /var/run/nagios cd /usr/share/doc/packages/ndoutils/db perl ./installdb -u nagios -h localhost -d nagios -p PASSWORD vi /etc/sysctl.conf […]