Ad Widget

Collapse

Jumping the queue?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maxlock
    Member
    • Mar 2005
    • 32

    #1

    Jumping the queue?

    Hi All,

    I'm monitoring a device that sends an SNMP trap when it's configuration has changed. I'm handling that just fine, but I'd like that to trigger all the other monitored items for the host to be polled as soon as possible.

    Given that this isn't possible with stock Zabbix I'm thinking of calling an external script that sets the lastclock field in the items table to fool the queue into thinking it's overdue. However some tests I've tried so far show that not to be effective.

    eg. update items set lastclock = (UNIX_TIMESTAMP(now())-delay) where itemid=99999;

    Can anyone give me an idea as to how queuing works?

    -Cheers Max
Working...