Hello, <br>I've been trying to debug this issue for some time but i'm stuck and have not found a solution. Nagios -v nagios.cfg has no complaints, just warns me that services are not associated with hosts:<br><br>
Nagios 3.0.6<br>Copyright (c) 1999-2008 Ethan Galstad (<a href="http://www.nagios.org">http://www.nagios.org</a>)<br>Last Modified: 12-01-2008<br>License: GPL<br><br>Reading configuration data...<br><br>Running pre-flight check on configuration data...<br>
<br>Checking services...<br> Checked 8 services.<br>Checking hosts...<br>Warning: Host 'ipdream' has no services associated with it!<br>Warning: Host 'rails_playground' has no services associated with it!<br>
Checked 3 hosts.<br>Checking host groups...<br> Checked 1 host groups.<br>Checking service groups...<br> Checked 0 service groups.<br>Checking contacts...<br> Checked 1 contacts.<br>Checking contact groups...<br>
Checked 1 contact groups.<br>Checking service escalations...<br> Checked 0 service escalations.<br>Checking service dependencies...<br> Checked 0 service dependencies.<br>Checking host escalations...<br>
Checked 0 host escalations.<br>Checking host dependencies...<br> Checked 0 host dependencies.<br>Checking commands...<br> Checked 25 commands.<br>Checking time periods...<br> Checked 5 time periods.<br>
Checking for circular paths between hosts...<br>Checking for circular host and service dependencies...<br>Checking global event handlers...<br>Checking obsessive compulsive processor commands...<br>Checking misc settings...<br>
<br>Total Warnings: 2<br>Total Errors: 0<br><br>Things look okay - No serious problems were detected during the pre-flight check<br><br><br>My hosts.cfg, services.cfg, and commands.cfg have been stripped down so nothing else would cause these issues and look like:<br>
<br>#### RELEVANT PARTS OF COMMANDS.CFG ###<br><br>define command{<br> command_name check-site<br> command_line $USER1$/check_ping -H $ARG1 -w 3000.0,80% -c 5000.0,100% -p 5<br> }<br><br>##### HOSTS.CFG######<br>
<br>define host{<br> use generic-host<br> host_name rails_playground<br> alias rails<br> address <ip_addr_of_host><br>
contacts nagiosadmin<br> contact_groups admins<br>}<br><br>define host{<br> use generic-host<br> host_name ipdream<br>
alias rails<br> address <ip_addr_of_host><br> contacts nagiosadmin<br> contact_groups admins<br>
}<br><br><br>#### SERVICES.CFG #####<br><br><br>define service{<br> use generic-service<br> display_name ipdream<br> host_name ipdream<br>
check_command check-host-alive<br> contacts nagiosadmins<br>}<br><br>define service{<br> use generic-service <br>
display_name rails_playground<br> host_name rails_playground<br> check_command check-host-alive<br> contacts nagiosadmins<br>
}<br> <br>## ALL REMAINING SERVICES LOOK LIKE FOLLOWING ENTRY WITH DIFFERENT URLS ####<br>define service{<br> use generic-service<br> display_name check_helpdesk<br>
host_name rails_playground<br> check_command check-site!helpdesk_URL<br> contacts nagiosadmins<br>}<br><br>I don't see how there are zero services attached to my host, the services are registered properly, just never associated with hosts. Any help would be greatly appreciated<br>
<br>thanks<br><br><br>