From: Whistance, Jeremy <whistj@he...> - 2011-07-20 22:51:59
I've successfully used provisioning to import some nodes. I have categories set up based on device type and based on the "production level" of the device (Production, Maintenance, Test, etc). I set the foreign source policy to add the nodes in to the proper device type category (Access Points) and have a script that runs on nodeAdded events that sets all new nodes to a "production level" of Discovered.
Upon importing the initial requisition everything looks great, but a few minutes later the nodes all lose their production level category and are only a member of the Access Points category. If I categorize them to a production level via the opennms web interface that too is eventually removed.
Do I have to use the provision.pl or the REST api to change categories for all nodes that are learned via provisioning or is there something I've configured wrong in my provision setup that is causing settings changed through the web interface to be overwritten?
1.5.0_18 Sun Microsystems Inc.
Java Virtual Machine:
1.5.0_18-b02 Sun Microsystems Inc.
Linux 2.6.18-194.32.1.el5xen (i386)
jetty/6.1.24 (Servlet Spec 2.5)
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
LAN Engineer - Division of IT
University of Missouri