Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
If you have the Nagios 2 contrib installed, follow the update instructions below
.
I'm now wondering if I still should follow those instructions, It also should be mentioned that this warning was after the part od running the getall wscript.
Thank you for your support.
Last edited by sebastiaopburnay on Wed Mar 06, 2013 2:35 pm, edited 1 time in total.
I am using Ubuntu 9.10. In following the Quickstart guide the package winds up in /etc/nagios3 instead of in /usr/local/etc/nagios. From then on the instructions don't line up. Also there is no objects directory below /etc/nagios3 so I'm not sure how to proceed with configuration. I'm trying to setup monitoring of Windows Servers. I have the NSClient agent installed on one windows machine now and am trying to configure the Nagios server to monitor it.
Yeah, Ubuntu/apt install places Nagios files different directories than a source install. For the Core quickstart guide to match up you'd need to install from source. I've found Ubuntu's documentation on what it does with Nagios files to be a little bit sketchy.
I've used a quick install script to install from source on an Ubuntu box, you're welcome to use it. It might need the the wget addresses updated, but the rest should work.
cd /tmp
##download these manually if the links are out of date
echo "Downloading source packages..."
wget http://prdownloads.sourceforge.net/sourceforge/nagios/#nagios-3.2.3.tar.gz
wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-#plugins-1.4.15.tar.gz
echo "Installing Nagios Core..."
useradd nagios -p nagios
tar zxf nagios-3.2.3.tar.gz
cd /tmp/nagios-3.2.3
./configure
make all
make install
make install-init
make install-commandmode
make install-config
make install-webconf
echo "########Enter password for nagiosadmin user:############"
htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
echo "Installing Nagios Plugins\n"
cd /tmp
tar zxf nagios-plugins-1.4.15.tar.gz
cd nagios-plugins-1.4.15
./configure
make
make all
make install
The Ubuntu packages follow the POSIX Filesystem Hierarchy Standard, as they are supposed to. The documentation for this can be found on http://www.pathname.com/fhs/pub/fhs-2.3.html