Hello everyone,
I need your help to establish a script that allows me to receive information:
I explain: In the one hundred server that are supervised in PRTG, I have identified some disk spaces with a "Disque_Mine" tag. I need to do an extraction in order to quickly visualize these disks that are in Warning status and that this extraction also shows me the free bytes (in G-bytes) and the sum contained in the channels.
With my 1st order I get to have what I want except the channels in question. <My server> /api/table.xml?content=sensors&output=csvtable&columns=probe,device,sensor,objid,status,message&filter_status=4&filter_tags=@tag (Disque_Mine) With this one, I manage to get the desired channels: /api/table.csv?id=49753&content=channels&columns=objid,name,lastvalue
How do you combine the two to avoid using the second drive for each drive?
Is there anyone who could help me set up a script that would allow me to do this?
Add comment