vim /usr/local/nagios/etc/nagios.cfg

retain_state_information=1

echo > /usr/local/nagios/var/status.dat (状态文件)

重启nagios 和 ndo2db