Hi Brandon,<br><br>I would normally agree with you, but there are numerous undocumented features w/i nagios, and it actually does recognize the option (the file I posted is completely self-contained); if you misspell the option (like serviceXgroup_name), it reports it as an unknown option. My much larger config uses this parameter for serviceescalation in other parts with no problems.The error says it can't 'expand the servicegroups specified', so 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 rewriting all my configs... :-/<br><br>-Eric<br><br><div class="gmail_quote">On Mon, Jun 27, 2011 at 3:43 PM, Brandon Williams <span dir="ltr"><<a href="mailto:bwilliams@zynga.com">bwilliams@zynga.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt">Looking at <u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal">define serviceescalation {<br> servicegroup_name group-1<br> first_notification 1<br> last_notification 6<br>
notification_interval 5<br> contacts primary-oncall<br>}<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">I don’t see an option for :<u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">servicegroup_name group-1<span style="font-size:11.0pt"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">In the Nagios documentation. I would try removing that line and trying again.<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><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><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> Eric B. [mailto:<a href="mailto:barnabus.pinklehorn@gmail.com" target="_blank">barnabus.pinklehorn@gmail.com</a>] <br>
<b>Sent:</b> Monday, June 27, 2011 2:46 PM<br><b>To:</b> <a href="mailto:nagios-users@lists.sourceforge.net" target="_blank">nagios-users@lists.sourceforge.net</a><br><b>Subject:</b> [Nagios-users] Expand service group error in 43 line test config (why?)<u></u><u></u></span></p>
</div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">This has me stumped. I whittled my ugly config down to 35 lines, and was still able to re-create the error. Any ideas what is wrong? I'm running 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 (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on line 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" target="_blank">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>}<u></u><u></u></p></div></div></div></div><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></blockquote></div><br>