Adding hosts and services

Jim Perrin jperrin at gmail.com
Thu Feb 1 03:33:13 CET 2007


On 1/31/07, Nedim Bicic <nedo72 at gmail.com> wrote:
> Hey i am running nagios 2.4

You may wish to consider updating.

> The way i am updating by adding hosts to host cfg file and service.cfg file
> is ther another way or a template that can be easily updated into by linux
> box
> now when i open my host file the text like froze it doesnt appear like its
> thinking or something
> any advise on this would be helpful

You don't have to have all the hosts in one file and all the services
in another.
I have a hosts dir, in which I have subdirs for other locations I
monitor.  Inside these I have the host.cfg files calling a template
from my templates directory as needed. Each hosts file contains all
the info for that host, including services, and extended information.

You can set this up any way you wish. It's all about what works best for you.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list