Title: [opsview] [13209] Remove config_type filter, as configuration is now added before retained data is read
- Revision
- 13209
- Author
- tvoon
- Date
- 2013-08-12 19:15:07 +0100 (Mon, 12 Aug 2013)
Log Message
Remove config_type filter, as configuration is now added before retained data is read
Modified Paths
Modified: trunk/opsview-core/bin/ndoutils_configdumpend
===================================================================
--- trunk/opsview-core/bin/ndoutils_configdumpend 2013-08-12 17:44:21 UTC (rev 13208)
+++ trunk/opsview-core/bin/ndoutils_configdumpend 2013-08-12 18:15:07 UTC (rev 13209)
@@ -115,7 +115,6 @@
AND cgm.contactgroup_id = cg.contactgroup_id
AND cg.contactgroup_object_id = scg.contactgroup_object_id
AND scg.service_id = s.service_id
- AND s.config_type = 1
" );
rename_table($table);
@@ -212,7 +211,7 @@
JOIN $opsview_hosts_new hosts
ON s.host_object_id = hosts.id
WHERE
- o.objecttype_id=2 AND s.config_type = 1
+ o.objecttype_id=2
" );
# Above misses out multi-servicechecks. Have to do in two steps otherwise the LIKE brings in other servicechecks
_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins