2024-07-27 06:49:29 +00:00
|
|
|
{ lib, buildGoModule, fetchurl }:
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "zabbix-agent2-plugin-postgresql";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "6.4.15";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://cdn.zabbix.com/zabbix-agent2-plugins/sources/postgresql/zabbix-agent2-plugin-postgresql-${version}.tar.gz";
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-9N2xN7ckfBiwWcI+C4VeHDQVrWEaeKUcjfIw7GU7K9E=";
|
2024-04-21 15:54:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = null;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Required tool for Zabbix agent integrated PostgreSQL monitoring";
|
|
|
|
mainProgram = "postgresql";
|
|
|
|
homepage = "https://www.zabbix.com/integrations/postgresql";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ gador ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|