We have one Device Template based on SNMP Lib.

We need a sensor that is a sum of two OID values on that Lib. We know for do that we can use Sensor Factory that gives me the sensor result caulated besed in other sensors. Our question is if we have possibility to do that automatic from Template and not create manualy? When i create the device this specif sensor also be automatic created.

Or if there are other way to reach that.

Many thanks the assistance Daniel


Article Comments

Hi Daniel,

Thank you for the update. It's not possible to add a Factory Sensor to a device template. Therefore, you would need to do this manually.


Dec, 2021 - Permalink

Many Thanks for your reply and support.

Is possible at least undetstand if there are ny way that this can be done?

We need something like Traffic Sensor, where you have Total channel (created automaticly), that is a Sum (calculation) of other two channels/OIDs (In/Out).

Its is very painfull if i've to create manualy a sensor and can't create a automatic process. In our case is something like 400 sensors/channels or more.

Sorry to double check but i don't want believe there are no other way to create a automatic calculated sensor/channel based on other sensor/channel. Many thanks once again for assistance


Dec, 2021 - Permalink

Hi there,

the issue is that you need to configure the Sensor IDs in the configuration of the Factory Sensor. This cannot be done automatically and therefore the Sensor cannot be created via the Auto Discovery.
What you can check is whether the following third party API is to automatically create this Sensor: https://github.com/lordmilko/PrtgAPI

Please note that don't support this API since it's a third party tool.


Dec, 2021 - Permalink