Page 1 of 1

Re: [Nagios-devel] Wildcard in servicegroup causes segmentation

Posted: Mon Jul 17, 2006 1:40 am
by Guest
Hi Ethan =09



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

}



define servicegroup{

servicegroup_name SwapspaceAllSystems

alias Services checking the swap space on=

disk

members BSS-MGMT-SMServer*,Swapspace

}



When running the pre-flight-check, I get this error:



Checking service groups...

Error: Service 'Swapspace' on host 'BSS-MGMT-SMServer*' specified=

in service group 'SwapspaceAllSystems' is not defined anywhere!

Checked 1 service groups.





If the wildcard in the hostname is removed and replaced by a regular=

host name it works well:



define servicegroup{

servicegroup_name SwapspaceAllSystems

alias Services checking the swap space on=

disk

members BSS-MGMT-SMServer-Test04b,Swapspace

}





Regards

- Bernd Adamowicz (Bernd)



-----------------------

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagios-de ... ttofaq_pi=

1[showUid]=3D19919

=09





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]