What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Can a sensor be created for sudden drop in users?

Votes:

0

I have a sensor that's currently showing total users logged into our systems. It shows 0 to as much as 8000 users logged in daily. I'm green to PRTG, so bear with me. I'm looking to find a way to utilize this sensor to show a drop of 1000 users within two minutes. So far, if I add a threshold trigger below a number, I will get an alarm every night when user access is low.

For example: If I have about 6000 users logged in, then within two minutes it drops to 5000 and stays at that, I'd like to receive an alert.

I have tried to find something with the unusual activity sensor, but i can't see a way to edit it.

I appreciate any help you can give. Many thanks!

sudden-drop timed-alert unusual user

Created on Oct 6, 2014 1:50:13 PM



3 Replies

Votes:

0

Hello,

Thank you very much for using PRTG. Unfortunately, it's not possible for a sensor (or a trigger on a sensor) to calculate the difference between the current and the last scan. May I ask, what kind is this sensor here?
There could be work-around of also checking the same information also with a script (running as a Custom Sensor. Where the script then calculates the difference between the current and the last scan, and returns this difference to PRTG. The alarming should then be done via the script sensor, and the other "normal" sensor could be used for normal reporting to see the average user numbers through the day / hours of the day.

best regards.

Created on Oct 8, 2014 12:42:23 PM by  Torsten Lindner [Paessler Support]



Votes:

0

When you say 'I have a sensor', is that a Custom Sensor?

If so and asuming it is (or you can convert it to) a EXE/Script Advanced sensor, you can use the

<mode>Difference</mode>

html tag to report the difference between two scans instead of the absolute values.

Created on Oct 8, 2014 1:35:08 PM



Votes:

0

Thank you both for replying and deepest apologies for replying so late. It has been a heck of a week at the office.

Again, forgive me for being new to PRTG...

The sensor was created before I took over the project.

From what I can tell it is a standard sensor (not a custom sensor) that counts totals of other channels to then produce a total count of all users that log into our host boxes.

[IMG]http://i.imgur.com/TzRy1Ej.png?1[/IMG]

I looked at the links that both of you suggested regarding the PRTG API. That MAY be a little out of my range as I'm not a programmer.

I really appreciate both of your responses. I will work on reviewing this option with an available programmer who has more experience.

Thanks!

Created on Oct 13, 2014 2:50:11 PM




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.