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
Doubt about members in define hostgroups
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Doubt about members in define hostgroups
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*
}