Wildcard in servicegroup causes segmentation fault
Bernd Adamowicz
bead at combots.com
Mon Jul 17 11:40:34 CEST 2006
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
}
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-devel.33.0.html?&tx_maillisttofaq_pi
1[showUid]=19919
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
More information about the Developers
mailing list