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

Data Source Scripted Connector

Solved612 views27th August 2024python Scripted Connectors
3
Vikas Choudhary [DevOps Member]556 27th May 2024 0 Comments

I created a connector using data source and python code. It's working fine and pulling data but when I'm exporting protocol, it doesn't have Qaction or protocol script, It only has params. Please help me how can i export with script or how can i export scripted connector & deploy on another DMA.

Thanks

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th August 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
João Severino [SLC] [DevOps Catalyst]12.94K Posted 27th May 2024 3 Comments

Hi Vikas,

With Data Sources and Scripted Connectors there is no QAction or logic in the connector itselft so what you are experiencing is expected.

With Data Sources all the logic is outside the elements and in the python code and for now there is no way of automatically export everything as a package.

If you want to move your scripted connector to another system your options are to:

  • create it on the other system by placing your python code there and Data API will create a new element and push data.
  • if you want to keep the trending history, you can export the scripted connector element as if it were any other element and then configure the python script in the new system as well.
    Data API should find the element by its identifier and start pushing data to it.
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 27th August 2024
Vikas Choudhary [DevOps Member] commented 27th May 2024

Thank you Joao Severino. I have another question now, if we have DMA cluster, do i need to do same process for all DMA or only i can upload on one and rest will be sync automatically?

If I need to do it manually on all cluster DMA’s,
1) will it be same element id on all agent ?
2) will script run on all DMA every minute?
3) Script calling third party api, will DMA DB have duplicate data in this case?

Thank you

João Severino [SLC] [DevOps Catalyst] commented 28th May 2024

Hi, to answer your questions
1) If you have a cluster you only need to configure your data source in 1 of your agents. You can configure in multiple agents with different identifiers and in that case it will result in different elements.
If you configure the same identifier then DataMiner will notice that and set the parameter values always on the original element.
The exporting and importing only makes sense if you want to migrate your element not have duplicates.
2) Only in the agent where you configure your data source.
3) Not sure I understand this last question but data will be stored in DataMiner’s DB as any other ‘regular’ element.

Vikas Choudhary [DevOps Member] commented 31st May 2024

Thank you so much

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

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 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 (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) 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) 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