nagios报错Error Contact group 'sagroup'
配置完nagios时,报如下错误:[*]Error: Contact group 'sagroup' specified in service 'Current Load' for host 'localhost' is not defined anywhere!
[*]
[*]Error: Contact group 'sagroup' specified in service 'Current Users' for host 'localhost' is not defined anywhere!
[*]Error: Contact group 'sagroup' specified in service 'HTTP' for host 'localhost' is not defined anywhere!
[*]Error: Contact group 'sagroup' specified in service 'PING' for host 'localhost' is not defined anywhere!
[*]Error: Contact group 'sagroup' specified in service 'Root Partition' for host 'localhost' is not defined anywhere!
[*]Error: Contact group 'sagroup' specified in service 'SSH' for host 'localhost' is not defined anywhere!
[*]Error: Contact group 'sagroup' specified in service 'Swap Usage' for host 'localhost' is not defined anywhere!
[*]Error: Contact group 'sagroup' specified in service 'Total Processes' for host 'localhost' is not defined anywhere!
解决:
[*]将templates.cfg配置中的admins组更改为contactgroups.cfg中定义的sagroup
[*]
[*]或者把定义的vi objects/services.cfg 中contact_groups sagroup 改为admins
如果这篇文章帮助到了你,请不要吝啬你的回复!
页:
[1]