This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Acknowledge Events Log Table via API

I would like to acknowledge events in the events log table via the invoke command.   Is this possible?  If not?

How do a get a list of Alerts for a specific node,  I then would like to use that information to pass into a ticketing system.

I already have the form interface, I just need to either know how the Acknowledge the Events in the Events log using the swis or SWQL or get the list of Alerts associated with a node and then Acknowledge them.

Thank you for your help.


Parents Reply
  • Hey tdanner,   any ideas on this?  can you give me an example of how the array should look?

    I am specifying an array. In Perl here is how the call is done.  $swql->swis->Invoke( 'Orion.Events', 'Acknowledge', [@event_ids] );

    When I make the call as stated, the above response is what I get from doing the Invoke as called.

    I am using the module provided by SolarWinds in the sample perl code.

    When I specify it strictly as an array and not an array reference, $swql->swis->Invoke( 'Orion.Events', 'Acknowledge', @event_ids );

    I get the following error.

    Can't use string ("582311") as an ARRAY ref while "strict refs" in use at line 126.

    The code parameters in the Perl module are specified as follows:

    Invoke => {

        endpoint => '',

        soapaction => '',

        namespace => '',

        parameters => [




        ], # end parameters

      }, # end Invoke

    Thanks for your responses.