I've recently upgraded form zabbix 1.8 to 2.0.
I've been testing LLD to in the 2.0 Template_OS_Linux
Below I posted results of zabbix_get -s 127.0.0.1 -p 10050 -k "vfs.fs.discovery" and "net.if.discovery"
now one thing I seeing is everyone stating that global reg ex is supposed to process that. 2 things about that.
1. It's not populating the interfaces
2. when i go the the reg ex page, it's empty.
Should some global reg ex expression be there?
Thanks
[linux@linux-01 ~]$ zabbix_get -s 127.0.0.1 -p 10050 -k "vfs.fs.discovery"
{
"data":[
{
"{#FSNAME}":"\/",
"{#FSTYPE}":"rootfs"},
{
"{#FSNAME}":"\/proc",
"{#FSTYPE}":"proc"},
{
"{#FSNAME}":"\/sys",
"{#FSTYPE}":"sysfs"},
{
"{#FSNAME}":"\/dev",
"{#FSTYPE}":"devtmpfs"},
{
"{#FSNAME}":"\/dev\/pts",
"{#FSTYPE}":"devpts"},
{
"{#FSNAME}":"\/dev\/shm",
"{#FSTYPE}":"tmpfs"},
{
"{#FSNAME}":"\/",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/proc\/bus\/usb",
"{#FSTYPE}":"usbfs"},
{
"{#FSNAME}":"\/boot",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/data",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/home",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/var",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/proc\/sys\/fs\/binfmt_misc",
"{#FSTYPE}":"binfmt_misc"}]}
[linux@linux ~]$ zabbix_get -s 127.0.0.1 -p 10050 -k "net.if.discovery"
{
"data":[
{
"{#IFNAME}":"lo"},
{
"{#IFNAME}":"em1"},
{
"{#IFNAME}":"em2"}]}
I've been testing LLD to in the 2.0 Template_OS_Linux
Below I posted results of zabbix_get -s 127.0.0.1 -p 10050 -k "vfs.fs.discovery" and "net.if.discovery"
now one thing I seeing is everyone stating that global reg ex is supposed to process that. 2 things about that.
1. It's not populating the interfaces
2. when i go the the reg ex page, it's empty.
Should some global reg ex expression be there?
Thanks
[linux@linux-01 ~]$ zabbix_get -s 127.0.0.1 -p 10050 -k "vfs.fs.discovery"
{
"data":[
{
"{#FSNAME}":"\/",
"{#FSTYPE}":"rootfs"},
{
"{#FSNAME}":"\/proc",
"{#FSTYPE}":"proc"},
{
"{#FSNAME}":"\/sys",
"{#FSTYPE}":"sysfs"},
{
"{#FSNAME}":"\/dev",
"{#FSTYPE}":"devtmpfs"},
{
"{#FSNAME}":"\/dev\/pts",
"{#FSTYPE}":"devpts"},
{
"{#FSNAME}":"\/dev\/shm",
"{#FSTYPE}":"tmpfs"},
{
"{#FSNAME}":"\/",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/proc\/bus\/usb",
"{#FSTYPE}":"usbfs"},
{
"{#FSNAME}":"\/boot",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/data",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/home",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/var",
"{#FSTYPE}":"ext4"},
{
"{#FSNAME}":"\/proc\/sys\/fs\/binfmt_misc",
"{#FSTYPE}":"binfmt_misc"}]}
[linux@linux ~]$ zabbix_get -s 127.0.0.1 -p 10050 -k "net.if.discovery"
{
"data":[
{
"{#IFNAME}":"lo"},
{
"{#IFNAME}":"em1"},
{
"{#IFNAME}":"em2"}]}
There's a difference.
Comment