Problem with nagios host configuration

Hi to all,
i insert in my nagios.cfg the sequent line:
cfg_file=/usr/local/nagios/etc/server/portal1.cfg

and in this file the content is the sequent:

cat /usr/local/nagios/etc/server/portal1.cfg
define host{
name portal1 ; The name of this host template
use generic-host ; This template inherits other values from the generic-host template
check_period 24x7 ; By default, Linux hosts are checked round the clock
check_interval 5 ; Actively check the host every 5 minutes
retry_interval 1 ; Schedule host check retries at 1 minute intervals
max_check_attempts 10 ; Check each Linux host 10 times (ma:evil:
check_command check-host-alive ; Default command to check Linux hosts
notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day
notification_interval 120 ; Resend notifications every 2 hours
notification_options d,u,r ; Only send notifications for specific host states
contact_groups admins ; Notifications get sent to the admins by default
address 192.168.10.31
}

if i execute:
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg |grep -i 'hosts’
Checking hosts…
Checked 1 hosts.

It finds only localhost configuration host, but if i execute the strace of nagios -v i see that the script read the portal1 config file.

Have you any idea???

Sorry for my English

Thanks

can’t see anything wrong with your results:
you’re defining 1 host and nagios -v is finding 1 host…

could you rephrase your question ?