Skip to content

Commit

Permalink
Update Zabbix release
Browse files Browse the repository at this point in the history
  • Loading branch information
scoopex committed Dec 22, 2024
1 parent b189be5 commit 1a2fdb8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

* Install the packages on the zabbix agent host
* Test the agent on the agent machine

```
zabbix_agentd -t linux.dmesg
zabbix_agentd --print
```
* Test the agent on the server machine

```
apt-get install zabbix-get
zabbix_get -s 127.0.0.1 -k linux.dmesg
Expand All @@ -23,7 +23,7 @@
sudo apt-get install ruby-dev build-essential debhelper devscripts rpm xalan
gem install --no-document fpm
```
* Get the repo
* Get the repo
```
git clone https://github.com/scoopex/zabbix-agent-extensions
cd zabbix-agent-extensions
Expand All @@ -35,7 +35,7 @@
./create_packages
```
* Install the rpm or debian archive on as an addition to your zabbix-agent:

```
rpm -Uvh noarch/zabbix-agent-extensions-<version>.noarch.rpm
dpkg -i zabbix-agent-extensions_<version>_all.deb
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This package provides the following capabilities:
(the amount of discovered devices can be limited by a configuration file on the monitored host)
* network interfaces: packets and transferrates per second
* number of processes
* monitor ICMP ping
* monitor ICMP ping
* monitor the MTA mailqueue
* monitor NFS operations/retransmits
* apache monitoring:
Expand All @@ -56,7 +56,7 @@ This package provides the following capabilities:
* Configurable autodisovery of real disk devices
* Check smart state of disks and gather statistics
* Discover network devices and monitor performance and error behavior
* Zabbix agent version
* Zabbix agent version
* Monitor springboot servers
* beta, monitoring is still rudimentary
* contributions are very welcome
Expand Down Expand Up @@ -122,7 +122,7 @@ This procedure deploy zabbix agents on all worker nodes of your kubernetes clust
* "Add to host groups: [DEVELOPMENT]"
* "Link to templates: Custom - OS - Kubernetes Node"
* Configure deployment
* Download [kubernetes yaml file](https://raw.githubusercontent.com/scoopex/zabbix-agent-extensions/master/zabbix-agent-daemonset-kubernetes.yaml)
* Download [kubernetes yaml file](https://raw.githubusercontent.com/scoopex/zabbix-agent-extensions/master/zabbix-agent-daemonset-kubernetes.yaml)
* Adapt the file to your own needs
* Configure `ZBX_ACTIVESERVER`
* Configure `ZBX_PASSIVESERVERS`
Expand All @@ -139,7 +139,7 @@ How to configure the zabbix server/templates
--------------------------------------------
* Open Zabbix web frontend
* Create a host
* Create a host
* Configuration -> Hosts -> Create host
* Add the name ds "Host name" efined in the first step of this section
* Define a agent interface with the correct fully qualified hostname and the ip address
Expand All @@ -160,7 +160,7 @@ How to configure the zabbix server/templates
* NTP
* {$MAX_NTP_OFFSET_MS} : the maximum offset limit in milliseconds
* {$MIN_NTP_SERVER_COUNT} : how many good ntp sources should be avaiilable, it is istrongly recommended to change the default to 2
* {$MONITOR_LOAD_WARNING_MULT} : a multiplicator with the number of cpus for load monitoring
* {$MONITOR_LOAD_WARNING_MULT} : a multiplicator with the number of cpus for load monitoring
* {$MONITOR_TIMEOUT} : amount of time to complain if hosts does not provide values anymore
* Assign template "Custom - OS - Linux" to the desired hosts and modify the default values to host specific settings
* Activate Apache template
Expand All @@ -177,14 +177,14 @@ How to configure the zabbix server/templates
How to configure discovery for zabbix agent
-------------------------------------------
* Configure disk device discovery
* Create files:
* Create files:
(if the file does not exist, the default is used)
* /etc/zabbix/item_zabbix_device_discovery.json<BR>
* /etc/zabbix/item_zabbix_discovery_filesystems.json<BR>
* Add content to include/exclude devices<BR>
(what it does: include all devices and hardware models, after that filter out all devices and models which match to one of the python regexes)
(what it does: include all devices and hardware models, after that filter out all devices and models which match to one of the python regexes)
```
/usr/bin/zabbix_discovery_devices --help
/usr/bin/zabbix_discovery_filesystems --help
Expand Down Expand Up @@ -218,5 +218,5 @@ Additional authors are very welcome - just submit your patches as pull requests.
* Marc Schoechlin <[email protected]>
* Marc Schoechlin <[email protected]> (not active anymore)
* Marc Schoechlin <[email protected]> (not active anymore)
This software is licensed by GPLv2 - review file "LICENSE"
4 changes: 2 additions & 2 deletions ci_test
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ set -x
set -e
sudo dpkg -P zabbix-agent-extensions zabbix-agent
sudo rm -rf /etc/zabbix_* /var/log/zabbix /var/run/zabbix zabbix-agent_*.deb zabbix-get_*.deb
wget -c "https://repo.zabbix.com/zabbix/6.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu22.04_all.deb"
sudo dpkg -i zabbix-release_6.4-1+ubuntu22.04_all.deb
wget -c "https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.2+ubuntu24.04_all.deb"
sudo dpkg -i zabbix-release_latest_7.2+ubuntu24.04_all.deb
sudo apt-get update -y
sudo apt-get install zabbix-agent zabbix-get -y
sudo sed -i '~s,# DebugLevel.*,DebugLevel=2,' /etc/zabbix/zabbix_agentd.conf
Expand Down

0 comments on commit 1a2fdb8

Please sign in to comment.