11 Replies Latest reply on Aug 11, 2014 9:49 AM by tdanner

    Access to Orion.NodesCustomProperties denied for NPM 10.5

    dqian

      I am getting the above error when trying to update a Custom Property of a node with JSON API. Originally I am using Python but didn't get any error message so I resorted to curl for the error displayed below. Am I doing anything wrong or it is not supported at all with the NPM release I am on? The account I am connecting with has full rights

       

      [root@netmon sdk]# curl -v -k -u dqian -X POST -H "Content-Type: application/json" -d @update.json https://10.254.1.102:17778/SolarWinds/InformationService/v3/Json/swis://orion-hostname/Orion/Orion.Nodes/NodeID=670/CustomProperties

      Enter host password for user 'dqian':

      * About to connect() to 10.254.1.102 port 17778 (#0)

      *   Trying 10.254.1.102... connected

      * Connected to 10.254.1.102 (10.254.1.102) port 17778 (#0)

      * Initializing NSS with certpath: sql:/etc/pki/nssdb

      * warning: ignoring value of ssl.verifyhost

      * skipping SSL peer certificate verification

      * SSL connection using TLS_RSA_WITH_AES_128_CBC_SHA

      * Server certificate:

      *       subject: CN=SolarWinds-Orion

      *       start date: Jul 11 18:46:10 2011 GMT

      *       expire date: Dec 31 23:59:59 2039 GMT

      *       common name: SolarWinds-Orion

      *       issuer: CN=SolarWinds-Orion

      * Server auth using Basic with user 'dqian'

      > POST /SolarWinds/InformationService/v3/Json/swis://orion-hostname/Orion/Orion.Nodes/NodeID=670/CustomProperties HTTP/1.1

      > Authorization: Basic ZHFpYW46V3UwNTI3WGk=

      > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2

      > Host: 10.254.1.102:17778

      > Accept: */*

      > Content-Type: application/json

      > Content-Length: 18

      >

      < HTTP/1.1 400 Bad Request

      < Content-Length: 136

      < Content-Type: application/json

      < Server: Microsoft-HTTPAPI/2.0

      < Date: Thu, 07 Aug 2014 06:07:18 GMT

      <

      * Connection #0 to host 10.254.1.102 left intact

      * Closing connection #0

      {"Message":"Access to Orion.NodesCustomProperties denied.","ErrorCode":20,"UserMessage":"Access to Orion.NodesCustomProperties denied."}

       

      content of update.json as below:

      [root@netmon sdk]# cat update.json

      {"city": "Austin"}