What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Filtering System Status API Calls

Votes:

0

Hi there, i'm making a monitoring dashboard for our PRTG hosts and have it almost working. However, i was wondering if there is a way to filter the output of getstatus.xml?id=0 to only give certain crucial information.

I could do this with slice on my dashboard server but i hope you can help with this as it'd be very useful to have a customsiable api call to tell us critical things.

Thanks Samuel

api prtg system-status

Created on Apr 24, 2017 8:47:23 AM



Best Answer

Accepted Answer

Votes:

0

Well you can't filter for certain properties, but filtering via ID (to only get info about the object and its child items) works. You'll need to apply the filter afterwards in your dashboard application :)

Created on Apr 25, 2017 8:12:08 AM by  Stephan Linke [Paessler Support]



5 Replies

Votes:

0

Define "certain crucial information" ;)

Created on Apr 24, 2017 6:13:00 PM by  Stephan Linke [Paessler Support]



Votes:

0

a fair request :) Currently all i need is

  • New Messages
  • New Alarms
  • Alarms
  • Ack Alarms
  • Background Tasks
  • Version

I configured them to return this data for certain groups but am struggling to make it a simple system wide status report. We monitor around 8000 devices with 100k+ sensors over 6 PRTG host devices, i have the data aggregating from all of them into Dashing however that server receiving all the information and then configuring it is proving dang near impossible for some unknown Ruby reason :)

Kindest Samuel

Created on Apr 25, 2017 7:20:32 AM

Last change on Apr 25, 2017 8:02:58 AM by  Stephan Linke [Paessler Support]



Accepted Answer

Votes:

0

Well you can't filter for certain properties, but filtering via ID (to only get info about the object and its child items) works. You'll need to apply the filter afterwards in your dashboard application :)

Created on Apr 25, 2017 8:12:08 AM by  Stephan Linke [Paessler Support]



Votes:

0

gahhhh, i have spend 4 days arguing with slice functions in my dashboard code to modify how the data is displayed with no success... i shall continue! #devsupport :)

Thanks for your help

Created on Apr 25, 2017 8:14:20 AM



Votes:

0

Couldn't you turn the response json into an object and only show certain properties?

Created on Apr 25, 2017 8:42:17 AM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.