Ad Widget

Collapse

Automatically created items for Web Scenario don't show up anywhere

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SunF1re
    Junior Member
    • Jul 2010
    • 12

    #1

    Automatically created items for Web Scenario don't show up anywhere

    Hi everybody,

    I am new to Zabbix so please bear with me if I got something wrong.

    From what I was reading in the documentation when you create a WebScenario for a Application Zabbix is supposed to automatically add monitoring items to that application (e.g. Download speed for scenario..., Failed step of scenario...).
    But it doesn't. At least I don't see them in the Frontend and I can't use them with triggers or SLA setups.
    I followed the steps in the manual to setup Zabbix GUI Scenario monitoring. Everything works fine, except that the application has no visible monitoring items assigned to it.
    However if I look into the Database I do see some items there:

    Code:
    mysql> select * from items where description like 'Failed step of scenario%';
    +--------+------+----------------+----------+-----------+--------+------------------------------+----------------------------------+-------+---------+--------+-----------+------------+-----------+--------+------------+---------------+-------+------------+-------+--------------+---------------------+----------------------+-----------------------+-----------------------+---------+-------+-------------+------------+------------+------------+------------+--------+-------------+-----------+----------+----------+----------+-----------+------------+-------+
    | itemid | type | snmp_community | snmp_oid | snmp_port | hostid | description                  | key_                             | delay | history | trends | lastvalue | lastclock  | prevvalue | status | value_type | trapper_hosts | units | multiplier | delta | prevorgvalue | snmpv3_securityname | snmpv3_securitylevel | snmpv3_authpassphrase | snmpv3_privpassphrase | formula | error | lastlogsize | logtimefmt | templateid | valuemapid | delay_flex | params | ipmi_sensor | data_type | authtype | username | password | publickey | privatekey | mtime |
    +--------+------+----------------+----------+-----------+--------+------------------------------+----------------------------------+-------+---------+--------+-----------+------------+-----------+--------+------------+---------------+-------+------------+-------+--------------+---------------------+----------------------+-----------------------+-----------------------+---------+-------+-------------+------------+------------+------------+------------+--------+-------------+-----------+----------+----------+----------+-----------+------------+-------+
    |  25302 |    9 |                |          |       161 |  10017 | Failed step of scenario '$1' | web.test.fail[Zabbix frontend]   |    60 |      30 |     90 | 0         | 1278064671 | 0         |      0 |          3 | localhost     |       |          0 |     0 | NULL         |                     |                    0 |                       |                       | 0       |       |           0 |            |          0 |          0 |            |        |             |         0 |        0 |          |          |           |            |     0 |
    +--------+------+----------------+----------+-----------+--------+------------------------------+----------------------------------+-------+---------+--------+-----------+------------+-----------+--------+------------+---------------+-------+------------+-------+--------------+---------------------+----------------------+-----------------------+-----------------------+---------+-------+-------------+------------+------------+------------+------------+--------+-------------+-----------+----------+----------+----------+-----------+------------+-------+
    1 rows in set (0.09 sec)
    Am I doing something wrong or are these items not supposed to show up in any part of the frontend?

    I am using Zabbix 1.8.2 and MySQL 5.1.41-3ubuntu12.3.

    Thanks in advance
    Last edited by SunF1re; 02-07-2010, 11:56. Reason: Added application versions
  • SunF1re
    Junior Member
    • Jul 2010
    • 12

    #2
    I looked into at the SQL commands executed now to figure out why the HTTPTEST items don't show up anywhere.

    I went to "Configuration" -> "Hosts" -> "Applications (for Zabbix Server)" -> "Items (for Zabbix GUI)"

    The list is emtpy and I guess this query is the one who should fill the list:

    Code:
    SELECT DISTINCT i.*,h.host,a.name as application FROM items i,hosts h,applications a,items_applications ia WHERE ((i.itemid  BETWEEN 000000000000000 AND 099999999999999)) AND i.type<>9 AND  (i.hostid IN (10017))  AND h.hostid=i.hostid AND  UPPER(h.host)='ZABBIX SERVER' AND a.applicationid = ia.applicationid AND ia.itemid=i.itemid AND  UPPER(a.name)='ZABBIX GUI' ORDER BY i.description ASC LIMIT 1001 OFFSET 0
    Now the reason why the HTTP TEST items don't show up is this part of the where clause: i.type<>9

    Why are the HTTP TEST items intentionally filtered out? Is it a bug or a feature?

    Any ideas/pointers?

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      these are specific, internal items that are not shown in configuration, because, well, you can't modify them

      so it's a feature. you can see data for these items in "latest data" and choose them when creating triggers, though.
      Zabbix 3.0 Network Monitoring book

      Comment

      • SunF1re
        Junior Member
        • Jul 2010
        • 12

        #4
        Originally posted by richlv
        these are specific, internal items that are not shown in configuration, because, well, you can't modify them

        so it's a feature. you can see data for these items in "latest data" and choose them when creating triggers, though.
        Ahh, I see. Makes sense now. Thanks for the answer!

        Although it would be nice if there was an option somewhere that would allow you to show these internal items as well. If they can't be edited than that is OK. Should be easy enough to disable editing in the frontend. But I'd like to be able to see them if I wanted to.

        Anyway, thanks again!

        Comment

        Working...