====== Export / Import von Monitoring Templates (Überwachungsvorlagen) im Oracle OEM ====== Siehe auch metalink:How to Export / Import a Monitoring Template in Grid Control 10.2.0.3 and higher using EMCLI [ID 468424.1] ===== 1. Wie ist der exakte Name des Templates ===== SQL> SELECT TEMPLATE_NAME,TARGET_TYPE FROM MGMT_TEMPLATES; TEMPLATE_NAME|TARGET_TYPE -------------------------- HOST_PROD |host ===== 2. Export mit emcli ===== #Export ./emcli export_template -name="HOST_PROD" -target_type="host" -output_file="HOST_PROD.xml" #Import emcli import_template -files="HOST_PROD.xml" #oder mehrere auf einmal emcli import_template -files="HOST_PROD.xml;DB_PROD.xml" ===== Anmerkung ===== Passwörter bei hinterlegen EM Key auslesen mit: select credential_set_column , sysman.decrypt(credential_value) credential_value from sysman.mgmt_credentials2; siehe: http://www.pythian.com/news/736/oracle-grid-control-the-importance-of-deleting-the-emkey/ ===== Quellen: ===== * http://www.oracle.com/global/de/community/dbadmin/tipps/emcli_1/index.html * http://www.oracle.com/global/de/community/dbadmin/tipps/emcli_2/index.html * http://download.oracle.com/docs/cd/B16240_01/doc/em.102/b40004/toc.htm