contents of /usr/local/nagois/etc/testhost.cfg
define host{
use generic-host ; Inherit default values from a template
host_name testbox ; The name we're giving to this host
alias Some Remote Host ; A longer name associated with the host
address 192.168.100.50 ; IP address of the host
hostgroups allhosts ; Host groups this host is associated with
}
define service{
use generic-service ; Inherit default values from a template
host_name testbox
service_description HTTP
check_command check_http
}
define service{
use generic-service ; Inherit default values from a template
host_name testbox
service_description FTP
check_command check_ftp
}