New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Request number of errors per probe or device through HTTP

Votes:

0

Your Vote:

Up

Down

I am looking for a way to read the number of errorsmessages there are for a single node or device. An option that comes close to what i'm looking for is the getstatus request. (http://{url}/api/getstatus.xml?username={user}&passhash={pass}), but this shows the number of messages of all the nodes this user has acces to.

Is there a way to get the number of errors (and warnings) for a single node or device?

http prtg xml

Created on Apr 21, 2010 12:46:58 PM by  Frans Stapff (0) 1



Best Answer

Accepted Answer

Votes:

1

Your Vote:

Up

Down

Use the table.xml request

Using the table.xml request, you can include an ObjectID filter, to only count warnings and errors from that sensor down:

http://{url}/api/table.xml?content=probes&filter_objid={objectid}&columns=downsens,warnsens&username={user}&passhash={passhash}

The output will look something like this:

  <?xml version="1.0" encoding="UTF-8" ?> 
- <probes>
  <prtg-version>7.3.3.5634</prtg-version> 
- <item>
  <downsens_RAW>0000000000</downsens_RAW> 
  <warnsens_RAW>0000000000</warnsens_RAW> 
  </item>
  </probes>

Created on Apr 22, 2010 10:31:08 AM by  PRTG Tools Family [prtgtoolsfamily.com] (12,925) 3 4



5 Replies

Votes:

0

Your Vote:

Up

Down

Dear Frans,

I'm very much afraid such an API-Call is not yet available for PRTG 7.x.

Best Regards.

Created on Apr 21, 2010 5:02:17 PM by  Torsten Lindner [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thank you for your quick reply.

Are there any plans to make this available in a future update/release?

Created on Apr 22, 2010 7:16:51 AM by  Frans Stapff (0) 1



Votes:

0

Your Vote:

Up

Down

Might be available in the future.

Created on Apr 22, 2010 7:20:56 AM by  Aurelio Lombardi [Paessler Support]



Accepted Answer

Votes:

1

Your Vote:

Up

Down

Use the table.xml request

Using the table.xml request, you can include an ObjectID filter, to only count warnings and errors from that sensor down:

http://{url}/api/table.xml?content=probes&filter_objid={objectid}&columns=downsens,warnsens&username={user}&passhash={passhash}

The output will look something like this:

  <?xml version="1.0" encoding="UTF-8" ?> 
- <probes>
  <prtg-version>7.3.3.5634</prtg-version> 
- <item>
  <downsens_RAW>0000000000</downsens_RAW> 
  <warnsens_RAW>0000000000</warnsens_RAW> 
  </item>
  </probes>

Created on Apr 22, 2010 10:31:08 AM by  PRTG Tools Family [prtgtoolsfamily.com] (12,925) 3 4



Votes:

0

Your Vote:

Up

Down

Thank you very much. This is precisely what i was looking for.

Created on Apr 22, 2010 11:22:55 AM by  Frans Stapff (0) 1



Please log in or register to enter your reply.


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.