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

Correct method for alarming from an OID that is a reply from a get request to a table?

Solved557 views18th April 2024OID RFC1628 snmp table
0
Alun Hodges87 16th April 2024 0 Comments

I'm having some trouble finding the correct method for alarming on entries in a table from an SNMP get request. The problem I've got is the table entries are OID's that have no value and can’t be interrogated directly. It’s the upsAlarmTable that is part of rfc1628. The upsAlarmTable entries have an upsAlarmId, upsAlarmDescr, and upsAlarmTime. The upsAlarmDescr returns and OID when the alarm is present but those OID's can’t be interrogated directly so have no value they can return. The description in the MIB says as much as well:

"A reference to an alarm description object.  The object referenced should not be accessible, but rather be used to provide a unique description of the alarm condition."

I can interpret the OID's returned to display the alarm name in the table but that doesn't help me to alarm off the table entries and create alarm templates since they don’t have a Param ID. Though, at least the alarms clear themselves from the table when the condition clears. I'm probably overthinking this and I'm assuming since this is rfc MIB that I'm not the first person to come across a table that behaves in this way and there is a known way to handle them. Can someone help point me in the right direction? I've been going through videos and documentation but currently I'm either looking in the wrong places or I'm just not experienced enough to realise the solution is easier than it seems?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th April 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Miguel Obregon [SLC] [DevOps Catalyst]18.56K Posted 16th April 2024 1 Comment

Hi Alun,

Checking the description of the upsAlarmTable, the upsAlarmDescr column will contain a reference to one of the entries from upsWellKnownAlarms (as shown in your example).

From what I understand, the row representing the alarm will stay there as long as the failure is present on the device. I noticed something interesting in the table description:

No two rows will have the same value of upsAlarmDescr, since alarms define conditions.

Based on this, I believe there are two possible options to integrate these OIDs in the connector:

  • Implement single parameters for each well known alarm: You could implement single parameter representing each possible upsAlarmDescrp. For the alarm shown in your example, you can create a single param 'Battery Bad' with two possible values: Present, Not Present. Whenever you receive a row with that description, you can set this single parameter to 'Present'. If you don't receive it, then you can set this single parameter to 'Not Present'. You could then enable monitoring on these single parameters. Drawback here is that you will loss the upsAlarmTime column.
  • Implement a custom table: You could implement a custom table that will all the well known alarms (as rows). In this custom table you could add an extra column 'Alarm Present'. Similar as previous case, whenever you receive a row with that description, you can set this single parameter to 'Present'. On top of that, you could add an extra column to store the timestamp from upsAlarmTime.

Keep in mind that in both cases you will need to implement the SNMP table. However, this SNMP table should be hidden.

Hope it helps.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th April 2024
Alun Hodges commented 17th April 2024

Ahh! Awesome! This sounds like the pointer I was searching for, thanks! I’ll try it out.

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