Ad Widget

Collapse

logrt - ZBX_NOTSUPPORTED - agent v 2.0.8

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gbshiva
    Junior Member
    • Nov 2013
    • 2

    #1

    logrt - ZBX_NOTSUPPORTED - agent v 2.0.8

    Hi,

    I am facing a not supported message for logrt. I am using ver 2.0.8 of agent and server. According to the documents this should be supported.

    I am just trying to monitor for all log files in a directory for string [ERROR].

    Below is the key in the item

    logrt[/opt/openresty/nginx/logs/*.log,"ERROR"]

    Let me know if i am missing something in the key.
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    Does your zabbix user have read permissions to these files?

    Comment

    • gbshiva
      Junior Member
      • Nov 2013
      • 2

      #3
      Yes zabbix user has access to these files. Its actually owned by the same user.
      Below is what i see in the logs

      7218:20131101:201226.928 got [{
      "response":"success",
      "data":[
      {
      "key":"logrt[\"\/opt\/openresty\/nginx\/logs\/*.log\",\"ERROR\",\"UTF-8\",100,skip]",
      "delay":30,
      "lastlogsize":0,
      "mtime":0}]}]
      7218:20131101:201226.929 In parse_list_of_checks()
      7218:20131101:201226.929 In disable_all_metrics()
      7218:20131101:201226.929 In add_check() key:'logrt["/opt/openresty/nginx/logs/*.log","ERROR","UTF-8",100,skip]' refresh:30 lastlogsize:0 mtime:0
      7218:20131101:201226.929 End of add_check()

      7218:20131101:201226.929 In process_logrt() filename:'/opt/openresty/nginx/logs/*.log' lastlogsize:0 mtime:0
      7218:20131101:201226.929 In split_filename() filename:'/opt/openresty/nginx/logs/*.log'
      7218:20131101:201226.929 In split_string() str:'/opt/openresty/nginx/logs/*.log' del:'/*.log'
      7218:20131101:201226.929 End of split_string():SUCCEED part1:'/opt/openresty/nginx/logs/' part2:'*.log'
      7218:20131101:201226.929 End of split_filename():SUCCEED directory:'/opt/openresty/nginx/logs/' format:'*.log'
      7218:20131101:201226.929 we are in the *nix directory reading cycle
      7218:20131101:201226.929 cannot process read entry '/opt/openresty/nginx/logs/..'
      7218:20131101:201226.929 '/opt/openresty/nginx/logs/access.log' does not match '*.log'
      7218:20131101:201226.929 '/opt/openresty/nginx/logs/nginx.pid' does not match '*.log'
      7218:20131101:201226.929 cannot process read entry '/opt/openresty/nginx/logs/.'
      7218:20131101:201226.929 '/opt/openresty/nginx/logs/error.log' does not match '*.log'
      7218:20131101:201226.929 there are no files matching '*.log' in '/opt/openresty/nginx/logs/'
      7218:20131101:201226.929 In free_logfiles() logfiles_num:0
      7218:20131101:201226.929 End of free_logfiles()
      7218:20131101:201226.929 End of process_logrt():FAIL
      7218:20131101:201226.929 Active check [logrt["/opt/openresty/nginx/logs/*.log","ERROR","UTF-8",100,skip]] is not supported. Disabled.
      7218:20131101:201226.929 In process_value() key:'devshiva:logrt["/opt/openresty/nginx/logs/*.log","ERROR","UTF-8",100,skip]' value:'ZBX_NOTSUPPORTED'

      Comment

      • lpic.lt
        Junior Member
        • Sep 2014
        • 6

        #4
        Team seriously? All treads end with logrt ZBX_NOTSUPPORTED ?

        Is there any possibility to enable it?

        Comment

        Working...