New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

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


Add tagged sensors to map audio alerts

Votes:

1

Your Vote:

Up

Down

If you're looking for a way to automatically add sensors, groups or devices to an audio alarm map object based on the tag of the sensor you can do it using this work around:

1) Create a library, with a library node set to show objects with a specific tag only. Add your tag here, something like "Audio Alarm"

2) Tag what ever you want to add and check to see if they're automatically added to the library

3) You need to write a .bat script that will update a text file on your master probe and put in into \PRTG Network Monitor\Notifications\EXE the script should be similar to the below. The example creates a text file in C:\AudioAlerts (this directory must exist):

echo Critical > c:\AudioAlerts\StatusDoNotDelete.txt
PING 1.1.1.1 -n 1 -w 70000
echo Healthy > c:\AudioAlerts\StatusDoNotDelete.txt

4) Create a notification in the setup section, set the notification to run the script you have just created. Make sure you set a domain username and password to run the script, otherwise this will run as the service account of the PRTG probe (which under normal circumstances will fail)

5) Test the notification and make sure its working

6) Go back to the library you created earlier, set it to use the notification you created, set it to repeat whilst in a failed state every minute.

7) Now create a "file content" check sensor on your master probe, point it to the file the script creates, look for the string "Healthy" (as in the example script - NOTE THIS IS CASE SENSITIVE)

8) Finally add your sensor to the map and assign the "Audio Alert when error > 0" status map object to the sensor

9) Test! - all should now work!


Edit by moderation: Formatting/links. Thanks for the post.

alarms audio tags

Created on Aug 1, 2016 8:30:17 AM by  Peter Grayson (1) 1

Last change on Aug 1, 2016 10:44:21 AM by  Luciano Lingnau [Paessler]



Replies

Nobody has replied yet

Why not be the first?

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.