Search Result

Collapse
14 results in 0.0028 seconds.
Keywords
Members
Tags
regular expression
  •  

  • Resolve an event with an overwriting log file

    Hey guys.
    I have this CSV log file that is generated by a script and it is overwritten on every run, meaning it is not incremented. Every time the scheduled script runs, new lines overwrite the data.
    The content looks something like this.
    Code:
    20240726 23:09:00;error1;database 1;other;object1;value
    ...
    See more | Go to post
    Last edited by markfree; 27-07-2024, 16:23.

  • markfree
    started a topic Close SNMP trap event with the same OID

    Close SNMP trap event with the same OID

    Using Zabbix 6.2.

    Whenever my Proxy receives a trap, it shows that the service has switched to either Backup or Primary mode. Therefore, a trigger was created to check if the SNMP trap has specific strings.
    Code:
    find(/HOST/snmptrap["\.1729\.104\.0\.2"],#1,"iregexp",":
    ...
    See more | Go to post

  • markfree
    started a topic Discard text lines and multi-line filter

    Discard text lines and multi-line filter

    I have an item that retrieves text data where the first few lines are not necessary.
    Something like this:
    Code:
    DISCARD TEXT
    DISCARD TEXT
    DISCARD TEXT
    DISCARD TEXT
    DISCARD TEXT
    TEXT TO KEEP
    TEXT TO KEEP
    TEXT TO KEEP
    TEXT TO KEEP
    TEXT TO KEEP
    ...
    See more | Go to post

  • Item prototype name changing with Overrides

    With LLD Overrides, I thought of changing item prototype names whenever an LLD macro matches a Regex.
    But I just can't see a way to do so.

    Is there a way?
    See more | Go to post

  • markfree
    started a topic File discovery based on a pattern

    File discovery based on a pattern

    I need to monitor some files that are dynamically generated everyday.
    They all have a dynamic timestamp prefix and a constant suffix.
    Something like this:
    20220709101112_file_name.txt

    With that, I can write a simple script to find and list all the new files.
    I could
    ...
    See more | Go to post

  • apirelli83
    started a topic Problema con preprocessing

    Problema con preprocessing

    Ciao a tutti, ho la versione 6.0.3 Installata su un AlmaLinux release 8.5
    su un template ho un problema con un item che va a "prendere" gli accessi con ID 21 e 23 in RDP sui server (eventlog[Microsoft-Windows-TerminalServices-LocalSessionManager/Operational,,,,^(21|23)$,,skip])
    ...
    See more | Go to post
    Last edited by apirelli83; 02-05-2022, 12:15.

  • How to set up a trigger to duplicate alert suppression

    Hi, all
    I'm trying to set up a trigger, but it does't work.....
    I would like set up a trigger as follows:
    ・When zabbix finds log message which has words (A or B), it creates an event.
    ・If there are more than 3 log messages including the word(A or B) in 5m, zabbix doesn't...
    See more | Go to post

  • Regular exp in prerocessing remove some words

    I added SNMP Trap and can recieve data from it, now i need to parse it data, so i create item for it.
    It seems ok, it recieve data from SNP traps.
    Now i setup preprocessing for it:

    Name: Admin cli command
    Type: Snmp trap
    Key: snmptrap["CISCO-SMI::ciscoMgmt.41.2.0.1"]...
    See more | Go to post

  • choun
    started a topic logrt item not working

    logrt item not working

    Hello, I'm trying to monitor logs which gets generated on a daily basis. This doesnt seem to work but no error thrown on latest data field.

    Zabbix server - 3.2.11 (Ubuntu 16.04)
    agent - 3.2.7
    Host - Linux

    key: logrt[“/home/abc/localhost_access_log.[0-9]-[0-9-[0-9].txt”,,”UTF-8”,30,skip]...
    See more | Go to post
    Last edited by choun; 14-11-2019, 05:13.

  • Не корректно отрабатывает регулярное выражение

    Здравствуйте гуру Zabbix'а! Подскажите в чем может быть загвоздка. Требуется из LLD убрать обнаружение вланов на свитче. Выглядят они вот так:
    Interface 50(): Speed
    Interface 194():...
    See more | Go to post

  • Регулярные выражения. Регистрозависимость не работает для русских букв.

    Собственно, сабж.

    Хотел убрать из обнаружения сетевые интерфейсы типа "Мини-порт глобальной сети (...)". Фильтр мини-порт не работал даже с отключенной опцией "Регистрозависимое" пока не поменял на Мини-порт.
    С английскими буквами все работает.
    See more | Go to post

  • Abby
    started a topic Regular expression in Item Key field

    Regular expression in Item Key field

    I am new to zabbix and I am trying to set an item to capture a process.

    I am creating a zabbix item to monitor the % Processor Time that a specific process takes. But the name of the process changes on each run as, proc_PROCID So it might be proc_1234 in one run and proc_5544 in another...
    See more | Go to post

  • defenestratexp
    started a topic vfs.file.regexp in the filename

    vfs.file.regexp in the filename

    I know how to use the custom regular expressions and reference them when creating an item. An example would be vfs.file.regexp[/path/to/my/file,@mycustomexpression]

    There is a set of catalina logs I have to set up an item for. I have not one file, but several, all tagged with a date stamp...
    See more | Go to post

  • RegExpr with lookahead and lookbehind

    I've tested the following expression successfully with the regExCoach:
    (?<=<span>)[0-9.]*(?=</span>) for the following tagetstring <span>123.45</span> to extract the number.

    But the test in the zabbix regex editor fails:



    ...
    See more | Go to post
Working...