Problem with Service Wildcards and Hostgroup e scalations

Tedman Eng teng at dataway.com
Wed Sep 15 02:30:40 CEST 2004


Please post to internet mailing lists and/or newsgroups using plaintext
only.
See what your Microsoft HTML formatted email looks like below.
It's possibly one reason you're not receiving many responses.


Regarding your question:
Have you tried specifying using the host_name format comma seperated?

define serviceescalation{
	host_name		HOST1,HOST2,HOST3
	service_description	*
	other escalation directives ...
	}

Using "hostgroup_name" in addition to a wildcard or using multiple wildcards
may not be supported.  Nagios 2.0 may have better handling of wildcards,
someone using 2.0 may be able to tell you.


-----Original Message-----
From: Jon Gefaell [mailto:jgefaell at netblue.com]
Sent: Tuesday, September 14, 2004 2:58 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Problem with Service Wildcards and Hostgroup
escalations


<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=4 face="Times New Roman"><span
style='font-size:
13.5pt'>Hello all<font color=navy><span style='color:navy'>, I posted this
yesterday
and noticed lots of kind folks answering lots of questions, but not
answering
mine. Could someone have a look and offer a clue? Thanks In Advance, it is
much
appreciated!</span></font><br>
<br>
I'm trying to configure escalations by group using the document 'Time Saving
Tricks for Template-Based Object Definitions' But the form I need isn't
described there though it seems valid by implication. In practice however it
isn't. I can't imagine why not. (maybe there is another way to do what I
want?)<br>
<br>
What I want to do is;<br>
<br>
hostgroup_name   datagroup<br>
service_description   *<br>
<br>
This should (???) cause all services on all hosts in the hostgroup named
'datagroup' to use this escalation definition, yes?<br>
<br>
Instead I get an error message of the form;<br>
<br>
Error: Service escalation for service '*' on host 'email1 email2' is not
defined anywhere!<br>
<br>
In this case the hostgroup_name was 'mail' and the members are email1 and
email2. They both have about 18 services defined. The form;<br>
<br>
hostname   email1<br>
service_description   *<br>
<br>
works just fine. I'd hate to have to duplicate and maintain an escalation
definition for each host though!<br>
<br>
Again, Thanks In Advance.<br>
<br>
-JG</span></font><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p></o:p></span></font></p>

</div>

</body>

</html>


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
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