# AI-Powered Security & Troubleshooting for DHIS2

**URL:** <https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640>\
**Category:** Implementation - Implémentation\
**Tags:** server-admin, climate, dac2026, dac2026-posters\
**Created:** [25 May 2026 05:12 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640 "2026-05-25T05:12:59Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcastelao](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/dcastelao/32/49958_2.png) [@dcastelao](https://community.dhis2.org/u/dcastelao)\
**Post date:** [25 May 2026 05:13 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/1 "2026-05-25T05:13:00Z")

</div>

_This community innovation has been accepted at the [2026 DHIS2 Annual Conference](https://dac2026.dhis2.org/) as a physical poster._  
  
  
 **AI-Powered Security & Troubleshooting for DHIS2**

 ![AI-Powered Security & Troubleshooting for DHIS2](https://dhis2.b-cdn.net/uploads/default/original/3X/c/a/cab7fbd909307f3e8e01b89c1e7c991797a991d9.jpeg)

DHIS2 operations teams face growing challenges managing complex infrastructure stacks while ensuring system security and uptime. Manual log analysis is time-consuming, and staying current with security vulnerabilities across multiple components (DHIS2, Tomcat, PostgreSQL, Nginx, Operating System) requires constant vigilance. We have developed an AI/ML-powered platform addressing three critical needs: Automated Troubleshooting: The service processes error logs from DHIS2, Tomcat, PostgreSQL, and Nginx. Administrators can submit log excerpts, screenshots, or problem descriptions. An LLM analyzes inputs and returns verified solutions, prioritizing official sources including DHIS2 Jira, Community of Practice, and official documentation, and optionally an organization’s curated internal knowledge (CMDB, ticketing/ITSM history, runbooks, and vetted internal PDFs) to capture site-specific configuration and past resolutions. Vulnerability Watchdog: The service sends a reference date and system component versions to an LLM that orchestrates queries to GitHub Security Advisories (dhis2/dhis2-core), CVE databases, and official advisories from Nginx, Tomcat, PostgreSQL, and Operating System and returns a consolidated vulnerability matrix with severity ratings, affected versions, and recommended patches or workarounds. Anomaly Detection: The system monitors logs for security threats including unauthorized access attempts, unusual server loads, suspicious API usage and potential cyberattacks. Machine learning models identify patterns indicative of threats, enabling proactive response. All findings are communicated through automated alerts (email, Slack, Teams) , enabling rapid response. This solution demonstrates how AI can enhance DHIS2 infrastructure management ensuring implementations stay ahead of security exploits and application issues, strengthening security posture and reducing administrative burden.  
  
 Primary Author: Daniel Castelao Suarez  
  
  
 **Keywords:**   
DHIS2, troubleshooting, vulnerabilities, anomaly detection, security, CVE, monitoring, AI, ML

---

<div class="post-metadata">

**Author:** ![dcastelao](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/dcastelao/32/49958_2.png) [@dcastelao](https://community.dhis2.org/u/dcastelao)\
**Post date:** [10 June 2026 16:59 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/2 "2026-06-10T16:59:36Z")

</div>

You can check the poster that will be presented during #dac2026  
If you have any questions/comments/ideas, please ping @dcastelao

---

<div class="post-metadata">

**Author:** ![HanyAly](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/hanyaly/32/48805_2.png) [@HanyAly](https://community.dhis2.org/u/HanyAly)\
**Post date:** [11 June 2026 21:49 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/3 "2026-06-11T21:49:17Z")

</div>

Hi @dcastelao !

Excellent initiative. Combining AI-powered troubleshooting, vulnerability monitoring, and anomaly detection can significantly strengthen DHIS2 operations while reducing the burden on system administrators. The focus on trusted sources and proactive security monitoring makes this particularly valuable for large-scale health information systems.

---

<div class="post-metadata">

**Author:** ![patrickquainoo](https://dhis2.b-cdn.net/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@patrickquainoo](https://community.dhis2.org/u/patrickquainoo)\
**Post date:** [16 June 2026 06:40 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/4 "2026-06-16T06:40:54Z")

</div>

Very impressive

---

<div class="post-metadata">

**Author:** ![Nthatile](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/nthatile/32/36126_2.png) [@Nthatile](https://community.dhis2.org/u/Nthatile)\
**Post date:** [16 June 2026 06:46 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/5 "2026-06-16T06:46:17Z")

</div>

Very relevant

---

<div class="post-metadata">

**Author:** ![Kuber\_Adhikari](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/kuber_adhikari/32/44468_2.png) [@Kuber\_Adhikari](https://community.dhis2.org/u/Kuber_Adhikari)\
**Post date:** [16 June 2026 06:50 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/6 "2026-06-16T06:50:06Z")

</div>

Intresting but quite complex. Will any GPT work or any special requirement?

---

<div class="post-metadata">

**Author:** ![chingalo](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/chingalo/32/39645_2.png) [@chingalo](https://community.dhis2.org/u/chingalo)\
**Post date:** [16 June 2026 06:52 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/7 "2026-06-16T06:52:56Z")

</div>

@dcastelao This is vey impressive innovation kudos

---

<div class="post-metadata">

**Author:** ![banga](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/banga/32/28064_2.png) [@banga](https://community.dhis2.org/u/banga)\
**Post date:** [16 June 2026 06:54 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/8 "2026-06-16T06:54:33Z")

</div>

Good approach

---

<div class="post-metadata">

**Author:** ![micnice](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/micnice/32/49678_2.png) [@micnice](https://community.dhis2.org/u/micnice)\
**Post date:** [16 June 2026 06:59 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/9 "2026-06-16T06:59:58Z")

</div>

Interesting to get vulnerability flags on the fly. Progresive scanning of vulnerabiliies and instand notifications serves a great deal

---

<div class="post-metadata">

**Author:** ![David\_Muturi1](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/david_muturi1/32/40009_2.png) [@David\_Muturi1](https://community.dhis2.org/u/David_Muturi1)\
**Post date:** [16 June 2026 08:59 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/10 "2026-06-16T08:59:10Z")

</div>

Interested in this for server management

---

<div class="post-metadata">

**Author:** ![dcastelao](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/dcastelao/32/49958_2.png) [@dcastelao](https://community.dhis2.org/u/dcastelao)\
**Post date:** [23 June 2026 14:01 UTC](https://community.dhis2.org/t/ai-powered-security-troubleshooting-for-dhis2/72640/11 "2026-06-23T14:01:50Z")

</div>

Hi everyone,

Thank you so much for the comments and interest in this work.  
After an intense and productive week at DAC 2026, we are planning to share more material in the Community of Practice over the coming days and weeks, including additional technical details, resources, example reports, demo videos, … We’re also hoping to present it at an upcoming UiO Developers Meet-up and/or Server Admin Meet-up.

@Kuber_Adhikari, regarding your question: There’s no dependency on a specific provider. We’ve developed our work by deploying models locally to keep the data on-premises, although it could be integrated with models via API. However, the important thing is the MCP/tools layer and the reliable evidence that supports it, not just the model itself. LLM helps with summaries, explanations, and translations. We are currently using qwen2.5:14b running locally. Any other alternative must be tested to verify that it gives us the expected results.

We’ll keep this thread updated and we would be very happy to gather ideas and feedback from the community.
