I have installed Nagios 2.9 on SUSE. Now, when I run
nagios -v /etc/nagios/nagios.cfg I get a few errors. I’ll try to make this as clear as possible for ya’s!
The first issue is with services.cfg.
Error: Service check command 'check_ntp' specified in service 'NTP' for host 'testserver' not defined anywhere!
There are many of these services errors for all different hosts. How do I define this correctly?
Here is a blurb of services.cfg:
[code]# Service definition
use generic-service ; Name of service template to use
host_name testserver service_description NTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups chlinux-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ntp }[/code]
The second issue is with the default host groups. Here is an excerpt.
And here is the blurb from hostgroups.cfg:
[code]# ‘as-400’ host group definition
alias AS 400
members www,notes }[/code]
Any help is ALWAYS appreciated. Thanks! Also, keep in mind I’m using 1.3 configs and need to mold them to work with 2.9. It looks like these two issues are standing in my way.