Multipe Servers

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
edyth
Posts: 5
Joined: Tue Jan 08, 2013 3:34 am

Multipe Servers

Post by edyth »

I have installed nagios core in my linux machine.. i want it to monitor more than one server how do i do that?? where do i add th hosts from?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Multipe Servers

Post by nscott »

I would look into NRPE, the documentation can be found here: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

NRPE is generally found in the repositories for package managers nowadays, so you probably won't need to install it from source, which will make the installation a bit easier.
Nicholas Scott
Former Nagios employee
lcontreras
Posts: 48
Joined: Thu Sep 13, 2012 7:15 pm

Re: Multipe Servers

Post by lcontreras »

Hi Edyth

In the folder /usr/local/nagios/etc/objects you will find several files with the extension .cfg

windows.cfg --> windows hosts
localhost.cfg --> Linux server
templates.cfg --> a template file for creating new ones

and so, according you want to monitor, you have to edit the correct file, and by the way, you have to edit the file nagios.cfg that it's located at /usr/local/nagios/etc/ you will have to look for the sections where files .cfg are them.
edyth
Posts: 5
Joined: Tue Jan 08, 2013 3:34 am

Re: Multipe Servers

Post by edyth »

hey i have tried to open NREP file but has refused to open..
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Multipe Servers

Post by yancy »

Edyth,

Are you able to open the .cfg file using root?

-Yancy
edyth
Posts: 5
Joined: Tue Jan 08, 2013 3:34 am

Re: Multipe Servers

Post by edyth »

Hey Guys..
Yancy im unable to get to that. please give me the path
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Multipe Servers

Post by slansing »

It is the same file you said refused to open, generally located under:

Code: Select all

/usr/local/nagios/etc/nrpe.cfg
Locked