From OpenNMS
To force an import outside of the current schedule in the model-importer.properties file, send an XML message to OpenNMS with the UEI "uei.opennms.org/internal/importer/reloadImport". The can be accomplished using the send-event script in the /usr/share/opennms/bin directory:
Update: --David.hustace 18:37, 5 June 2006 (CEST)
Two parameters have been added to this reloadImport event that provide the ability to override the code defaults and properties specified in model-importer.properties. These new parameters are:
- url
- foreignSource
/usr/share/opennms/bin/send-event.pl uei.opennms.org/internal/importer/reloadImport
or, an example with the new parameters:
/usr/share/opennms/bin/send-event.pl uei.opennms.org/internal/importer/reloadImport \
--parm 'url file:/tmp/tec_dump.xml' \
--parm 'foreignSource tec-base:'
This will cause OpenNMS to run the Importer integration code using the settings in /etc/opennms/model-importer.configuration properties file.






