Two differenet files hosts.cfg andhostsgroups.cfg in one Nagios

Hugo van der Kooij hvdkooij at vanderkooij.org
Sat Feb 3 09:03:47 CET 2007


On Sat, 3 Feb 2007, Morris, Patrick wrote:

>>  I need yor help very much
>>    I have hostgroup which I need to describe in another
>> configs. Updating
>>    script will work only with these files in order not to damage main
>>    configs in some case. So I made hosts2.cfg for my group
>> and described
>>    it in nagios.cfg as cfg_file parameter. For services I
>> used grouping
>>    services for the whole group. So the problem is halfly
>> decided. But I
>>    want to ask you can I make another file hostgroups2.cfg
>> ONLY for one
>>    group and describe it nagios.cfg as hosts2.cfg? Can Nagios
>> work with
>>    two files hostgroups?
>
> You can have any number of config files, arranged however you want. It
> doesn't matter.

Having said that you can only define each host once. SO you, as an admin, 
must take care of that.

Hugo.

-- 
 	hvdkooij at vanderkooij.org	http://hvdkooij.xs4all.nl/
 	    This message is using 100% recycled electrons.

-------------------------------------------------------------------------
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