Nagios 3 problem with templated SVC dependancies

Ethan Galstad nagios at nagios.org
Tue Mar 6 14:09:06 CET 2007


Thomas Guyot-Sionnest wrote:
> Hi list,
> 
> I converted a working v2 config to v3 and there's one thing that broke.
> I have servicedependency templates of this form:
> 
> define servicedependency {
>   hostgroup_name some_hostgroup,some_other_hostgroup
>   name           some_svc_dep
>   register       0
> }
> 
> This works well on v2.7, but on CVS HEAD I get this:
> 
> Error: Could not expand master services specified in service dependency
> (config file 'path_to_some_templates.cfg', starting on line 123)
> 
> Is that supposed to work?
> 
> Thomas

It should.  I'll add a test to skip expansion for dependencies that 
shouldn't be registered.


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list