I'm trying to use PRTG map to display a ticket number from our ticketing system. I have configured a custom EXE/script sensor that returns xml for the existence of a high priority ticket and turn to warning when it matches. This work well. What I am trying to do is get the ticket number so I can display it on the map. For this i have been able to get the PRTG url for this as
"https://xxx/api/getobjectstatus.htm?id=51923&name=lastvalue&show=text"
This returns "14.3.10.2422+ 1,512,348 #" But what I am trying to filter is the PRTG version info at the start "14.3.10.2422+" so that all i get is "1,512,348 #"
What can I add to the url code to remove this? or if this isn't possible what would the html code be to remove the version component?
The custom html come I'm using to display this is: <iframe src="https://xxx/api/getobjectstatus.htm?id=51923&name=lastvalue&show=text" name="iframe_a">
Add comment