I apologize for posting this in dev list.  However I did not get any response from the user list.  <br><br>I have a huge ndoutils database which have been saving data for a long time.  The database is a part of some data mining project.  I have various script where I query the database by connecting service_object_id from nagios_servichecks with object_id of nagios_objects table.  However recently all my object_id change from 32xxx range 1xxx to 4xxx range.   So I have data in the database which I can not query.<br>
<br><br>For example lests I have service called "foo" which had an old object_id 26904 and now it has re-numbered to 4000<br><br>so if I do a query "  <br><br>SELECT<br>obj1.name2 AS service_description<br>
,nagios_servicechecks.start_time<br>,nagios_servicechecks.output FROM `nagios_servicechecks`<br>LEFT JOIN nagios_objects as obj1 ON nagios_servicechecks.service_object_id=obj1.object_id<br><br>it only returns partial resultset.  Can someone tell me what is the reason behind re-numbering and second does anyone know a quick fix to this problem?  Thanks in advance.<br>
<br><br><br><br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>