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


getstatus.xml not delivering correct counts for newMessages & newAlarms when using passhash

Votes:

0

Your Vote:

Up

Down

Hi,

we are using the API for various purposes in other applications and had great experience using it so far.

Know we are faced with a problem:

When trying to get the counts of messages and alarms by calling https://zzz/api/getstatus.xml?id=0&username=XXXX&passhash=YYYYYYY we are always getting zeros for newMessages and newAlarms although there are new Messages and new Alarms.

If i login through the WebGUI (with the same user) and directly use /api/getstatus.xml?id=0 then i get the correct numbers

I now found that using the password in the URL String instead of the passhash gives me at least correct count for "newMessages".

Is there a restriction using passhash which i missed?

api getstatus passhash password

Created on Apr 30, 2014 10:49:20 AM by  michaelj (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello,

thank you very much for your KB-Post. I'm afraid this is due to the fact that the API-Call causes a new login each time, and thus these values are reset to zero.

best regards.

Created on May 6, 2014 4:12:42 AM by  Torsten Lindner [Paessler Support]



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.