Ad Widget

Collapse

HTTP Agent | SOAP API query Dynamic start and end date variables

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CFla
    Junior Member
    • Sep 2015
    • 2

    #1

    HTTP Agent | SOAP API query Dynamic start and end date variables

    I was wondering if anyone has come across a situation where they have to monitor a SOAP api that needs start/end dates to be passed through the api request to return the data that is needed, with no way of getting the data without this. Of course these needs to be dynamic so that nobody needs to manually update these field. I can only think of 1 possible way to do this is to update this value through the Zabbix API every night to change the start and end date, but id like to try and have a solution contained within Zabbix with no external components.

    So basically i do a http agent call to the below example serverlet and get the data.. Everything works as expected its just i need to find a clean solution to change the start/end dates



  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Without external components.... add script item (its javascript) , that does exactly same... updates over API global macros, what holds the needed dates. Schedule it to be run once a day..

    Comment

    Working...