PRTG - Notifications
Hello, and welcome to this video about use cases for notifications within PRTG.
As my first example, I'd like to cover PRTG's push notifications. To receive push notifications on your smart phone or tablet, first install the PRTG app on your phone, and configure it to connect to your PRTG server. Then, in the app, activate push notifications. The app will request a token from the Google or Apple cloud, and will then send this unique token to your PRTG server. A new entry for your phone will appear in the notification contacts on your PRTG server. Your PRTG server can now send push notifications to your mobile device, whenever your server detects an event that has a push notification assigned to it. To be able to receive push notifications, both your PRTG server and your smart phone must have Internet access, for both the registration process and sending the push notifications.
Let's now look at another use case, this time for notification Schedules. If you have a Green IT program that includes a scheduled shutdown of your servers, then you don't want to receive alarms from PRTG about these scheduled shutdowns. To avoid receiving alarms you can set a schedule for each notification. For example, if your printers are shut down overnight, then the notification you use for your printers specify a schedule that's only active during the day. In the notification, under Schedule, select that this notification should be active only during the day, for example, from 8AM to 8PM. You can define the schedules that are available in this list centrally, under Setup - Account Settings - Schedules
PRTG offers the ability to define your own custom notifications, so you can tailor notifications to meet your needs. For example, using PRTGs RESTful API, you can edit internal PRTG objects, to automatically acknowledge an alarm, or to pause a sensor. To do this, select HTTP action as the type of notification, and enter the API call here. In this example, I have an API call that automatically acknowledges an alarm. I then need to set this notification as the response to a state trigger for my sensor. Then, when I set the sensor into an alarm state, this notification will be triggered, the API call will be performed, and my sensor will go into acknowledged state.
Another possibility for custom notifications is to run a program or script as the notification. You can use this to document issues, to reboot systems, to collect additional information, plus anything else you can think of. Essentially, if you can write a script to perform the action, then you can use this action as a notification. If you'd like to use API calls for custom notifications, it's important to note that our entire API documentation is available inside PRTG itself, under Setup - PRTG API. You can use any scripting language that you like, from batch scripts to python, to run a script on your PRTG system. SMS Notifications using a GSM modem A common question from our users, is how to send SMS notifications using a GSM modem or cell phone. This type of notification is particularly interesting as a backup notification method for when your IP connection or internet connection is down. To send SMS over a GSM modem you need to use a third party software tool that can send the SMSs. If you'd like a list of some third party software that we've already tested, and configuration guides for those products, please check out our knowledge base, article number 393. To trigger the SMS software, you use either an HTTP Action notification, or an "execute program" Notification.
That brings me to the end of this video. If you have any questions about notificaitons, or anything else within PRTG, please contact us at any time. Thanks, and goodbye.