When creating a new device template an auto increment id/number is added at the end of the sensor name. We found this strange, since it´s not possible to remember the ID.

Is it possible to add either the Device name or IP insted of the auto increment id/number, or don´t add any number at all?

By looking at the Device Template, it doesn´t seem like it´s an variable or something.

<create id="pingsensor" kind="ping" requires="ping" displayname="PING">

BR


Article Comments

Hello,

thank you very much for your KB-Post! I am afraid though this Auto-Numbering cannot be disabled. But if you'd like you can quickly adjust the sensor names with the Multi-Edit afterwards.

best regards.


Feb, 2013 - Permalink

Sorry to resurrect an old query, but I am in the same position of having to rename a large number of sensors to make them identifiable.

Query: Is it possible to use variables within the device templates such that it can create new sensors based on the discovered device/host name?

Original:

<create id="pingsensor" kind="ping" requires="ping" displayname="PING">

Example:

<create id="pingsensor" kind="ping" requires="ping" displayname="**[DEVICENAME]** - PING">

Example:

  • server has host name of "SERVER1"
  • the template should create a sensor named "SERVER1 - PING"
  • a number could be appended to the end as per normal if needed

Example2:

  • switch has host name of "SWITCH1"
  • the template should create a sensor named "SWITCH1 - PING"
  • a number could be appended to the end as per normal if needed

Dec, 2015 - Permalink

Hello 247support,

Placeholders in Device Templates are not supported at the moment. See also this post.

Kind regards.


Dec, 2015 - Permalink