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

Support CustomPollerAssignment on Orion SDK?

$
0
0

Hi,

Does support Orion SDK for creating/assign any custompoller to a node? I try to do this but I got "Access to Orion.NPM.CustomPollerAssignment denied." error.

 

My code is (C# / VS 2010):

 

                string _nodeName = Methods.getNodeName(_nodeID);

                string _CPID = Methods.getCustomPollerID(_customPollerUniqueName);

                string uri_Details = swis.Create("Orion.NPM.CustomPollerAssignment", new PropertyBag

                                                {

                                                    {"CustomPollerAssignmentID", Guid.NewGuid()},

                                                    {"AssignmentName", _customPollerUniqueName + " on " +_nodeName },

                                                    {"CustomPollerID", _CPID},

                                                    {"NodeID", _nodeID},

                                                    {"InterfaceID", "0"}

                                                });

                Constants.logger.Debug(String.Format("{0} ID'li node icin {2} custompoller'ı olarak eklendi.", _nodeID, _customPollerUniqueName));


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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