Question about configuring Nagios and NRPE
Hello Everyone
I am setting up Nagios on Ubuntu. I am using nsclient++ on the host. I need to configure the hosts and the services. From the documentation of nsclient, i need to do this:
Where do I do this? I am very new to linux, and obviously befuddled. Is this the same file that I would modify to add in the unique services?
Thanks!
John
I am setting up Nagios on Ubuntu. I am using nsclient++ on the host. I need to configure the hosts and the services. From the documentation of nsclient, i need to do this:
define host{
use tpl-windows-servers ; Inherit default values from a template
host_name windowshost ; The name we're giving to this server
alias My First Windows Server ; A longer name for the server
address 10.0.0.2 ; IP address of the server
}
Where do I do this? I am very new to linux, and obviously befuddled. Is this the same file that I would modify to add in the unique services?
Thanks!
John
__________________________________________
Work In Progress: BSCI, Sharepoint
Work In Progress: BSCI, Sharepoint
Comments
-
RobertKaucher Member Posts: 4,299 ■■■■■■■■■■Hey, John. I have been using Nagios for a while, though I am no expert, and would suggest that you take a look at Zabbix as well. I found, once I figured it out, it was far easier to config and actually gave me info that was better presented and easier to read.
As for your question this is a host config file. On my server they are kept in /etc/nagios2/hosts/ They normally take the name of host_name.cfg