Multiple hosts in services.cfg?

Andreas Ericsson ae at op5.se
Sat Oct 2 00:10:34 CEST 2004


Sean Dilda wrote:
> On Thu, 2004-09-30 at 08:05, Andreas Ericsson wrote:
> 
>>Ryan McCain wrote:
>>
>>>Can I put multiple hosts for the Hostname variable in services.cfg? 
>>>The reason I am looking to do this is because I have around 50 servers
>>>that I am looking to monitor the same port with?
>>>
>>
>>Yes. You can also have hostgroup_name in the service definition. They 
>>are not mutually exclusive.
>>
>>Remember that the list should be comma-separated and contain no spaces 
>>what so ever.
>>
>>In the future, you might want to test things like this first, since it's 
>>pretty easy to do and will keep some traffic off the list. nagios -v 
>>will tell you what you've done wrong, if anything, with some details.
> 
> 
> I think this is a fair question to put to the list considering its not
> mentioned anywhere in the documentation.  In fact, I've seen reference
> to this option, but always assumed it was a 2.0 feature since the docs
> that come with 1.2 make no reference to it all.
> 

What does it take to test? 5 seconds? Maybe 10 if you're a slow typer. I 
never said anything about it being mentioned in the documentation.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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