IBM Guardium

IBM Guardium

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Guardium RestApi stop_restart_alerter issue

    Posted Wed July 26, 2023 03:27 PM

    Hi,

    I have Guardium Data Protection collector v11.5

    I execute restapi commands on system.

    One of them is check alerter status "POST https://[Guardium hostname or IP address]:8443/restAPI/alerter"

    I want to stop / restart alerter with stop_restart_alerter

    Here is the command use page

    stop_restart_alerter

    Document says, I can use "POST https://[Guardium hostname or IP address]:8443/restAPI/alerter" with action parameter

    So, I'm using command like "/restAPI/alerter?action=stop"

    But restapi response giving error message there is no any parameter like "action"!

    I also tried that command with "/restAPI/stop_restart_alerter?action=stop" but then I got command not found error.

    Do you any recommendation to use "stop_restart_alerter"?



    ------------------------------
    Seyhan Tekelioglu
    ------------------------------


  • 2.  RE: Guardium RestApi stop_restart_alerter issue

    Posted Thu July 27, 2023 01:33 AM

    Here is the error page of restAPI

    {

    "ErrorCode": "27",

    "ErrorMessage": "For rest resource: alerter , no function was found that matches the given parameters: [action]. Please note, parameters are case sensitive."

    }



    ------------------------------
    Seyhan Tekelioglu
    ------------------------------



  • 3.  RE: Guardium RestApi stop_restart_alerter issue

    Posted Mon July 31, 2023 02:31 AM

    I found solution for this issue.

    When I change post method and send parameters like this, it works fine.

    CURLOPT_POSTFIELDS, "{'action':'restart'}"



    ------------------------------
    Seyhan Tekelioglu
    ------------------------------