Page 1 of 1
Multipe Servers
Posted: Tue Jan 08, 2013 3:38 am
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?
Re: Multipe Servers
Posted: Tue Jan 08, 2013 10:23 am
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.
Re: Multipe Servers
Posted: Tue Jan 08, 2013 3:01 pm
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.
Re: Multipe Servers
Posted: Thu Jan 10, 2013 1:07 am
by edyth
hey i have tried to open NREP file but has refused to open..
Re: Multipe Servers
Posted: Thu Jan 10, 2013 10:37 am
by yancy
Edyth,
Are you able to open the .cfg file using root?
-Yancy
Re: Multipe Servers
Posted: Sat Jan 12, 2013 2:13 am
by edyth
Hey Guys..
Yancy im unable to get to that. please give me the path
Re: Multipe Servers
Posted: Mon Jan 14, 2013 11:03 am
by slansing
It is the same file you said refused to open, generally located under: