Need a bit of help to figure out the following.
I have an already fine running LLD rule which creates the correct items and value.
However I notice that the system which is providing this data also have additonal pages with details.
The links to those pages are part of the original json output.
I can gather those URLs with the LLD however here comes the tricky part, the additional details are on a different page.
Original data is on http://<ip>:8800, and the statuspage returns: http://hostname:8801 or 8799 etc the numbers are in range of the original but could be higher or lower.
Removing the hostname part and only gather port isn't the challenge, regex
But I can't figure out how to do the following:
Create an http agent item to gather the specific page AND then use a 'new' LLD rule to create items from that page
I have an already fine running LLD rule which creates the correct items and value.
However I notice that the system which is providing this data also have additonal pages with details.
The links to those pages are part of the original json output.
I can gather those URLs with the LLD however here comes the tricky part, the additional details are on a different page.
Original data is on http://<ip>:8800, and the statuspage returns: http://hostname:8801 or 8799 etc the numbers are in range of the original but could be higher or lower.
Removing the hostname part and only gather port isn't the challenge, regex
Code:
:\S.*:(\S*.)
Create an http agent item to gather the specific page AND then use a 'new' LLD rule to create items from that page
Comment