<div>This is my host.cfg and I can't register the hosts.</div>  <div>I get this error:</div>  <div> </div>  <div>Error: Host name, alias, or address is NULL<BR>Error: Could not register host (config file '/etc/nagios/hosts.cfg', starting on line 1)</div>  <div>--------</div>  <div>define host{<BR>        name                    routers<BR>        use                     routers<BR>        check_command           check-host-alive<BR>        max_check_attempts      15<BR>        notification_interval  
 30<BR>        notification_period     24x7<BR>        contact_groups          admins<BR>        notification_options    d,r<BR>        register                1<BR>        }<BR>define host{<BR>        name                    frontends<BR>        use                     frontends<BR>       
 check_command           check-host-alive<BR>        max_check_attempts      15<BR>        notification_interval   30<BR>        notification_period     24x7<BR>        contact_groups          admins<BR>        notification_options    d,r<BR>        register                1<BR>        }<BR>define host{<BR>        use                    
 frontends<BR>        host_name          luke <BR>        alias                   luke<BR>        address                 129.11.4.169<BR>        }<BR>define host{<BR>        use                     computes<BR>        host_name             leia</div>  <div>       
 alias                    leia<BR>        address                 129.11.4.170<BR>        }</div><p>

<hr size=1>Have a burning question? Go to <a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a> and get answers from real people who know.