109 lines
2.6 KiB
JSON
109 lines
2.6 KiB
JSON
|
{
|
||
|
"response": "success",
|
||
|
"data": [{
|
||
|
"itemid": 1,
|
||
|
"key": "system.uptime",
|
||
|
"delay": "5",
|
||
|
"lastlogsize": 1,
|
||
|
"mtime": 2
|
||
|
}, {
|
||
|
"itemid": 2,
|
||
|
"key": "systemd.unit.info[dbus.service]",
|
||
|
"delay": "5",
|
||
|
"lastlogsize": 0,
|
||
|
"mtime": 0
|
||
|
}, {
|
||
|
"key": "log[\"/tmp/test.txt\",\"@Network interfaces for discovery\"]",
|
||
|
"itemid": 28627,
|
||
|
"delay": "5",
|
||
|
"lastlogsize": 0,
|
||
|
"mtime": 0
|
||
|
}, {
|
||
|
"key": "log[\"/tmp/test2.txt\",\"@File systems for discovery\"]",
|
||
|
"itemid": 28628,
|
||
|
"delay": "5",
|
||
|
"lastlogsize": 0,
|
||
|
"mtime": 0
|
||
|
}, {
|
||
|
"key": "log[\"/tmp/test3.txt\",\"@Character string included\"]",
|
||
|
"itemid": 28629,
|
||
|
"delay": "5",
|
||
|
"lastlogsize": 0,
|
||
|
"mtime": 0
|
||
|
}, {
|
||
|
"key": "log[\"/tmp/test4.txt\",\"@Any character string included insensitive\"]",
|
||
|
"itemid": 28630,
|
||
|
"delay": "5",
|
||
|
"lastlogsize": 0,
|
||
|
"mtime": 0
|
||
|
}, {
|
||
|
"key": "log[\"/tmp/test5.txt\",\"@Character string not included\"]",
|
||
|
"itemid": 28631,
|
||
|
"delay": "5",
|
||
|
"lastlogsize": 0,
|
||
|
"mtime": 0
|
||
|
}],
|
||
|
"refresh_unsupported": 600,
|
||
|
"regexp": [{
|
||
|
"name": "Network interfaces for discovery",
|
||
|
"expression": "^Software Loopback Interface",
|
||
|
"expression_type": 4,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 1
|
||
|
}, {
|
||
|
"name": "Network interfaces for discovery",
|
||
|
"expression": "^(In)?[Ll]oop[Bb]ack[0-9._]*$",
|
||
|
"expression_type": 4,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 1
|
||
|
}, {
|
||
|
"name": "Network interfaces for discovery",
|
||
|
"expression": "^NULL[0-9.]*$",
|
||
|
"expression_type": 4,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 1
|
||
|
}, {
|
||
|
"name": "Network interfaces for discovery",
|
||
|
"expression": "^[Ll]o[0-9.]*$",
|
||
|
"expression_type": 4,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 1
|
||
|
}, {
|
||
|
"name": "Network interfaces for discovery",
|
||
|
"expression": "^[Ss]ystem$",
|
||
|
"expression_type": 4,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 1
|
||
|
}, {
|
||
|
"name": "Network interfaces for discovery",
|
||
|
"expression": "^Nu[0-9.]*$",
|
||
|
"expression_type": 4,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 1
|
||
|
}, {
|
||
|
"name": "File systems for discovery",
|
||
|
"expression": "^(btrfs|ext2|ext3|ext4|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|apfs|refs|ntfs|fat32|zfs)$",
|
||
|
"expression_type": 3,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 0
|
||
|
}, {
|
||
|
"name": "Character string included",
|
||
|
"expression": "foo",
|
||
|
"expression_type": 0,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 1
|
||
|
}, {
|
||
|
"name": "Any character string included insensitive",
|
||
|
"expression": "FOO.BAR.BAZ",
|
||
|
"expression_type": 1,
|
||
|
"exp_delimiter": ".",
|
||
|
"case_sensitive": 0
|
||
|
}, {
|
||
|
"name": "Character string not included",
|
||
|
"expression": "foo",
|
||
|
"expression_type": 2,
|
||
|
"exp_delimiter": ",",
|
||
|
"case_sensitive": 0
|
||
|
}]
|
||
|
}
|