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
    • Empower Replay: Limited Edition
    • Tutorials
    • 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
    • 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
      • System Architecture
      • DataMiner Releases & Updates
    • 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

multiple ip advanced=”http” snmpv2 type prtocol

Solved534 views4th October 2024ipaddress poolingip protocol
0
Chirangee lal Verma [DevOps Advocate]555 4th October 2024 0 Comments

i am getting two ip in device address element which is pooling ip type. so first need to set only on in this parameter. also need to use this ip in qaction for some logic so tell available methods.

Chirangee lal Verma [DevOps Advocate] Selected answer as best 4th October 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
João Severino [SLC] [DevOps Catalyst]12.99K Posted 4th October 2024 2 Comments

Hi Chirangee,

The parameter of Type pollingip | DataMiner Docs is as José mentioned, a single parameter. if you have multiple connections defined, it will contain everything concatenated by semicolons (”;”).

If I understand your question correctly, you are trying to trigger a QAction for each of the IPs of your element but that is not possible, the value of that parameter will not change during the lifetime of your element.

In your QAction, you can use the String.Split Method (System) | Microsoft Learn to extract each IP address and you should then have an array with the correct order as defined in your element settings.

With it, you can either use the array or set other parameters to be used later or display if it is more convenient.

Do note that this parameter cannot be written to, it is read-only, and if you want to communicate with both endpoints you will have to define the connection ID on the group (see: connection attribute | DataMiner Docs) to indicate which endpoint you want to use.

If on the other hand, this is a scenario of main and backup connection then you have a look into Redundant polling | DataMiner Docs

Chirangee lal Verma [DevOps Advocate] Selected answer as best 4th October 2024
Chirangee lal Verma [DevOps Advocate] commented 4th October 2024

so as I understand not possible change a poolingip type parameter display value because it is a read only. Fetch value of this param in a qaction and use or display accordingly.

João Severino [SLC] [DevOps Catalyst] commented 4th October 2024

Correct, this parameter is a representation of the settings of your element’s edit page.
You can only modify those from there and in code, you can only access them.

1
José Silva [SLC] [DevOps Catalyst]1.32K Posted 4th October 2024 2 Comments

Hi Chirangee,

If you want to know the IP that is configured in the element and use this information in a QAction, first you will need to create a parameter of type pollingip

Example:

More info: Type element | DataMiner Docs

Then you can perform the normal call to get the parameter data (e.g protocol.GetParameter())

Kind regards

José Silva [SLC] [DevOps Catalyst] Posted new comment 4th October 2024
Chirangee lal Verma [DevOps Advocate] commented 4th October 2024

hi jose,
thanks for reply i m having all these things now, on a diff param triggers i am getting two same ip from pooling ip param sepreted by “;” . but on startup i want to set only one ip from these ip’s in pooling ip param

José Silva [SLC] [DevOps Catalyst] commented 4th October 2024

Hi Chirangee,

I apologize, but I didn’t fully understand your previous message.

You can use type=”pollingip” or simply type=”ip” if you want to retrieve the configured port as well. The value will be automatically added to the parameter, so there’s no need to assign or set it manually (DataMiner will take care of this).

From the QAction, you can obtain this information like this:

var ipInformation = protocol.GetParameter(1);

With this you can than print the value or use it in other logic.

Kind regards,

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
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