Hey Guys,
Glad to be back after a long time of not using ZABBIX ^^
I perform preprocessing where I need to search for a keyword that is the same as the name of a particular item. Unfortunately, when I have something like this:
(^"Disk 1".*)(?<= status
(.*)(?= temperature) - it all works, but wit this:
(^"{ITEM.NAME}".*)(?<= status
(.*)(?= temperature) - it does not, and my item name is "Disk 1", not sure if it is important - it is a DEPENDENT ITEM.
So in the main script I read values for all o of the disks, and later in other items I just pull information I need to each disk, getting status of the disks from particular line using regex.
Anyone has any idea why?
Cheers,
J
Glad to be back after a long time of not using ZABBIX ^^
I perform preprocessing where I need to search for a keyword that is the same as the name of a particular item. Unfortunately, when I have something like this:
(^"Disk 1".*)(?<= status
(.*)(?= temperature) - it all works, but wit this:(^"{ITEM.NAME}".*)(?<= status
(.*)(?= temperature) - it does not, and my item name is "Disk 1", not sure if it is important - it is a DEPENDENT ITEM.So in the main script I read values for all o of the disks, and later in other items I just pull information I need to each disk, getting status of the disks from particular line using regex.
Anyone has any idea why?
Cheers,
J
Comment