Ad Widget

Collapse

(how2) Create item (zabbix trapper) and send value to it immediately?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DRVTiny
    Senior Member
    • Sep 2011
    • 162

    #1

    (how2) Create item (zabbix trapper) and send value to it immediately?

    In my script, i've create item with the type "zabbix trapper" using Zabbix API and try to send value to it, but... nothing happens, Zabbix can show me value in the zabbix frontend, but zabbix server cant calculate trigger based on this value.
    I think, the core of the problem is dbcache of configuration data: because Zabbix API implemented on the frontend-side, zabbix server cant see newly created item before next cycle of configuration data update.
    I know that i can send command "update configuration immediately" to the zabbix server from the same machine (where zabbix server runs), but my script works on another machine and i dont know how to send command to the zabbix server from this place: it is very difficult to use ssh in our corporative configuration and it will take a lot of time to do this.
    Can you help me, please?
    Thank you!
    Last edited by DRVTiny; 05-09-2016, 11:02.
Working...