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
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
Comment