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

Help with Factory Sensor.

Votes:

0

Hi,

I need a way to create Factory Sensor automatically. These Factory Sensors will be an aggregation of traffic sensors of a specific group.

Is there a way to verify all traffic sensor on a group, verify which of then are up and then create a Factory Sensor automatically with these informations?

Is it possible using PRTG API?

Thank you!

api automatically factory

Created on Jan 31, 2011 7:59:29 PM



2 Replies

Votes:

0

Dear Bruno,

that might be possible, but will probably be quite an effort in scripting:

  • get all sensors from a certain group
  • check the types of these sensors
  • filter only for traffic sensors
  • then filter out the IDs of those
  • clone an existing Sensor Factory Sensor
  • change its Channel definition using the IDs from the traffic Sensors above

Best Regards.

Created on Feb 1, 2011 1:33:41 PM by  Torsten Lindner [Paessler Support]



Votes:

0

and do you think it´s possible to check which source sensors are up (like "if sensorA_status==up then ..."; or "select from sensor where status=up ...")? I would like to create a Factory sensor that will be never in down/error state because of the source sensors.

Thanks.

Created on Feb 1, 2011 5:55:50 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.