Newbie: I can't register hosts?

nic gna nicgna at yahoo.com
Thu Dec 14 18:11:03 CET 2006


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

 
---------------------------------
Have a burning question? Go to Yahoo! Answers and get answers from real people who know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20061214/aff84036/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list