Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 20202

Support CustomPollerAssignment on Orion SDK (SWIS)

$
0
0

I am coding an DLL file, to use at integration applicatioons via C#. I can add poller on node but not assign custompoller. Maybe, it should be useful the verb to do this. There are sample codes add poller and custompoller. (Add poller is correctly running.)

 

Add Poller:

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

                                                      {

                                                          {"NetObject", pbPollers.NetObject},

                                                          {"NetObjectType", pbPollers.NetObjectType},

                                                          {"NetObjectID", pbPollers.NetObjectID},

                                                          {"PollerType", _pType}

                                                      });

 

Add CustomPoller:

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

                                                {

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

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

                                                    {"CustomPollerID", Guid.Parse(_CPID)},

                                                    {"NodeID", _nodeID},

                                                    {"InterfaceID", "0"}

                                                });


Viewing all articles
Browse latest Browse all 20202

Latest Images

Trending Articles



Latest Images

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