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

Issues retrieving historical information events using GetAlarmDetailsFromDbMessage

Solved932 views29th November 2023automation scipt information events SLNet
8
Luis Gonzalez [SLC] [DevOps Advocate]475 7th July 2023 1 Comment

Hi Dojo Community,

The use case is that I’m trying to retrieve historical Information Events from any date ranges up to two years ago.
I’m trying to use the GetAlarmDetailsFromDbMessage from an automation script (GQI) and I’m having some issues, this is the snippet of code I’m using to create the call:

Both StartTime and EndTime values are Dates with a day difference no higher than 7 days always, the filter only contains a wildcard match on the parameter description.

The issues I’m having:

  • When I set StartTime and EndTime to Dates with a day difference higher than 8 days, the call will always be empty, even if there are information events.

i.e., StartTime: 06/20/2023 EndTime: 07/06/2023

  • When I set StartTime and EndTime to Dates from more than 9 days ago, even with day difference less than 7 days, the call will not retrieve any information event.

i.e., StartTime: 06/20/2023 EndTime: 06/23/2023

A colleague also tried a similar call and failed to retrieve any information events.

When I try to replicate the search through the Alarm Console, I can see the information events there.

Do you know if there are any limitations or if I’m not building the message correctly? If so, can you provide a snippet of code for these use cases?

Also, is this the most efficient way to retrieve this amount of information events? Since the amount of data retrieved can grow to hundreds of thousands of events.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 29th November 2023
Marieke Goethals [SLC] [DevOps Catalyst] commented 18th October 2023

Has Davy’s answer helped you find the solution? If so, could you select the answer (using the ✓ icon)? If not, could you add more information as asked in the last comment?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Davy Degrande [SLC] [DevOps Advocate]1.43K Posted 10th July 2023 6 Comments

Luis,
The biggest clue will probably be here what do you pass along as alarm filter object. You should at least select an element or parameter filter object or you will encounter max payload issues. The client does this async and requests the data paged. I would like to now more about the use case before continuing because if you don't pass the right arguments this is a sure way to let the SLAutomation.exe process run out of memory.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 29th November 2023
Luis Gonzalez [SLC] [DevOps Advocate] commented 10th July 2023

Hi Davy, thanks for answering.

The filter I’m doing is to get only information events that contains “Based Details”, so I’m using a wildcard for that, that avoids getting all the system information events and only getting the information events generated by a specific parameter but still system-wide.
As I mention, this works for recent days but as soon as I try to retrieve from back in time it is not working

Davy Degrande [SLC] [DevOps Advocate] commented 10th July 2023

Luis, since it is a wildcard with no specific element passed along, my guess will be that the query either returns too much data or just times out. Because the wildcard logic is done in post-filtering so basically with 2 years range you’ll just get too many information events back.

Luis Gonzalez [SLC] [DevOps Advocate] commented 10th July 2023

I agree that two years range is probably too much data.
But after doing it with 8 days range, is not working as expected neither.

Davy Degrande [SLC] [DevOps Advocate] commented 11th July 2023

Luis these will probably be because of may payload issues or timeout issues because everything has to be done in post filtering. You can check the logging of SLNet, SLDBConnection and SLMessagebrokerSLMessageBroker_SLNet.txt to try and track the requests sent and their potential exceptions being thrown.

Luis Gonzalez [SLC] [DevOps Advocate] commented 11th July 2023

Davy, after some testing we reached the point where doing a Message per day is working, two days will not work. So most probably there’s too much data as you mentioned.
Also, you mentioned that filtering on element would help this? How can I know which filters will be done post-filtering and which will be help with the load?

Show 1 more comments
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

DOM Definition relations returned in Definition query 0 Answers | 0 Votes
Alarm Dashboard PDF/CSV Export 1 Answer | 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 (140) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) 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