Antwort: Service Definition Efficiency
Ralph.Grothe at itdz-berlin.de
Ralph.Grothe at itdz-berlin.de
Mon Jul 25 14:36:01 CEST 2005
> Ralph
>
> I may have missed you point but surely this:
>
> define hostgroup{
> hostgroup_name ssh_group
> alias servers with ssh
> members host1,host2,host3,host4,host5...
> }
>
> define /service/{
> hostgroup_name ssh_group
> service_description /ssh/
> check_command check_ssh/
> other service directives/ ...
> }
>
> works fine? The host_name and hostgroup_name are
interchangeable in
> service objects.
Thanks James, I have learned by now.
But this could have been stated somewhere (best in the Service
Definition Section) in the docs.
I was going to ask you if you were suggestion some Regexp syntax
(e.g. the slash markup),
but in your 2nd reply you blamed it on some HTMLifier ;-)
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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