Hey all, I'm trying to install Nagios Core on Debian Squeeze and this install is quite problematic. I think my main problem is that I can't find a Debian Quickstart Guide so I'm having to use an Ubuntu guide. I thought I was making progress until I tried to install the web interface. Running make install-webconf gives me the following error message:
root@DebNag:/home/jobee/Downloads/nagios# make install-webconf
/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf
/usr/bin/install: cannot create regular file `/etc/httpd/conf.d/nagios.conf': No such file or directory
make: *** [install-webconf] Error 1
root@DebNag:/home/jobee/Downloads/nagios#
I checked and I don't have an httpd folder under /etc. I'm following the instructions here:
http://nagios.sourceforge.net/docs/3_0/ ... buntu.html
I was told that installing from source is better than installing from a package manager but a package manager is starting to sound pretty good right now. SO, does anyone know where I can find a real Debian Quickstart guide? If not I'm going to redo this whole thing using Debian's package manager because I think I've spent enough time just trying to get this beast installed.
Thanks,
Joe B
Nagios install on Debian Squeeze problematic
Re: Nagios install on Debian Squeeze problematic
Unfortunately the main reference doc is a bit out of date for installation on some flavours of linux, I've never done a debian install myself but perhaps this guide might help: http://patrickmylund.com/blog/quick-it- ... th-nagios/
Re: Nagios install on Debian Squeeze problematic
I have a solution for this. The only downside is that the version it uses is older. Use the line below to get a fully functional nagios3 installation. Keep in mind that because of the line most files are located in a different location.
If you need some more help yell 
I am not sure who told you that the source is better then the normal package manager but i would recommend the later because its so much easier to upgrade and install.
Code: Select all
apt-get install nagios3 nagios3-doc unzip libphp-jpgraph librrdtool-oo-perl rrdtool make nagios-nrpe-plugin gcc libnet-snmp-perl snmp-mibs-downloader python php5-curl snmpd
I am not sure who told you that the source is better then the normal package manager but i would recommend the later because its so much easier to upgrade and install.
Re: Nagios install on Debian Squeeze problematic
Thanks jsmurphy, I now have Nagios up and running and now I'm installing clients on the machines I need to monitor. And thanks for the info SDohmen. If jsmurphy's link didn't work out I was going to use yours.
Thanks again,
Joe B
Thanks again,
Joe B
-
[email protected]
- Posts: 6
- Joined: Wed Feb 01, 2012 3:35 pm
Re: Nagios install on Debian Squeeze problematic
Unless there is something you know that you need in the latest version I would always recommend going with what is packaged in your distribution.
It generally gives you a much smoother ride.
Just my 2 cents.
It generally gives you a much smoother ride.
Just my 2 cents.