Ad Widget

Collapse

LLD rule creat failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Simy88
    Junior Member
    • Feb 2018
    • 4

    #1

    LLD rule creat failed

    Hi, Everyone,
    i want to create a LLD discovery to monitor the file numbers of each sub-folder,now the scripts are ok ,and can return right json data,but the lld rule configured on zabbix server show it is unsupported.

    1. the json data about returning sub-folders

    [root@localhost log]# zabbix_get -s 10.71.42.59 -k filecount.discover["c:\zabbix"]
    {"data":[{"{#FolderName}":"bin","{#FolderFullName}":"C:\\za bbix\\bin","{#Filecount}":"14"},{"{#FolderName}":" conf","{#FolderFullName}":"C:\\zabbix\\conf","{#Fi lecount}":"1"},{"{#FolderName}":"log","{#FolderFul lName}":"C:\\zabbix\\log","{#Filecount}":"1"},{"{# FolderName}":"Scripts","{#FolderFullName}":"C:\\za bbix\\Scripts","{#Filecount}":"4"}]}


    2. config discovery rule
    Name:filecount
    Type: zabbix agent
    key: filecount.discover

    3. and then the discovery rule shows this lld is not supported
  • Simy88
    Junior Member
    • Feb 2018
    • 4

    #2
    LLD rule creat failed

    is anyone know the reason? or is there anyone who can send me a working lld
    script and temple?

    Comment

    • Simy88
      Junior Member
      • Feb 2018
      • 4

      #3
      LLD rule creat failed

      the server sversion is 3.4.2

      Comment

      • Simy88
        Junior Member
        • Feb 2018
        • 4

        #4
        Originally posted by Simy88
        Hi, Everyone,
        i want to create a LLD discovery to monitor the file numbers of each sub-folder,now the scripts are ok ,and can return right json data,but the lld rule configured on zabbix server show it is unsupported.

        1. the json data about returning sub-folders

        [root@localhost log]# zabbix_get -s 10.71.42.59 -k filecount.discover["c:\zabbix"]
        {"data":[{"{#FolderName}":"bin","{#FolderFullName}":"C:\\za bbix\\bin","{#Filecount}":"14"},{"{#FolderName}":" conf","{#FolderFullName}":"C:\\zabbix\\conf","{#Fi lecount}":"1"},{"{#FolderName}":"log","{#FolderFul lName}":"C:\\zabbix\\log","{#Filecount}":"1"},{"{# FolderName}":"Scripts","{#FolderFullName}":"C:\\za bbix\\Scripts","{#Filecount}":"4"}]}


        2. config discovery rule
        Name:filecount
        Type: zabbix agent
        key: filecount.discover

        3. and then the discovery rule shows this lld is not supported

        the server version is 3.4.2

        Comment

        Working...