Ad Widget

Collapse

Trouble integrating zapcat trapper with zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imranh
    Junior Member
    • Dec 2010
    • 2

    #1

    Trouble integrating zapcat trapper with zabbix

    I'm working in integrating my zapcat trapper wiwth an existing zabbix server. My java client seems to be sending the data regularly every 30 sec and does get a confirmation back (the 'OK' message), and on the zabbix proxy I do see my client host connecting but I dont see any logs for the data being received by the zabbix proxy. I dont even know if the zabbix proxy logs this data or not. But at this point I am at an end to what the problem might be. I've verified that the zabbix Item is configured correctly on the dashboard with the correct host name (the same host name I use when sending the data from my trapper).

    I am pretty sure the key is also correct. I've set the key to be "abc" when I create my trapper:
    trapper.every(30, TimeUnit.SECONDS,
    "abc", mbeanName, "TotalSentPixels");

    where "TotalSentPixels" is the mbean attribute to query.

    Can any one suggest how to proceed debugging this issue, or what to look for in the zabbix server or zabbix proxy?
  • imranh
    Junior Member
    • Dec 2010
    • 2

    #2
    There is one specific confusion about the key I am sending. I have set up my MBean witht he following object name: domain = "domain", attribute="name", value="abc"

    when I create my trapper I use the canonical name for my mbean and "abc" as the key.
    I looked at my zapcat logs and after base64 decoding the key I saw that it was of the form:
    domain:name=abc

    The zabbix dashboard does not allow me to set this as the key for my item as its of incorrect format. Accoring to zapcat documentation my key should be 'abc'. Not sure if I'm doing anything wrong here.

    Comment

    Working...