Link to home
Start Free TrialLog in
Avatar of gumball60
gumball60Flag for United States of America

asked on

Nagios Core config files trouble

I can seem fine the solution for the below error when I run this verify command below....I check/verify the file localhost.cfg with hostgroups.cfg and keep getting this Warning

 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Warning: Duplicate definition found for hostgroup 'linux-servers' (config file '/usr/local/nagios/etc/objects/localhost.cfg', starting on line 47)
Error: Could not add object property in file '/usr/local/nagios/etc/objects/localhost.cfg' on line 48.
   Error processing object config files!

Suggestions?
SOLUTION
Avatar of Sanga Collins
Sanga Collins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gumball60

ASKER

I had duplicate entries