Opmanager Rest Api
Opmanager Rest Api
Hi,
I would like to use the Opmanager Rest Api in a vbs script.
Is it possible to add an event in opmanager via a vbs script.
I tought it was very easy by calling the url.
http:///api/xml/events/addEvent?apiKey=71f3a24c9aa776325b628108b44ef5b6&source=opman-winxp1
&severity=2&message=Process%20Down&alarmCode=ProcessMonitor_CPU_DOWN
&entity=event_entity&eventType=Process%20Monitor%20Down
But then I get the error 5005
HTTP POST request is required to perform this operation.