Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

Error Updating Properties and Custom Properties of Nodes

$
0
0

Greetings,

 

 

I am currently trying to automate the maintenance of the SWQL database using the ORION SDK, SwisSnappin and PowerORION Module for Powershell.

 

I have been successful in deleting and adding nodes based on data imported from a .csv file.

 

I keep getting the following error when trying to update node properties/custom properties using the Set-SwisObject cmdlet.

 

Set-SwisObject : Invalid column name 'SNMPV3Username'.

Invalid column name 'SNMPV3PrivMethod'.

Invalid column name 'SNMPV3PrivKey'.

Invalid column name 'SNMPV3AuthMethod'.

Invalid column name 'SNMPV3AuthKey'.

At C:\Users\welfakir\Documents\Powershell_Scripts\Add-Node\Update-Node.ps1:222 char:102

+ ...  @{IP=$node.IP} | Set-SwisObject -SwisConnection $swis -Properties @{

+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Set-SwisObject], FaultException`1

    + FullyQualifiedErrorId : SwisError,SwisPowerShell.SetSwisObject

 

I am running SWQL Studio 2.2.54.0, NPM 12.1, SAM 6.4 (Both Trial as I cannot test on a production server) and PowerShell V5.

 

On another note, when I create nodes I am using the sample found on git hub : OrionSDK/CRUD.AddNode.ps1 at master · solarwinds/OrionSDK · GitHub

 

Are there other properties/pollers that need to be added upon creation for successful monitoring?

 

Thanks,

 

Will.


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>