Ad Widget

Collapse

Using triggers and text items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arnaud.prevel
    Junior Member
    • Aug 2006
    • 1

    #1

    Using triggers and text items

    I'm a zabbix newbie and I'd like to monitor the output of some Solaris commands such as metadb, metastat, iostat, prtdiag, ...

    The idea would be to store the output of the command and then define a trigger that fires each time a difference with the previously stored version is detected.

    Consequently I added new text items related to each command. I succesfully retrieved the output. But I encounter a problem with the triggers: their status remains unknown and I got the following zabbix server log entries:

    023594:20060802:085600 Evaluation of expression [{11571}>0] failed [Unable to get value for functionid [11571]]
    023594:20060802:085600 Expression [{11571}>0] cannot be evaluated [Unable to get value for functionid [11571]]

    My trigger expression is something like that:
    {fqdn:custom.metadb.diff(0)}>0

    When I try to change from 'text' to 'char' type the trigger status is properly evaluated (true or false status) but not the full command output is stored (char type limitations). So I think that a problem occurs when the diff expression and text type items are used together.

    Thanks in advance for your feedback.

    Arnaud
Working...