Ad Widget

Collapse

Implement zabbix sender in pure javascript (Duktape)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • emil.halko
    Junior Member
    • Aug 2022
    • 1

    #1

    Implement zabbix sender in pure javascript (Duktape)

    Hello,

    Does anybody implemented a zabbix sender functionality in pure javascript (Duktape) which is used by zabbix?

    Communication with API is easy to do, but didn't find the way to implemented sender functionality.

    Thanks for any suggestion :-)

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

    #2
    Protocol description is here https://www.zabbix.com/documentation.../items/trapper
    Should not be a rocket science ....

    Comment


    • emil.halko
      emil.halko commented
      Editing a comment
      Yeh, thank you... I didn't see this in docu... but the javascript in zabbix doesnt' seem that support SOCKET connection... I'm not sure.. but you can't connect to trapper just via HTTP request as to the API... or am I wrong?
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #3
    No its not http request... There is link to needed header description on that page, with examples... https://www.zabbix.com/documentation...header_datalen
    No JS...
    But I don't write code, so what do I know..

    Comment

Working...