Ad Widget

Collapse

Trigger will not allow Log Severity when Severity is Specified in Item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rburkholder
    Junior Member
    • Nov 2016
    • 8

    #1

    Trigger will not allow Log Severity when Severity is Specified in Item

    I have the following item key to pull event logs from a host with log severity Warning|High|Critical:

    eventlog[Application,,"Warning|Error|Critical",MR_Monitor,, ,skip]

    However, I cannot create a severity specific trigger with the following expression:

    {HOSTNAME:eventlog[Application,,"Warning|Error|Critical",MR_Monitor,, ,skip].logseverity(2)}=2

    Clicking add generates the following error:

    Incorrect item value type "Text" provided for trigger function "logseverity(2)".

    Zabbix Server Version is 3.2.1.

    What am I doing wrong here?
  • allexpetrov
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2017
    • 361

    #2
    Originally posted by rburkholder

    Clicking add generates the following error:

    Incorrect item value type "Text" provided for trigger function "logseverity(2)".
    Hi, rburkholder!

    When you create item, you need to configure the Type of Information field as Log, but you have specified there Text. Try to change the Value in Item and it should work fine!

    Regards,
    Alex

    Comment

    Working...