ok I threw this box together this morning and to get everything working all together I had to add a few packages. Here is the break down on what got installed.
apt-get install apache2 - if you don't already have it
apt-get install openssh-server
apt-get install build-essential mc vim ntpdate smbfs
apt-get install nagios3
apt-get install libsnmp-perl libsnmp-session-perl
a quick fix after that was
chmod -R g+s /etc/nagios3
dpkg-statoverride --update --add nagios www-data 2710 /var/lib/nagios3/rw
dpkg-statoverride --update --add nagios nagios 751 /var/lib/nagios3
that was enough to get nagios up.. Next php and mysql
apt-get install php5 mysql-server-5.0 mysql-client-5.0 libapache2-mod-php5 php5-mysql php5-curl php5-cli php5-dev make gcc libc6-dev automake
apt-get install libapache2-mod-perl2 php5-common php5-dev php5-gd php5-imap php5-ldap php5-mhash php5-odbc
from there I copied over openaudit to my /var/www directory
/etc/init.d/apache2 restart
pointed browser to http://serveraddress/openaudit/setup.php
I think that is it. hope I didnt miss anything. Of course you have to do some configuration now
Tuesday, December 22, 2009
Wednesday, December 16, 2009
nagios setup on debian
Well I just got finished installing nagios on debian. This was my second attempt as I couldn't find a good document on the install. Basically there is a package that will install everything for you. just type apt-get install nagios3
Now after that was done I had a little trouble finding the correct folders. basically here is the breakdown on the folders.
/etc/nagios3 - config files also in /etc/nagios3/conf.d
/usr/share/nagios3 - htdocs, images, etc..
/etc/nagios-plugins - plugin directory
/var/lib/nagios3 - command directories
/usr/lib/nagios/plugins - check command files (can put custom perl scripts here)
I'm pretty sure those are the major folders used.
Now after that was done I had a little trouble finding the correct folders. basically here is the breakdown on the folders.
/etc/nagios3 - config files also in /etc/nagios3/conf.d
/usr/share/nagios3 - htdocs, images, etc..
/etc/nagios-plugins - plugin directory
/var/lib/nagios3 - command directories
/usr/lib/nagios/plugins - check command files (can put custom perl scripts here)
I'm pretty sure those are the major folders used.
Subscribe to:
Posts (Atom)