Ad Widget

Collapse

Zabbix and logrt.count doesn't get data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lovelysidhu
    Junior Member
    • Nov 2018
    • 1

    #1

    Zabbix and logrt.count doesn't get data

    I'm running Debian and Zabbix 3.4.

    I've created a custom item with the following syntax:

    logrt.count["/var/log/^req_log.*.txt$","TIMEOUT"]

    I'm trying to detect any log file in the format req_log2018-06-26.txt with the word TIMEOUT and return the number of occurenses.

    But no data is gathered with this item, even though there are some files in the directoty which does contain the word.

    amtemu mac
    stream tv series online
    Last edited by lovelysidhu; 19-12-2018, 13:41.
  • andris
    Zabbix developer
    • Feb 2012
    • 228

    #2
    What is "no data is gathered" ? Is item NOTSUPPORTED ? Is it returning 0 all the time ? If 0 all the time, then you can append a test record "TIMEOUT" to see does it report "1" once and then 0's again.
    Also you can try DebugLevel=4 in zabbix_agentd.conf (or increase DebugLevel with -R option at runtime) to see what logrt.count[] is doing.

    Comment

    Working...