I am interested in improving some of the Palo Alto monitoring and would like to create a datasource that looks at the chassis led’s for a particular alarm status. Using the XML API explorer the command is this: <show><system><state><filter>chassis.leds</filter></state></system></show> The response is below and without using the filter parameter the result body is a giant mess of information. I’ve taken an existing ds, cloned it but my scripting knowledge of xmlslurper, parsetext and such is failing to discover anything. Also the response below is not in the typical format the output of the other PA datasources have with regards to slots etc.. so I’m stuck on the output part of my script and it doesn’t discover anything. What I want is an instance named chassis.leds and then data from a couple of the values below. Once I get this working I would likely create another DS that checks the status of the disk RAID configuration. How would you write the output? <response status="success"> <result> <![CDATA[ chassis.leds: { 'alarm': Off, 'fans': Off, 'ha': Off, 'log': Off, 'service': Off, 'status': Green, 'temp': Green, } ]]> </result> </response>