Page 1 of 1

Doubt about members in define hostgroups

Posted: Thu Oct 04, 2018 5:12 am
by praxtoneitor
Hello, I have a somewhat old version of nagios core, in it, I define the members of a group as follows

define hostgroup {
hostgroup_name Group1
alias Group1
members example_ *
}

I have several hosts with the names example1, example2, example3, etc ... but when compiling nagios, it throws the following error, but in the previous version it worked.
Error: Could not find any host matching 'example_ *'

Could you help me??, thanks

Re: Doubt about members in define hostgroups

Posted: Thu Oct 04, 2018 1:03 pm
by scottwilkerson
wouldn't it need to be like this if they are named example1, example2, example3

Code: Select all

define hostgroup {
hostgroup_name Group1
alias Group1
members example*
}