Re: How to persist assets's value

JohnD Blackburn <[email protected]> Wed, 21 Nov 2018 06:24:42 +0000
Newsgroups gmane.network.opennms.general
Message-ID <AM6PR0602MB3381FAB0AB03E0D915B4CCE0CBDA0@AM6PR0602MB3381.eurprd06.prod.outlook.com>
You need to define the asset values in the requisition not in the node.  Then when the requisition synchronizes, all the asset values get transferred to the node.

I use the provision.pl script:

/opt/opennms/bin/provision.pl asset set "$REQUISITION" "$FOREIGNID" "$ASSETFIELD" "$VALUE"

Regards,
John






-----Original Message-----
From: Eduardo [mailto:[email protected]] 
Sent: Wednesday, 21 November 2018 10:45 AM
To: [email protected]
Subject: [opennms-discuss] How to persist assets's value

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hi everyone
I have an issue related with asset's data persistence. I have
provisioned all my nodes using provisioning requisitions via Web UI options.
Then I modified node's assets fields using sql queries . The problem
rise when requisitions sinchronyze, if it does all my assets updates get
lost.

How can I keep asset's values persistent despite requisitions
synchronization ? I' ll like still use sql queries to update node's assets.

Thanks in advance

Eduardo




_______________________________________________
Please read the OpenNMS Mailing List FAQ:
https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opennms.org%2Findex.php%2FMailing_List_FAQ&amp;data=02%7C01%7Cjohnd.blackburn%40au.abb.com%7C9c82e8840f7d46409eef08d64f4ac703%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C636783579930886505&amp;sdata=fEA695aAsyOrf%2F696eq1Uz2%2BcPO45khTbaClAnw3O98%3D&amp;reserved=0

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fopennms-discuss&amp;data=02%7C01%7Cjohnd.blackburn%40au.abb.com%7C9c82e8840f7d46409eef08d64f4ac703%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C636783579930886505&amp;sdata=xlAMy3zYmATjpio4ZPYquWgnBdZHkAdTgP4q%2BZ4HwwY%3D&amp;reserved=0


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss