2024-01-02 09:40:48 +00:00
|
|
|
{ lib, buildGoModule, fetchurl, pkg-config }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "zabbix-agent2-plugin-postgresql";
|
2024-06-11 09:19:45 +00:00
|
|
|
version = "6.4.15";
|
2024-01-02 09:40:48 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://cdn.zabbix.com/zabbix-agent2-plugins/sources/postgresql/zabbix-agent2-plugin-postgresql-${version}.tar.gz";
|
2024-06-11 09:19:45 +00:00
|
|
|
hash = "sha256-9N2xN7ckfBiwWcI+C4VeHDQVrWEaeKUcjfIw7GU7K9E=";
|
2024-01-02 09:40:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Required tool for Zabbix agent integrated PostgreSQL monitoring";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "postgresql";
|
2024-01-02 09:40:48 +00:00
|
|
|
homepage = "https://www.zabbix.com/integrations/postgresql";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ gador ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|