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

Make a sensor activation depends on parents sensor value.

Votes:

0

Hi

I have some device I would like to monitor but only during some specific event, so I don't have useless alert when device are not reachable when it's normal they are off.

My idea was to create a custom sensor which value would be "0" if no event, and "1" during an event, and some child ping sensor pinging while my custom sensor's value is "1".

Is it possible?

Regards, Colin.

custom-sensor dependency prtg

Created on Feb 20, 2018 4:25:06 PM



Best Answer

Accepted Answer

Votes:

0

Hello Colin,

Thank you very much for your clarification.

Your assumption is correct, you can trigger the working state of a device to be paused (indefinitely) or active. The corresponding API call would be: /api/pause.htm?id=objectid&pausemsg=yourmessage&action=0 Further information can be found within PRTG's API under Setup | PRTG API | Object Manipulation.

Best regards,
Sebastian

Created on Feb 26, 2018 9:11:54 AM by  Sebastian Kniege [Paessler Support]



5 Replies

Votes:

0

Hello Colin,

Sorry for the long delay on this case.

By saying the devices are only up during certain events, are you able to say in future when the devices are up? Is this a recurring event, for instance the device are always up Fridays between 8am to 4pm? If so, you could check out PRTG schedules to enable the monitoring only during certain dates and times and automatically pause the devices outside the schedules.

Please let me know if the events can be scheduled.

Best regards,
Sebastian

Created on Feb 23, 2018 10:24:50 AM by  Sebastian Kniege [Paessler Support]



Votes:

0

Hi!

I am sorry I didn't precise, I am able to know when an event occurs but these events are not regular at all (like sports club match).

I also saw an option to active sensors during a unique duration, if this option could be automated via an API call it would be a solution too.

Thanks for your time

Regards, Colin

Created on Feb 23, 2018 10:54:38 AM



Accepted Answer

Votes:

0

Hello Colin,

Thank you very much for your clarification.

Your assumption is correct, you can trigger the working state of a device to be paused (indefinitely) or active. The corresponding API call would be: /api/pause.htm?id=objectid&pausemsg=yourmessage&action=0 Further information can be found within PRTG's API under Setup | PRTG API | Object Manipulation.

Best regards,
Sebastian

Created on Feb 26, 2018 9:11:54 AM by  Sebastian Kniege [Paessler Support]



Votes:

0

I'll be able to automate my sensor activation/deactivation with this API call.

Thank you for your help !

Created on Feb 26, 2018 3:37:11 PM



Votes:

0

You're welcome.

Created on Feb 27, 2018 1:28:18 PM by  Sebastian Kniege [Paessler Support]

Last change on Feb 27, 2018 1:28:38 PM by  Sebastian Kniege [Paessler Support]




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.