Hi Yueh-Hung,<br><br>Unfortunately, same result (just tried it).<br><br>-E<br><br><div class="gmail_quote">On Mon, Jun 27, 2011 at 7:05 PM, Yueh-Hung Liu <span dir="ltr"><<a href="mailto:yuehung.liu@gmail.com">yuehung.liu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">try to remove the line 'register 0' from the definition of your servicegroup.<br>
<div><div></div><div class="h5"><br>
<br>
On Tue, Jun 28, 2011 at 8:17 AM, Eric B. <<a href="mailto:barnabus.pinklehorn@gmail.com">barnabus.pinklehorn@gmail.com</a>> wrote:<br>
> Hi Brandon,<br>
><br>
> I would normally agree with you, but there are numerous undocumented<br>
> features w/i nagios, and it actually does recognize the option (the file I<br>
> posted is completely self-contained); if you misspell the option (like<br>
> serviceXgroup_name), it reports it as an unknown option. My much larger<br>
> config uses this parameter for serviceescalation in other parts with no<br>
> problems.The error says it can't 'expand the servicegroups specified', so<br>
> I'm leaning towards that the problem you mentioned as a red herring...<br>
><br>
> Hopefully your thought isn't the case, otherwise, I have a big problem<br>
> rewriting all my configs... :-/<br>
><br>
> -Eric<br>
><br>
> On Mon, Jun 27, 2011 at 3:43 PM, Brandon Williams <<a href="mailto:bwilliams@zynga.com">bwilliams@zynga.com</a>><br>
> wrote:<br>
>><br>
>> Looking at<br>
>><br>
>><br>
>><br>
>> define serviceescalation {<br>
>> servicegroup_name group-1<br>
>> first_notification 1<br>
>> last_notification 6<br>
>> notification_interval 5<br>
>> contacts primary-oncall<br>
>> }<br>
>><br>
>><br>
>><br>
>> I don’t see an option for :<br>
>><br>
>><br>
>><br>
>> servicegroup_name group-1<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> In the Nagios documentation. I would try removing that line and trying<br>
>> again.<br>
>><br>
>><br>
>><br>
>><br>
>> <a href="http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation" target="_blank">http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation</a><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> From: Eric B. [mailto:<a href="mailto:barnabus.pinklehorn@gmail.com">barnabus.pinklehorn@gmail.com</a>]<br>
>> Sent: Monday, June 27, 2011 2:46 PM<br>
>> To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
>> Subject: [Nagios-users] Expand service group error in 43 line test config<br>
>> (why?)<br>
>><br>
>><br>
>><br>
>> This has me stumped. I whittled my ugly config down to 35 lines, and was<br>
>> still able to re-create the error. Any ideas what is wrong? I'm running<br>
>> Nagios Core v. 3.2.3. Much thanks in advance!<br>
>><br>
>> -Eric<br>
>><br>
>> Error is:<br>
>><br>
>> Error: Could not expand servicegroups specified in service escalation<br>
>> (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on line<br>
>> 13)<br>
>> Error processing object config files!<br>
>><br>
>> Here's the config:<br>
>><br>
>> define servicegroup {<br>
>> servicegroup_name group-1<br>
>> alias All Services<br>
>> register 0<br>
>> }<br>
>><br>
>> define contact {<br>
>> contact_name primary-oncall<br>
>> alias Primary Oncall<br>
>> email <a href="mailto:foo@bar.com">foo@bar.com</a><br>
>> }<br>
>><br>
>> define serviceescalation {<br>
>> servicegroup_name group-1<br>
>> first_notification 1<br>
>> last_notification 6<br>
>> notification_interval 5<br>
>> contacts primary-oncall<br>
>> }<br>
>><br>
>> define service {<br>
>> servicegroups group-1<br>
>> host_name <a href="http://admin.qa" target="_blank">admin.qa</a><br>
>> check_command check_foo<br>
>> }<br>
>><br>
>> define host {<br>
>> host_name <a href="http://admin.qa" target="_blank">admin.qa</a><br>
>> address 127.0.0.1<br>
>> }<br>
>><br>
>> define command {<br>
>> command_name check_foo<br>
>> command_line /bin/true<br>
>> }<br>
>><br>
>><br>
>> ------------------------------------------------------------------------------<br>
>> All of the data generated in your IT infrastructure is seriously valuable.<br>
>> Why? It contains a definitive record of application performance, security<br>
>> threats, fraudulent activity, and more. Splunk takes this data and makes<br>
>> sense of it. IT sense. And common sense.<br>
>> <a href="http://p.sf.net/sfu/splunk-d2d-c2" target="_blank">http://p.sf.net/sfu/splunk-d2d-c2</a><br>
>> _______________________________________________<br>
>> Nagios-users mailing list<br>
>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
>> ::: Please include Nagios version, plugin version (-v) and OS when<br>
>> reporting any issue.<br>
>> ::: Messages without supporting info will risk being sent to /dev/null<br>
><br>
><br>
> ------------------------------------------------------------------------------<br>
> All of the data generated in your IT infrastructure is seriously valuable.<br>
> Why? It contains a definitive record of application performance, security<br>
> threats, fraudulent activity, and more. Splunk takes this data and makes<br>
> sense of it. IT sense. And common sense.<br>
> <a href="http://p.sf.net/sfu/splunk-d2d-c2" target="_blank">http://p.sf.net/sfu/splunk-d2d-c2</a><br>
> _______________________________________________<br>
> Nagios-users mailing list<br>
> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> ::: Please include Nagios version, plugin version (-v) and OS when reporting<br>
> any issue.<br>
> ::: Messages without supporting info will risk being sent to /dev/null<br>
><br>
<br>
------------------------------------------------------------------------------<br>
All of the data generated in your IT infrastructure is seriously valuable.<br>
Why? It contains a definitive record of application performance, security<br>
threats, fraudulent activity, and more. Splunk takes this data and makes<br>
sense of it. IT sense. And common sense.<br>
<a href="http://p.sf.net/sfu/splunk-d2d-c2" target="_blank">http://p.sf.net/sfu/splunk-d2d-c2</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br>