Multipe Servers
Multipe Servers
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
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.
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
Former Nagios employee
-
lcontreras
- Posts: 48
- Joined: Thu Sep 13, 2012 7:15 pm
Re: Multipe Servers
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.
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
hey i have tried to open NREP file but has refused to open..
Re: Multipe Servers
Edyth,
Are you able to open the .cfg file using root?
-Yancy
Are you able to open the .cfg file using root?
-Yancy
Re: Multipe Servers
Hey Guys..
Yancy im unable to get to that. please give me the path
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
It is the same file you said refused to open, generally located under:
Code: Select all
/usr/local/nagios/etc/nrpe.cfg