Subject: |
RE: Dynamic component modeling |
Author: |
Jane Curry |
Posted: |
2019-04-05 11:07 |
So, you are quite right, new components are discovered by the modeler cycle which runs every 12 hours by default. However, if a device has changed you can always do a manual remodel of the device from the GUI.
If there are lots of devices getting lots of new components for some reason then you could write a little script to run zenmodeler. Use "zenmodeler help" to get all the options but the obvious candidates are "-d <device" and maybe "--collect <modeler plugin>" to restrict the modeler to particular components. If you change lots of devices under a particular device class then the "-p <device class" will remodel all devices under the given class, including subclasses.
Cheers,
Jane
------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------
Subject: |
RE: Dynamic component modeling |
Author: |
Jay Stanley |
Posted: |
2019-04-05 14:33 |
You can increase modeling time, but I wouldn't recommend modeling all devices every 10-15 minutes. Would create too much db churn.
Instead, I would have users model devices from the UI after doing maintenance to a machine. Or create a new datasource/event that looks for new stuff and if found create an event. This event could be used to kick off a new model of the device using trigger/notification or zProps.
------------------------------
jstanley
------------------------------
Subject: |
RE: Dynamic component modeling |
Author: |
Bharat Kumar Kobagana |
Posted: |
2019-04-06 08:52 |
Thanks, Jane and Stanley, for the provided solutions. Will create a new data source to raise an event when new components are added to the devices.
------------------------------
Bharat Kumar Kobagana
Visakhapatnam
------------------------------