Clean install Nagios Core

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.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Clean install Nagios Core

Post by WillemDH »

Hello,

What would be the best procedure / documentation to install a Nagios Core server?

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Clean install Nagios Core

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Nagios Core CentOS 7

Post 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
Nagios XI 5.8.1
https://outsideit.net
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Clean install Nagios Core

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Clean install Nagios Core

Post by Box293 »

WillemDH wrote:So is there any gui available for configuring hosts and services on Core 4?
NagiosQL *should* work.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Clean install Nagios Core

Post 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
Nagios XI 5.8.1
https://outsideit.net
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Clean install Nagios Core

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Clean install Nagios Core

Post by WillemDH »

Hey Andy,

Thanks for confirming this. I'm gonna give omd a try I think.

You can close this thread.

Grtz
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Clean install Nagios Core

Post by lmiltchev »

Closing the thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked