Wildcard in servicegroup causes segmentation fault

Ethan Galstad nagios at nagios.org
Tue Jul 18 17:49:19 CEST 2006


Bernd Adamowicz wrote:
> Hi Ethan				
> 
> 
> 
> got the latest tarball an hour ago (07-17-2006) and tryied again.
> 
> 
> 
> Seems the segfault has gone, but now Nagios doesn't recognize the
>  defined service if I'm defining the servivegroup as follows:
> 
> 
> 
> # check swap space on hosts
> 
> define service{
> 
>         host_name                       BSS-MGMT*
> 
>         service_description             Swapspace
> 
>         check_command                   check-swap
> 
>         use                             BSS-GenericService
> 
> }
> 
[snip]

You'll need to enable regular expressions in the main Nagios config file 
in order to use * or ? in various object directives.  Hope that helps.


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