Skip to content

Commit

Permalink
Updated to work with Zabbix 6.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
BGmot committed Apr 8, 2023
1 parent a84a69e commit f6c03d8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.0] - 2023-04-08
### Changed
- released version for Zabbix 6.4.

## [1.0.1] - 2022-08-06
### Changed
- fixed favicon in Google Chrome.
Expand Down
2 changes: 1 addition & 1 deletion Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use CController as CAction;
use APP;

class Module extends CModule {
class Module extends \Zabbix\Core\CModule {

public function onTerminate(CAction $action): void {
$action_page = $action->getAction();
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# zabbix-module-peace
Written according to Zabbix official documentation <https://www.zabbix.com/documentation/current/manual/modules>
Written according to Zabbix official documentation[<https://www.zabbix.com/documentation/current/manual/modules>](https://www.zabbix.com/documentation/current/en/devel/modules/file_structure)

A Zabbix module to replaces 'Z' in favicon and in main menu when it is in compact mode.

Expand All @@ -12,6 +12,13 @@ The look with the module installed and activated:
![screenshot](screenshots/screenshot-after.png)

# How to use

IMPORTANT: pick module version according to Zabbix version:
|Zabbix version | Module version |
|:-------------:|:--------------:|
| v1.0.1 | < 6.4 |
| v2.0.0 | 6.4 |

1.a. Create a folder in your Zabbix server modules folder (by default /usr/share/zabbix/modules) and copy contents of this repository into that folder.

*** OR ***
Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"manifest_version": 1,
"manifest_version": 2,
"id": "peace",
"name": "Stop war!",
"author": "Evgeny Yurchenko",
"description": "Replaces 'Z' in favicon and in main menu when it is in compact mode.",
"version": "1.0.1",
"version": "2.0.0",
"namespace": "Peace",
"url": "https://github.com/BGmot/zabbix-module-peace"
}
Expand Down

0 comments on commit f6c03d8

Please sign in to comment.