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

Elasticsearch – errors in the alarm console

Solved1.41K views31st January 2022Debian Elasticsearch Linux
0
Bruno Dias [SLC] [DevOps Member]2.36K 28th January 2022 4 Comments

After installing elasticsearch database on a Linux (Debian) VM and connect it to DataMiner, I have the following errors in my alarm console:

On SLSearch logfile, there are multiple exceptions (where's one as an example):

2022/01/28 13:22:58.610|SLDBConnection|RawCommu nication|DBG|0|206|URL: http://192.168.194.245:9200/dms-alarms/_count
Elasticsearch.Net.ElasticsearchClientException: The remote server returned an error: (404) Not Found.. Call: Status code 404 from: GET /dms-alarms/_count. ServerError: Type: index_not_found_exception Reason: "no such index [dms-alarms]" ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at Elasticsearch.Net.HttpWebRequestConnection.Request[TResponse](RequestData requestData)
--- End of inner exception stack trace ---
Response:
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [dms-alarms]","resource.type":"index_or_alias","resource.id":"dms-alarms","index_uuid":"_na_","index":"dms-alarms"}],"type":"index_not_found_exception","reason":"no such index [dms-alarms]","resource.type":"index_or_alias","resource.id":"dms-alarms","index_uuid":"_na_","index":"dms-alarms"},"status":404}
2022/01/28 14:22:58.775|SLDBConnection|RawCommu nication|DBG|0|71|URL: http://192.168.194.245:9200/dms-alarms/_count
Elasticsearch.Net.ElasticsearchClientException: The remote server returned an error: (404) Not Found.. Call: Status code 404 from: GET /dms-alarms/_count. ServerError: Type: index_not_found_exception Reason: "no such index [dms-alarms]" ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at Elasticsearch.Net.HttpWebRequestConnection.Request[TResponse](RequestData requestData)
--- End of inner exception stack trace ---
Response:
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [dms-alarms]","resource.type":"index_or_alias","resource.id":"dms-alarms","index_uuid":"_na_","index":"dms-alarms"}],"type":"index_not_found_exception","reason":"no such index [dms-alarms]","resource.type":"index_or_alias","resource.id":"dms-alarms","index_uuid":"_na_","index":"dms-alarms"},"status":404}
**********

DMA is not using 'root' user to contact ES. It's using another user (named 'elastic') which is part of sudo group, so we don't expect user right settings to be a problem.

The ES database is reachable to the DMA, as I can see in an element running ElasticSearch Cluster Monitor driver:

EDIT: Here are some screenshots from browser queries from the Dataminer node to ES database.

What can we do to resolve these errors?

Bruno Dias [SLC] [DevOps Member] Selected answer as best 31st January 2022
Miguel Obregon [SLC] [DevOps Catalyst] commented 28th January 2022

Based on the error, it seems that the DMA is not able to reach the Elastic node. Can you check if the port used by Elasticsearch node is opened?
In case of Linux distro you can check if the port is opened by running the following command:
sudo ufw status verbose
If the status is inactive this means that the firewall service is not enabled.
In case ufw is not installed by default, you could use:
sudo iptables -L
If there are no rules listed, this means that there are no firewall rules blocking the connection from the DMA

Arunkrishna Shreeder [SLC] [DevOps Advocate] commented 31st January 2022

Miguel, we have this

Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action From
— —— —-
2222/tcp ALLOW IN Anywhere
9200/tcp ALLOW IN 192.168.194.246
2222/tcp (v6) ALLOW IN Anywhere (v6)

Thomas Deweer [SLC] commented 31st January 2022

The best way to detect if there’s an issue is open a browser on your DMA server and go to ElasticIP:9200/ and see the outcome. Also ensure the version is 6.8.x and not 7.x

Bruno Dias [SLC] [DevOps Member] commented 31st January 2022

Thomas, looking to the elasticsearch information from the new screenshots uploaded, could be that the ES version is not compatible with DataMiner?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Jens Vandewalle [SLC] [DevOps Enabler]9.44K Posted 31st January 2022 1 Comment

Hi Bruno,

Seems that you're not running a supported ElasticSearch version as indicated by Thomas.

Below is taken from a Linux node that we have running in the cloud with ElasticSearch version 6.8.22

{
  "name" : "17-0-cloud",
  "cluster_name" : "DMS",
  "cluster_uuid" : "O5Jb7Zj4TC6ybbNwz-TYLw",
  "version" : {
    "number" : "6.8.22",
    "build_flavor" : "default",
    "build_type" : "deb",
    "build_hash" : "71fcb50",
    "build_date" : "2021-12-19T01:10:56.497443Z",
    "build_snapshot" : false,
    "lucene_version" : "7.7.3",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}
Bruno Dias [SLC] [DevOps Member] Posted new comment 31st January 2022
Bruno Dias [SLC] [DevOps Member] commented 31st January 2022

After downgrading ElasticSearch to 6.8.23, this is now working fine.

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