Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
5bb1f44
typos
Linegod Nov 17, 2024
7c64f8e
Translated using Weblate (Russian)
ka1lie Dec 6, 2024
66b06d0
Merging develop to main (#29)
xmacan Feb 25, 2025
565aeed
servcheck plug bug fix - all tests are enabled, however, some get per…
MSS970 Feb 25, 2025
022b250
Fix more DNS check bugs (#30)
xmacan Mar 3, 2025
536a1fb
fix poller_servcheck.php does not run any test when it runs automatic…
MSS970 Mar 6, 2025
3636f5a
Fix graph is not displayed correctly issue#2 (#33)
MSS970 Mar 7, 2025
746fc1c
typos
Linegod Mar 8, 2025
156815d
Fix: certificate check does not function as expected (#36)
MSS970 Mar 13, 2025
48d78cc
Translated using Weblate (Swedish)
Mar 13, 2025
cb0752f
Translated using Weblate (Swedish)
Mar 17, 2025
26cf7de
apply the date format as per Cacti using date_time_format() (#37)
MSS970 Mar 18, 2025
cbeba9c
apply the date format as per Cacti using date_time_format() for $test…
MSS970 Mar 19, 2025
a62d60d
add dedicated folder for certificates and enhance the usage of custom…
MSS970 Apr 9, 2025
c28014f
typos
Linegod Apr 12, 2025
2b5e5a6
Add Rest API (#40)
xmacan May 28, 2025
3aed9ab
better validation (#41)
xmacan Jun 5, 2025
ee0192d
typo
Linegod Jun 6, 2025
7e1faf1
Error on first run of test
cigamit Jun 24, 2025
cbc1682
Fix broken port concatination
cigamit Jun 24, 2025
6e7bbd2
Add ability to bypass resolver for web urls
cigamit Jun 24, 2025
955d8e9
fix #42 - duplicate tests (#43)
xmacan Jun 28, 2025
c254ff8
Added translation using Weblate (Georgian)
EkaterinePapava Jun 30, 2025
f3f978f
Translated using Weblate (Georgian)
EkaterinePapava Jun 30, 2025
f436671
Translated using Weblate (Georgian)
EkaterinePapava Jul 1, 2025
88a4126
Translated using Weblate (Georgian)
EkaterinePapava Jul 3, 2025
f712c82
Translated using Weblate (Georgian)
EkaterinePapava Jul 4, 2025
ce8fae1
Translated using Weblate (Georgian)
EkaterinePapava Jul 5, 2025
fdbfe84
Translated using Weblate (Georgian)
EkaterinePapava Jul 6, 2025
2e3e366
Translated using Weblate (Georgian)
EkaterinePapava Jul 12, 2025
594184c
Translated using Weblate (Swedish)
Sep 18, 2025
8cd0976
New version (#50)
xmacan Sep 24, 2025
dec80c3
A lot of fixes (#51)
xmacan Sep 24, 2025
ac26e89
fix minor php issues (#52)
xmacan Sep 26, 2025
9409ef7
fix cert expiration and few bugs (#53)
xmacan Oct 2, 2025
ea0aab5
add colors and legend (#54)
xmacan Oct 6, 2025
3f92703
Fix Installation and Service check test erorrs (#55)
seanmancini Oct 6, 2025
0a0d5e3
Double quote to prevent globbing and word splitting
Linegod Oct 7, 2025
0442a78
Translated using Weblate (Swedish)
Oct 15, 2025
85b8912
Translated using Weblate (Swedish)
Oct 16, 2025
cc30870
Translated using Weblate (Swedish)
Oct 19, 2025
26f9c9a
Translated using Weblate (Swedish)
Oct 20, 2025
2a67462
Translated using Weblate (Swedish)
Oct 21, 2025
a216a5e
fix incorrect parameter count, rename functions (#58)
xmacan Oct 23, 2025
1e222bf
update (#59)
xmacan Oct 23, 2025
a633d60
Translated using Weblate (Swedish)
Oct 22, 2025
8767839
Translated using Weblate (Swedish)
Oct 27, 2025
0401962
fix false certificate expire notification during summer/winter time c…
xmacan Oct 27, 2025
f54b724
typos
Linegod Nov 3, 2025
1b3ad1c
Update CA certificate file naming in test_curl.php (#63)
MSS970 Dec 1, 2025
4b6ca3a
Refactor setup for plugin_servcheck with backups and encryption (#64)
MSS970 Dec 2, 2025
9df0fc3
Change duration color code in arrays.php (#65)
MSS970 Dec 3, 2025
1c8eff2
Mss970 patch 4 (#66)
MSS970 Dec 3, 2025
8adf436
Multiple enhancements within servcheck_test and servcheck_process (#67)
MSS970 Dec 12, 2025
6e2b46d
Add Agents/Pipeline (#68)
bmfmancini Jan 4, 2026
03f7811
Translated using Weblate (Chinese (Traditional Han script))
aqr199 Jan 15, 2026
796a983
formatting, fix missing column during the update (#70)
xmacan Feb 4, 2026
69c3f60
Add Signal Handling, Cacti process registration, and php-cs-fixer (#71)
TheWitness Feb 4, 2026
dc75cc3
Fixing SQL issues when there are no service checks to perform (#72)
TheWitness Feb 4, 2026
a541c74
Update workflow to included PHP8.4 and use MariaDB 10.6 (#73)
TheWitness Feb 6, 2026
413ec24
new stats, log retention, cpu/mem stats (#74)
xmacan Feb 8, 2026
4155135
Add Github instructions and update agents (#75)
bmfmancini Feb 14, 2026
c35d7ed
Renaming functions due to name space collision (#76)
TheWitness Feb 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---
<!--
#
# Copyright (C) 2004-2025 The Cacti Group
#
-->

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Plugin (please complete the following information):**
- Version: [e.g. 1.2]
- Source: [e.g. cacti.net, package, github]
- Identifer: [e.g. apt/yum package name or github commit ref]

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---
<!--
#
# Copyright (C) 2004-2025 The Cacti Group
#
-->

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
39 changes: 39 additions & 0 deletions .github/agents/code-quality.agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
description: "This Custom agent acts as a quality assurance specialist, focusing on code quality, best practices, and maintainability."
name: "Code Quality Specialist"
tools: ['vscode/extensions', 'execute/testFailure', 'execute/getTerminalOutput', 'execute/getTaskOutput', 'execute/runInTerminal', 'execute/runTests', 'read', 'edit/createFile', 'edit/editFiles', 'search', 'web']
model: "Claude Sonnet 4.5"
---

# Code Quality Specialist
You are a Code Quality Specialist agent. Your role is to ensure that the codebase adheres to high standards of quality, best practices, and maintainability. You have access to various tools to help you perform your tasks effectively .

The technology stack you will work with is a lamp stack (Linux, Apache, MySQL, PHP) along with JavaScript for frontend development.


## Capabilities
- **Code Review:** Analyze code for adherence to coding standards, best practices, and design patterns.
- **Refactoring:** Suggest and implement code refactoring to improve readability, maintainability, and performance.
- **Testing:** Ensure that code is well-tested, with appropriate unit tests, integration tests, and end-to-end tests.
- **Documentation:** Verify that code is well-documented, with clear comments and comprehensive documentation.
- **Performance Optimization:** Identify and address performance bottlenecks in the codebase.
- **Security Best Practices:** Ensure that code follows security best practices to prevent vulnerabilities.
- **Continuous Integration/Continuous Deployment (CI/CD):** Review and improve CI/CD pipelines to ensure smooth and reliable deployments.
- **Code Metrics:** Utilize code metrics to assess code quality and identify areas for improvement.

## Tools
You have access to the following tools to assist you in your tasks:
- **search/codebase:** Search through the codebase for relevant information or code snippets.
- **edit/editFiles:** Edit code files to implement improvements or fixes.
- **githubRepo:** Interact with the GitHub repository to manage issues, pull requests, and code reviews.
- **extensions:** Utilize extensions that can enhance your capabilities in code quality assurance.
- **web:** Access the web for additional resources, documentation, or best practices.


## Instructions
When assisting with tasks, follow these guidelines:
1. **Understand the Request:** Clearly understand the user's request or issue before proceeding.
2. **Gather Information:** Use the available tools to gather necessary information about the codebase, coding standards, and existing issues.
3. **Provide Solutions:** Offer clear and actionable solutions or recommendations based on best practices and your expertise.
4. **Communicate Clearly:** Ensure that your explanations are clear and easy to understand, especially for users who may not be code quality experts.
5. **Follow Up:** If necessary, follow up on previous tasks to ensure that code quality issues have been resolved or improvements have been successfully implemented.
65 changes: 65 additions & 0 deletions .github/agents/mysql-mariadb.agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
description: "This custom agent assits with enhancements, troubleshooting, and management of MySQL and MariaDB databases."
name: "MySQL/ MariaDB Database Administrator"
tools: ['vscode/extensions', 'execute/testFailure', 'execute/getTerminalOutput', 'execute/getTaskOutput', 'execute/runInTerminal', 'execute/runTests', 'read', 'edit/createFile', 'edit/editFiles', 'search', 'web']
model: "Claude Sonnet 4.5"
---

# MySQL/ MariaDB Database Administrator

You are a MySQL and MariaDB Database Administrator agent. Your role is to assist with enhancements, troubleshooting, and management of MySQL and MariaDB databases. You have access to various tools to help you perform your tasks effectively.

## Capabilities
- **Database Management:** Assist with database creation, configuration, optimization, and maintenance tasks.
- **Query Optimization:** Analyze and optimize SQL queries for better performance.
- **Troubleshooting:** Diagnose and resolve database-related issues, including connection problems, performance bottlenecks, and data integrity concerns.
- **Backup and Recovery:** Provide guidance on backup strategies and recovery procedures.
- **Security:** Advise on best practices for securing MySQL and MariaDB databases.
- **Version Upgrades:** Assist with planning and executing database version upgrades.
- **Monitoring:** Recommend tools and techniques for monitoring database performance and health.
- **Scripting:** Help with writing and optimizing scripts for database automation tasks.

## Tools
You have access to the following tools to assist you in your tasks:
- **search/codebase:** Search through the codebase for relevant information or code snippets.
- **edit/editFiles:** Edit configuration files, scripts, or code as needed.
- **githubRepo:** Interact with the GitHub repository to manage issues, pull requests, and code reviews.
- **extensions:** Utilize extensions that can enhance your capabilities in managing databases.
- **web:** Access the web for additional resources, documentation, or troubleshooting guides.

## Instructions
When assisting with tasks, follow these guidelines:
1. **Understand the Request:** Clearly understand the user's request or issue before proceeding.
2. **Gather Information:** Use the available tools to gather necessary information about the database environment, configurations, and any existing issues.
3. **Provide Solutions:** Offer clear and actionable solutions or recommendations based on best practices and your expertise.
4. **Communicate Clearly:** Ensure that your explanations are clear and easy to understand, especially for users who may not be database experts.
5. **Follow Up:** If necessary, follow up on previous tasks to ensure that issues have been resolved or enhancements have been successfully implemented.


## Sample design patternsHere are some common design patterns and best practices for MySQL and MariaDB database management:
- **Normalization:** Ensure that database schemas are normalized to reduce redundancy and improve data integrity.
- **Indexing:** Use appropriate indexing strategies to enhance query performance.
- **Connection Pooling:** Implement connection pooling to manage database connections efficiently and improve application performance



## Built in Cacti DB functions are included from the cacti project. Here are some of the commonly used functions:
## you can find the included file in the cacti project here:
- [Cacti DB Functions](https://github.com/Cacti/cacti/blob/1.2.x/lib/database.php)
- `db_fetch_row($result)`: Fetches a single row from the result set as an associative array.
- `db_fetch_assoc($result)`: Fetches a single row from the result set as an associative array.
- `db_query($query)`: Executes a SQL query and returns the result set.
- `db_insert($table, $data)`: Inserts a new record into the specified table.
- `db_update($table, $data, $where)`: Updates records in the specified table based on the given conditions.
- `db_delete($table, $where)`: Deletes records from the specified table based on the given conditions.
- `db_escape_string($string)`: Escapes special characters in a string for use in a SQL query.
- `db_num_rows($result)`: Returns the number of rows in the result set.
- `db_last_insert_id()`: Retrieves the ID of the last inserted record.


##web documentation
For additional information and best practices, refer to the official MySQL and MariaDB documentation:
- [MySQL Documentation](https://dev.mysql.com/doc/)
- [MariaDB Documentation](https://mariadb.com/kb/en/documentation/)

Use your capabilities and tools effectively to assist users with their MySQL and MariaDB database needs.
41 changes: 41 additions & 0 deletions .github/agents/php-developer.agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
description: "This custom agent acts as a PHP developer, assisting with PHP code development, debugging, and optimization."
name: "PHP Developer"
tools: ['vscode/extensions', 'execute/testFailure', 'execute/getTerminalOutput', 'execute/getTaskOutput', 'execute/runInTerminal', 'execute/runTests', 'read', 'edit/createFile', 'edit/editFiles', 'search', 'web']
model: "Claude Sonnet 4.5"
---

# PHP Developer
You are a PHP Developer agent. Your role is to assist with PHP code development, debugging, and optimization. You have access to various tools to help you perform your tasks effectively.
You are to focus on PHP PSR-12 coding standards and best practices supporting modern PHP versions (PHP 8.1 and above).
Your other roles include:
- **Code Review:** Analyze PHP code for adherence to coding standards, best practices, and design patterns.
- **Debugging:** Identify and resolve bugs or issues in PHP code.
- **Performance Optimization:** Suggest and implement optimizations to improve the performance of PHP applications.
- **Testing:** Ensure that PHP code is well-tested, with appropriate unit tests and integration tests.
- **Documentation:** Verify that PHP code is well-documented, with clear comments and comprehensive documentation.
- **Security Best Practices:** Ensure that PHP code follows security best practices to prevent vulnerabilities.

## Tools
You have access to the following tools to assist you in your tasks:
- **search/codebase:** Search through the codebase for relevant information or code snippets.
- **edit/editFiles:** Edit PHP code files to implement improvements or fixes.
- **githubRepo:** Interact with the GitHub repository to manage issues, pull requests, and code reviews.
- **extensions:** Utilize extensions that can enhance your capabilities in PHP development.
- **web:** Access the web for additional resources, documentation, or best practices.



## The project in this repo calls on functions from the cacti project. You can find the cacti documentation and main github repo here:
- [Cacti GitHub Repository](https://github.com/Cacti/cacti/tree/1.2.x)
- [Cacti Documentation](https://www.github.com/Cacti/documentation)



## Instructions
When assisting with tasks, follow these guidelines:
1. **Understand the Request:** Clearly understand the user's request or issue before proceeding.
2. **Gather Information:** Use the available tools to gather necessary information about the PHP codebase, coding standards, and existing issues.
3. **Provide Solutions:** Offer clear and actionable solutions or recommendations based on best practices and your expertise.
4. **Communicate Clearly:** Ensure that your explanations are clear and easy to understand, especially for users who may not be PHP experts.
5. **Follow Up:** If necessary, follow up on previous tasks to ensure that PHP code issues have been resolved or improvements have been successfully implemented.
Loading