Page 1 of 1
Clean install Nagios Core
Posted: Fri Aug 08, 2014 3:46 pm
by WillemDH
Hello,
What would be the best procedure / documentation to install a Nagios Core server?
Grtz
Willem
Re: Clean install Nagios Core
Posted: Fri Aug 08, 2014 6:59 pm
by Box293
A nice clean "basic/minimal" build of CentOS 6.5
This document explains how to install Core from source:
http://library.nagios.com/library/produ ... rom-source
Note: check for the most recent version of Core as the document might reference an older version:
http://www.nagios.org/download/core/
Under Core DIY Source Free click Download
If you experience any issues try searching the General Support > Nagios Core forum as it has a lot of answers to common questions:
http://support.nagios.com/forum/viewforum.php?f=7
Nagios Core CentOS 7
Posted: Thu Sep 25, 2014 7:19 am
by WillemDH
Hello,
I've started with my nagios Core 4.0.8 installation today, and managed to make it work on a CentOS 7.
So is there any gui available for configuring hosts and services on Core 4? If so, what would be my best option? I heard very positive things of check_mk, but it doesn't seem compatible with Nagios Core 4 yet.
Edit: Found this thread:
http://support.nagios.com/forum/viewtop ... =7&t=22165
Would this mean check_mk is compatible with Nagios Core 4 now? So I would have to:
Code: Select all
cd /tmp
wget http://mathias-kettner.com/download/mk-livestatus-1.2.4.tar.gz
tar xzf mk-livestatus-1.2.4.tar.gz
cd mk-livestatus-1.2.4
./configure --with-nagios4
make
make install
But maybe with version 1.2.4p5 which seems to be the latest version..? If I can install Livestatus, would this mean I can install multisite gui?
Grtz
Willem
Re: Clean install Nagios Core
Posted: Thu Sep 25, 2014 9:44 am
by slansing
Yes it would mean that you could do that (not sure of their core 4 compatibility), though I'm not sure I'd trust that thread as the OP never got back to us on issues related to that installation. I have heard there is a version that is core 4 compatible I'll do some hunting around to see what I turn up.
Re: Clean install Nagios Core
Posted: Thu Sep 25, 2014 11:00 am
by Box293
WillemDH wrote:So is there any gui available for configuring hosts and services on Core 4?
NagiosQL *should* work.
Re: Clean install Nagios Core
Posted: Fri Sep 26, 2014 7:46 am
by WillemDH
I think I made a mistake installing Nagios Core 4 on CentOS 7. Found several issues. All the documentation I find is also only for CentOS 6.
Even a simple restart of nagios service does not seem to work with the gui (System -> Process Info -> Restart the Nagios process)
Code: Select all
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
Return from whence you came
I suppose I better reinstall on CentOS 6.5...
Grtz
Willem
Re: Clean install Nagios Core
Posted: Fri Sep 26, 2014 9:56 am
by abrist
WillemDH wrote:I suppose I better reinstall on CentOS 6.5...
Indeed. Core 4 is not yet compatible with the new init system in centos 7.
Re: Clean install Nagios Core
Posted: Sat Sep 27, 2014 10:16 am
by WillemDH
Hey Andy,
Thanks for confirming this. I'm gonna give omd a try I think.
You can close this thread.
Grtz
Re: Clean install Nagios Core
Posted: Mon Sep 29, 2014 8:49 am
by lmiltchev
Closing the thread.