Hello!<br><br>I'm using Nagios 3.0.3 and mysql Ver 14.12 Distrib <a href="http://5.0.45.">5.0.45.</a><br><br>I'm having problem getting data from the database. The "nagios_hoststatus" table is not fullfilled with the new hosts data, old hosts have their data correctly presented at the table.<br>
<br>Have a look at the selects below:<br>mysql> SELECT DISTINCT nagios_hosts.host_object_id,nagios_hosts.display_name FROM  nagios_hosts WHERE (nagios_hosts.display_name LIKE '%SV_%');<br>+----------------+--------------+<br>
| host_object_id | display_name |<br>+----------------+--------------+<br>|            655 | SV_1  |<br>|            656 | SV_2  |<br>|            657 | SV_3  |<br>+----------------+--------------+<br><br><br><br>mysql> SELECT DISTINCT nagios_hoststatus.current_state FROM nagios_hoststatus WHERE nagios_hoststatus.host_object_id=655;     <br>
+---------------+<br>| current_state |<br>+---------------+<br>|             0 |<br>+---------------+<br><br><br><br clear="all">mysql> SELECT DISTINCT nagios_hoststatus.current_state FROM nagios_hoststatus WHERE nagios_hoststatus.host_object_id=657;<br>
Empty set (0.00 sec)<br><br><br><br><br>Can someone please point me what's wrong?<br><br>Nothing is written at the log files.<br><br>-- <br>[]'s<br><br>Lívio Zanol Puppim<br>