New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

150.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


Prowl Support/Notify My Android

Votes:

0

Your Vote:

Up

Down

I thought I'd juset let everyone know that there is now an alternative to Prowl for Android called "Notify my Android" which uses push notifications.

It can be implemented in pretty much the same way as this article:

http://www.paessler.com/blog/2009/11/02/prtg-7/sending-notifications-from-prtg-to-iphones-for-free

NMA is available here: https://nma.usk.bz/index.php

android nma prowl

Created on May 9, 2011 12:13:06 PM by  ritdaw (0) 1 1



Best Answer

Accepted Answer

Votes:

0

Your Vote:

Up

Down

Important notice: As of PRTG core server version 14.3.13 and PRTG for iOS 14.3.6 resp. PRTG for Android 14.3.2, you can use push notifications with your iPhone resp. Android device without any workaround.

Please see this article for details:

Created on Sep 16, 2014 11:12:13 AM by  Gerald Schoch [Paessler Support]



4 Replies

Votes:

0

Your Vote:

Up

Down

This is the postdata string I use, personally I find the example one has far too much text.

apikey=[insertapikey]&application=%device&event=%shortname&description=%message ------ Last Result: %lastvalue

Created on May 9, 2011 12:56:04 PM by  ritdaw (0) 1 1

Last change on May 16, 2011 11:59:30 AM by  Daniel Zobel [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Thanks. Got this all working (notifo for Android has stopped working and API interface was far to complicated, was just using push email) This is much cleaner and works great!

Created on Aug 2, 2011 11:42:48 PM by  zanewoodfield (0)



Votes:

0

Your Vote:

Up

Down

Some other useful stuff when working with NMA and Prowl/Growl. We use a PowerShell script to call both and a bit of crude munging to allow PRTG to pass the priority (i.e. the * * * * in the UI) of an alert through to the PDA:

param($server, $shortname, $status, $datetime, $group, $prioritytext, $down, $message, $lastvalue)

$nmaurl = 'https://www.notifymyandroid.com/publicapi/notify'
$nmaapikey = '<yourapikeyhere>'

$priority = [regex]::matches($prioritytext,"\*").Count
$priority = $priority-3

$parameters = 'apikey=' + $nmaapikey + '&application=PRTG&event=' + $server + ' ' + $shortname + ' ' + $status + '&description=' + $datetime + ' ' + $group + ' Last value: ' + $lastvalue + '&priority=' + $priority

$http2 = New-Object -ComObject Msxml2.XMLHTTP
$http2.open('POST', $nmaurl, $false)
$http2.setRequestHeader("Content-type", "application/x-www-form-urlencoded")
$http2.setRequestHeader("Content-length", $parameters.length)
$http2.setRequestHeader("Connection", "close")
$http2.send($parameters)
$http2.statusText

Drop this into the Notifications folder as a .ps1 file and then just wire up a notification to run this with the following parameters:

'%server' '%shortname' '%status' '%datetime' '%group' '%prioritytext' '%down' '%message' '%lastvalue'

(Single quotes for PowerShell params!)

We use seperate notificatons for "up" and "down" alerts as down alerts always go out with the correct priority, but "up" alerts always go out at the lowest priority. Using this, NMA has a cool feature to silence alerts at night apart from Emergency (i.e. 5-star) alerts. This is awesome when you have over 3000 rather chatty sensors as we do! I also have an escalation version of this script that *only* sends emergency notifications through, which is quite a nice way to work around the slightly clunky PRTG notification platform.

We use the same scripts for Prowl too as it's very nearly the same API, so we can support both the filthy, evil iPhone users and the great, noble Android heroes. (no bias here, of course)

If anyone has any other suggestions on how to use this, please post here as I'm sure it would be useful to all.

Created on Oct 14, 2011 9:29:42 AM by  Stuart Hall (10) 1

Last change on Oct 14, 2011 2:05:39 PM by  Daniel Zobel [Paessler Support]



Accepted Answer

Votes:

0

Your Vote:

Up

Down

Important notice: As of PRTG core server version 14.3.13 and PRTG for iOS 14.3.6 resp. PRTG for Android 14.3.2, you can use push notifications with your iPhone resp. Android device without any workaround.

Please see this article for details:

Created on Sep 16, 2014 11:12:13 AM by  Gerald Schoch [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.