Ad Widget

Collapse

Correct syntax not accepted

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aternopae
    Junior Member
    • Jul 2007
    • 1

    #1

    Correct syntax not accepted

    I am using Zabbix 1.4.1 on a Debian Sarge, I installed it from the official repository and everything went ok.
    I am monitoring a lot of servers and I would like to create a template do add the Lotus Domino TCP port to be monitored passively.

    So I added a new item naming it Lotus Domino TCP Port, then in the key i entered tcp,1352 which seems to be the correct syntax (I would like to monitor the TCP 1352 port).

    When trying to save I receive this message from the frontend:

    Incorrect key format 'key_name[param1,param2,...]'

    Which is of course not true: I tried to insert the correct key value directly in the mysql table and the result is that it starts to monitor the service.

    The problem I find is that when in a second step I create a trigger selecting the previuos item created by hand on the database I obtain almost the same error: Incorrect trigger expression. [{hostname:tcp,1352.last ... }=0]

    I think that there may be a serious bug in the input control that doesn't permit to introduce some good syntax and I really can't realize how to solve this issue. This of course discourages me to use Zabbix in a production stable environment.

    Has someone faced the same problem?
  • jean
    Member
    • Apr 2006
    • 85

    #2
    Me too I have this problem with the same item and the zabbix 1.4.1 server...

    Comment

    • treyh
      Member
      • May 2007
      • 64

      #3
      Similiar Problem

      When I was creating an item for snmp polling, it wouldn't let me use this as a key:

      TRANZEO-MIB::rssi

      So I modified items.inc.php

      The following is in there twice, so I commented it out and it works.

      #if( !eregi('^'.ZBX_EREG_ITEM_KEY_FORMAT.'$', $key) )
      #{
      # error("Incorrect key format 'key_name[param1,param2,...]'");
      # return false;
      #}

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        This is a known issue which is already fixed in pre 1.4.2.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...