Ad Widget

Collapse

how to efficiently push multiple keys to Zabbix?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • giri
    Junior Member
    • May 2016
    • 1

    #1

    how to efficiently push multiple keys to Zabbix?

    Our Application (RabbitMQ) provides monitoring data through REST API calls. A single API response contains data for several keys ( 100+).

    it's great that Zabbix provides easy solutions like UserParameter and Customer Loadable modules to send keys and it's data to Zabbix by running a script or C function.

    But unfortunately, both options doesn't work well in our use-case as they both executes script or C function independently for each key, which ultimately makes call to REST API. So, it results 100 calls to same API even though one API response gives data for all 100 keys.

    is there a better way to push keys and data to Zabbix? some thing like runing a script once on a schedule basis and script calls REST API once and push all keys and values to Zabbix!!
  • jan.garaj
    Senior Member
    Zabbix Certified Specialist
    • Jan 2010
    • 506

    #2
    It's only about your design. Use caching layer (cache API response with all data) + expiration and make new RabbitMQ API call only when data in the cache are expired.

    Or another concept is to use zabbix sender (app or protocol) - you can send multiple values in one go.

    Check existing projects before developing new one http://monitoringartist.github.io/za...cher/#rabbitmq
    Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
    My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / Vagrant

    Comment

    Working...