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
    • Courses
    • Certification
      • DataMiner Operator
      • DataMiner Administrator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
    • Video Library
    • Books We Like
    • Third-party Courses
    • DevOps Enablement Services
    • Quizzes
  • RESOURCES
  • 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)
  • Expert Hubs
    • DataMiner DevOps Professional Program
    • DataMiner
      • DataMiner Releases & Updates
      • System Architecture
      • Integration Studio
      • Visual Overview
      • Security
    • Technologies
      • CI/CD
      • Converged Interconnect Networks
      • DOCSIS 3.1 / DAA
      • Elasticsearch
      • Kubernetes
      • Telemetry / Flow Monitoring
      • PTP
      • SDN / ST2110 / NMOS
    • Business
      • Software Business models
      • Perpetual Use or Usage-based Services
  • Discover
    • Markets
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Solutions
    • Use Case Library
    • DataMiner Dashboards
    • DataMiner Downloads
    • DataMiner Modules
      • Core features
      • SRM features
    • DataMiner Apps
    • Professional Services
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • Pricing
  • More
    • Feature Suggestions
    • Online DataMiner Systems
    • Leaderboard
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
    • Verify a certificate
  • >> Go to dataminer.services

Invoking Ping, TraceRoute and SSH from Visual Overview

Solved648 views5th September 2023Visio Visual Overview
2
Bing Herng Chong [SLC] [DevOps Advocate]445 4th September 2023 2 Comments

Hi, a user of DataMiner 9.6 has the following setup currently deployed in production. Operators are accessing DataMiner using IE through Citrix as per the diagram below:

The user has a Visual Overview for CMTS with the following buttons:

'PING' shape
Shape Data:
Link = C:\Windows\System32\cmd.exe|/K ping <ElementIP> -t|Perform ping to CMTS
Element = [this element]

'TRACERT' shape

Shape Data:
Link = C:\Windows\System32\cmd.exe|/K tracert <ElementIP>|Trace route to CMTS
Element = [this element]

'SSH' shape

Shape Data:
Link = C:\software\putty\putty.exe|-ssh @<ElementIP>|SSH session to CMTS
Element = [this element]

When the user clicks on the buttons:

'PING' shape: Command prompt is launched from the DMA server and the user is able to see the command prompt window appear. The 'ping <ip_adddr>' command is auto-executed and the user is able to see the result of the 'ping' command.

'TRACERT' shape: Command prompt is launched from the DMA server and the user is able to see the command prompt window appear. The 'tracert <ip_adddr>' command is auto-executed and the user is able to see the result of the 'tracert' command.

'SSH' shape: Putty is launched from the DMA server and autoconnects to the CMTS device. The user is able to see the Putty terminal window appear. The user enters username/password and is able to interact with the CMTS via CLI through the launched Putty window.

User is currently undergoing an upgrade to DataMiner 10.3. In place of IE launching .xbap GUI, a transition to Cube is taking place. The user is validating whether the above use cases are still functioning as expected and noticed that cmd.exe and putty.exe are now executed from the Citrix server instead. This does not work as Citrix server does not have access to CMTS devices.

Can some advice be provided on how we can achieve the same use case described above that is working on 9.6 on 10.3?

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 5th September 2023
Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 4th September 2023

Hi Bing, to my knowledge the behavior of the ‘Link’ shape data has remained unchanged. The programs are always launched from the client machine. Can you verify those programs are available?

Bing Herng Chong [SLC] [DevOps Advocate] commented 5th September 2023

Thank Sebastiaan for your inputs.

Update: the query above is incorrect. The buttons should execute command from the Citrix server where the application (IE + .xbap or Cube client) resides.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Jeeva Suria Rajah [SLC] [DevOps Advocate]1.07K Posted 4th September 2023 0 Comments

Hi Bing,

The quickest method I can think of is to run all the Command Prompt commands directly from C#.

This is a simple Ping Test command that I can execute from the Automation Script, and the result is printed in Information Event.

string hostNameOrAddress = "google.com"; // The host you want to ping
string localHostName = Dns.GetHostName(); // Get the local computer's name

Ping pingSender = new Ping();
PingReply reply = pingSender.Send(hostNameOrAddress);

if (reply.Status == IPStatus.Success)
{
engine.GenerateInformation($"Ping from {localHostName} to {hostNameOrAddress} was successful.");
engine.GenerateInformation($"Round-Trip Time: {reply.RoundtripTime}ms");
}
else
{
engine.GenerateInformation($"Ping from {localHostName} to {hostNameOrAddress} failed. Status: {reply.Status}");
}

This script can then be linked with Visio Shape Data, where it can be triggered when a user clicks.

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 5th September 2023
You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My Dojo Points

0 Credits
0 Reputation

Question Tag Cloud

adl2099 (54) Alarm Console (53) alarms (70) alarm template (58) API (35) Automation (144) automation scipt (65) Automation script (95) backup (54) Cassandra (142) cloud (37) Connector (44) Correlation (42) Cube (114) Dashboard (134) Dashboards (136) database (64) DataMiner Cube (37) DIS (53) DMS (48) DOM (68) driver (48) DVE (43) Elastic (73) Elasticsearch (99) elements (49) Failover (90) GQI (51) HTTP (45) IDP (55) low code app (70) low code apps (43) MySQL (50) protocol (145) QAction (58) resources (35) security (71) SNMP (56) SRM (267) SRM resources (39) timeout (35) trending (66) upgrade (44) Visio (373) Visual Overview (290)
Privacy Policy • Terms & Conditions • Contact

© 2023 Skyline Communications. All rights reserved.

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