I need help to use regex to organize my hosts.
I put this in my hostgroups_nagios2.cfg
…]
define hostgroup {
hostgroup_name radios_net6
alias rede radios net6
members radio_10.6.*
}
define hostgroup {
hostgroup_name radios_net64
alias rede radios net64
members radio_10.64.*
}
…]
but with this, the hosts with name starting with 10.64 is showing in both hostgroups radios_net6 and radios_net64.