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.


Article Comments

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


Feb, 2018 - Permalink

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


Feb, 2018 - Permalink

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


Feb, 2018 - Permalink

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

Thank you for your help !


Feb, 2018 - Permalink

You're welcome.


Feb, 2018 - Permalink