Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Trending on Dynamic String Values

Solved505 views10th January 2025dynamic discrete trending
5
Blake Smethers [SLC] [DevOps Advocate]980 9th January 2025 3 Comments

I have a Channels table, with one column being the unit a channel is on. This can change, and is simply the name of the unit. I have another table in the driver that is the list of units, containing information like the serial number.

How can I trend the unit the channel is on?

Trending on strings does not work, nor does a dynamic discrete. There is no numeric representation (from the device) of the unit that is unique.

Any information is appreciated. Thanks.

Update with what the current trending looks like:

Blake Smethers [SLC] [DevOps Advocate] Selected answer as best 10th January 2025
Pieter Van Compernolle [SLC] [DevOps Enabler] commented 10th January 2025

When you say 'Trending on Strings does not work', do you mean the driver does not allow it (so trending="true" has not been set on the read param)?

Blake Smethers [SLC] [DevOps Advocate] commented 10th January 2025

I mean that on the trend graph when trending=true is set, values like '1' or '2' is set, and you can't see the string values that were at the set time.

Pieter Van Compernolle [SLC] [DevOps Enabler] commented 10th January 2025

That looks like an issue to me, let's investigate via a collaboration task.

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Michiel Vanthuyne [SLC] [DevOps Enabler]4.10K Posted 10th January 2025 4 Comments

Hi Blake,

Trending on strings should generally work if it is enabled in the connector, but there are a few specific behaviors when trending a string parameter:

  • In a trend graph, the strings will not be sorted or ordered. In the background these are numbered sequentially, so the first string that came in will be the lowest number, etc.
  • Averaging is done differently, as an average cannot be calculated in the same way as for a numeric parameter. The average value will be the value that was present for the longest time in that interval. So e.g. if a parameter "color" was "red" for 3 minutes, "green" for thirty seconds" and "blue" for 90 seconds of a 5 minute interval, the average value will be stored as "red". If you do not want this behavior and the parameter is changing slowly, you could consider storing only real-time data for this parameter and increasing the TTL on the real-time trending. For rapidly changing parameters this is not recommended as it will increase the storage and performance requirements.
Blake Smethers [SLC] [DevOps Advocate] Selected answer as best 10th January 2025
Blake Smethers [SLC] [DevOps Advocate] commented 10th January 2025

Hi Michiel, interesting and not something I would have considering (the average). I updated it to real-time only, and will check that later. I also updated my question with a screenshot, in that it only shows a numeric value instead of the string. Is it possible to get the string to show?

Michiel Vanthuyne [SLC] [DevOps Enabler] commented 10th January 2025

Hi Blake,
Unfortunately, I'm not able to tell from the screenshot. At first sight it even looks like a numeric parameter with some exceptions defined on it to me. Would you be able to share the definition of this parameter that was used in the connector?

Blake Smethers [SLC] [DevOps Advocate] commented 10th January 2025

See below. The exception is only for when the channel is currently not used. In my screenshot, it is connected, but the trending shows times were it was not.
Note I'm trying some of the other recommendations like trending last, and so far no luck.
<Param id="407" trending="true">
<Name>ChannelsUnit</Name>
<Description>Unit (Channels)</Description>
<Type>read</Type>
<Information>
<Subtext>Unit or Multipoint Unit name to which the channel was assigned.</Subtext>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
<Exceptions>
<Exception id="1" value="-1">
<Display state="disabled">N/A</Display>
<Value>-1</Value>
</Exception>
</Exceptions>
</Interprete>
<!– SuppressValidator 2.5.1 No valid thresholds for dynamic discrete –>
<Alarm>
<Monitored>true</Monitored>
</Alarm>
<!– /SuppressValidator 2.5.1 –>
<Display>
<RTDisplay>true</RTDisplay>
<Trending>
<Type>last</Type>
</Trending>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>

Michiel Vanthuyne [SLC] [DevOps Enabler] commented 10th January 2025

The parameter definition looks correct, as Pieter already suggested it will be best to follow up with a task why the labels on the Y-axis are not visible.

1
Nathan Sciani [DevOps Member]481 Posted 10th January 2025 0 Comments

Hi Blake,

We have come across the same issue ourselves.

If you are comfortable editing a protocol using dis, you can edit the following fields.

Where the Raw type is "other" change to "numeric text" and the Type from "string" to "Double"

<Interprete>
<RawType>numeric text</RawType>
<LengthType>next param</LengthType>
<Type>double</Type>
</Interprete>

Then, under Measurement, change "string" to "number"

<Measurement>
<Type>number</Type>
</Measurement>

You can then enter a unit for the display as it is now a number and not a string.

I hope that helps.

Nathan Sciani [DevOps Member] Answered question 10th January 2025
0
Robin Devos [SLC] [DevOps Advocate]2.46K Posted 10th January 2025 0 Comments

Adding a bit to the conversation

As mentioned, trending on strings should work if enabled in the driver:

  • Putting trending on true for that read param (cf. Pieter)
  • Add or change the Trend Type to "last"
    At least based on the DM Docs. Ref: Trending | DataMiner Docs

As Michiel mentioned, trending a string is not ordered:
"In a trend graph, the strings will not be sorted or ordered. In the background these are numbered sequentially, so the first string that came in will be the lowest number, etc."

It can happen that the parameter is predefined as string in the MIB, whilst it really should be read out as a number (i.e. sorted/ordered). In that case a conversion inside the driver should be made. I had such a support use-case, where the squad worked around it by added an additional numerical column converting the original string column.

Robin Devos [SLC] [DevOps Advocate] Answered question 10th January 2025
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin