Ad Widget

Collapse

"Sender" web services

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jangliss
    Junior Member
    • Nov 2005
    • 9

    #1

    "Sender" web services

    Has anybody considered the idea of using a web service to send data to/from for remote agents? For example, a lot of people have their servers behind very restrictive servers, and allow outbound http(s). It'd be handy if a web service was available for agents to post data to.

    Example of posting data:

    Code:
    <?xml ...?>
    <zabbix>
      <agent key="abc12" hostname="zabbixclientname" />
      <items>
        <item name="keyname" time="timestamp">valuehere</check>
        <item name="keyname2" time="timestamp">othervalue</check>
      </items>
    </zabbix>
    You could also use a similar idea to find checks that need to be executed on the client to send back, and all the configurations can then be kept on the server end. For example, the client could post the following to the web service:

    Code:
    <?xml ...?>
    <zabbix>
      <agent key="abc123" hostname="zabbixclient" />
      <command>getchecks</command>
    </zabbix>
    To which, the server could respond something like this:

    Code:
    <?xml ...?>
    <zabbix>
      <items>
        <item name="keyname" frequency="60" type="character" />
        <item name="keyname2" frequency="90" type="float" />
      </items>
    </zabbix>
    What do you guys think?
Working...