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


Show status of notification on map

Votes:

0

Your Vote:

Up

Down

I created a custom EMI/UCP notification to send text messages directly through a landline. When we do maintenance the notification is paused and resumed after we’re done. I want to make sure the notification is not left in a paused state unintentional so I want to show the status (paused/running) on a map. Is this possible?

map notification status

Created on Jul 30, 2015 6:43:30 AM by  MHU (10) 1



3 Replies

Votes:

0

Your Vote:

Up

Down

Dear mhultzer

There is no mapobject for notification states provided with the PRTG installation. Creating a custom map object could be done with an iframe using the HTML before field of the Custom HTML map object.

The source of the iframe could be a table, like

/tablewithstyles.htm?content=notifications&id=0&columns=name,active&count=*

To only get the status of the notification with the ID 302, the table would look like

/tablewithstyles.htm?content=notifications&;id=0&columns=active&count=*&filter_objid=302

Created on Jul 30, 2015 12:33:52 PM by  Arne Seifert [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thanks Arne but unfortunately not useable for us, this only works when the map is viewed in authenticated mode, not in public mode. Is it possible to get the status of the notification outside PRTG? PRObject.exe doesn’t do the trick.

Created on Jul 30, 2015 1:38:06 PM by  MHU (10) 1



Votes:

0

Your Vote:

Up

Down

Dear mhultzer

In principle, you could provide credentials within the tablewithstyles URL (please read the API documentation, menu Setup | PRTG API, tab "HTTP API".)

However this would expose credentials to the outside, as they would be part of the source code. It is therefore not recommended for a public map.

You cannot query the notification status outside of PRTG unless you provide valid PRTG user credentials. A possible solution would be to create a custom sensor. That sensor could use use /api/table.xml instead of /tablewithstyles.htm and check the "active" property and return a value depending on that value.

This would require to write a custom sensor, described via Setup | PRTG API, tab "Custom Sensors".

To download the XML result of the /api/table.xml request, you could use a Powershell command like this:

[xml]$result = (new-object System.Net.WebClient).downloadstring($url)

Created on Jul 30, 2015 2:45:30 PM by  Arne Seifert [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.