Results 1 to 2 of 2
I need some guidance. I upgraded our Nagios server from OSS 10.1 x64 to 10.3 x64. So, Nagios 1.3 to 2.9. I'm trying to get the old configs to work ...
- 03-06-2008 #1
Anyone load the Nagios RPMs in OpenSUSE 10.3?
I need some guidance. I upgraded our Nagios server from OSS 10.1 x64 to 10.3 x64. So, Nagios 1.3 to 2.9. I'm trying to get the old configs to work but I'm getting errors.
Basically, all 130+ servers gave the "Error: Host 'x' has no default contact group(s) defined!"Code:cacti:~ # nagios -v /etc/nagios/nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: Service check command 'check_ntp' specified in service 'NTP' for host 'sample1' not defined anywhere! Error: Service check command 'check_extdig' specified in service 'DNS' for host 'sample1' not defined anywhere! Error: Service check command 'check_extdig' specified in service 'DNS' for host 'sample2' not defined anywhere! Error: Service check command 'check_extdig' specified in service 'DNS' for host 'sample3' not defined anywhere! Error: Service check command 'check_dhcp' specified in service 'DHCP' for host 'pdc1' not defined anywhere! Error: Service check command 'check_dig' specified in service 'DNS' for host 'pdc1' not defined anywhere! Error: Service check command 'check_tcp2' specified in service 'FreightRater Connector' for host 'sql' not defined anywhere! Error: Service check command 'sql' specified in service 'SQL Server' for host 'sql' not defined anywhere! Error: Service check command 'sql1' specified in service 'SQL Server' for host 'sql1' not defined anywhere! Error: Service check command 'check_dig' specified in service 'DNS' for host 'bdc' not defined anywhere! Error: Service check command 'check_ldap' specified in service 'LDAP' for host 'bdc' not defined anywhere! Error: Service check command 'check_nt_cpuload' specified in service 'CPU Load' for host 'test1' not defined anywhere! Error: Service check command 'check_nt_clientversion' specified in service 'Client Version' for host 'test1' not defined anywhere! Error: Service check command 'check_nt_disk' specified in service 'Disk Space' for host 'test1' not defined anywhere! Error: Service check command 'check_nt_memuse' specified in service 'Memory Usage' for host 'test1' not defined anywhere! Error: Service check command 'check_nt_uptime' specified in service 'Uptime' for host 'test1' not defined anywhere! Error: Service check command 'check_dig' specified in service 'DNS' for host 'pdc2' not defined anywhere! Error: Service check command 'check_dig' specified in service 'DNS' for host 'pdc3' not defined anywhere! Checked 150 services. Checking hosts... Error: Host 'testbox' has no default contact group(s) defined!
In 1.3, there was a contact_group option defined in the hostgroups.cfg. I had to comment it out because the check config command kept saying it was invalid. Now I get this far but once again its telling me it's not defined. How do I define it?
Also, what is up with the services?
Thanks!I praise Webmin and PuTTy!
Registered Linux User: 439431
- 03-06-2008 #2Just Joined!
- Join Date
- Feb 2008
- Posts
- 29
Check your configuration file. The config file has wrong entries.


Reply With Quote