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.
-------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
[email protected]
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