Currently getting this error on attempt to apply config:
Error: Could not expand members specified in hostgroup (config file '/usr/local/nagios/etc/hostgroups.cfg', starting on line 3941)
I've deleted and rewritten the configs to get rid of any weirdness that might be hanging it up, but on verifying it prompts with this error. Any help is appreciated, thanks!
Problem applying config
Re: Problem applying config
It is possible that you have a missing host (member) or "empty" hostgroup, added as a member to another hostgroup. What do you see in '/usr/local/nagios/etc/hostgroups.cfg' on line 3941?
Can you go to the CCM > Quick Tools > Configuration Snapshots, download the latest failed snapshot (in red), and PM it to me (or any other member of the Nagios Support team)?
Thank you!
Can you go to the CCM > Quick Tools > Configuration Snapshots, download the latest failed snapshot (in red), and PM it to me (or any other member of the Nagios Support team)?
Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem applying config
@andrewatmacys, let us know if it is ok to lock this topic as the issue has been resolved. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem applying config
Before locking this topic, I would like to mention that the issue was caused by hostgroups with no members.
Example:
Hope this would help other Nagios XI users, having similar issues.
Example:
Code: Select all
define hostgroup{
hostgroup_name hostgroup_name
alias alias
members <blank>
}Be sure to check out our Knowledgebase for helpful articles and solutions!