laura:~/downloads/nagios-3.0.5# make install-commandmode
/usr/bin/install -c -m 775 -o nagios -g nagcmdorh -d /usr/local/nagios/var/rw
/usr/bin/install: invalid group `nagcmdorh'
it’s a Debian etch machine, commands runned before exeucting above command:
apt-get install libgd2-dev
/usr/sbin/useradd -m nagios
passwd nagios
/usr/sbin/groupadd nagios
/usr/sbin/usermod -G nagios nagios
/usr/sbin/groupadd nagcmd
/usr/sbin/usermod -a -G nagcmd nagios
/usr/sbin/usermod -a -G nagcmd www-data
mkdir ~/downloads
cd ~/downloads
wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0.5.tar.gz
wget http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.11.tar.gz
cd ~/downloads
tar xzf nagios-3.0.5.tar.gz
cd nagios-3.0.5
./configure --with-command-group=nagcmd
make all
make install
make install-init
make install-config
make install-commandmode
This is pretty much the Ubuntu Quickstart guide.