Merge branch 'main' of git.data.coop:nellemann/sysmon

This commit is contained in:
Mark Nellemann 2023-08-13 18:15:51 +02:00
commit c358e281ea
3 changed files with 13 additions and 0 deletions

View file

@ -45,4 +45,5 @@ tasks.register("packages") {
dependsOn ":plugins:buildDeb" dependsOn ":plugins:buildDeb"
dependsOn ":plugins:buildRpm" dependsOn ":plugins:buildRpm"
dependsOn ":plugins:buildZip"
} }

View file

@ -38,10 +38,13 @@ public class BaseProcessExtension implements MetricExtension {
add("corosync"); add("corosync");
add("rsyslogd"); add("rsyslogd");
add("postgres"); add("postgres");
add("mariadbd");
add("memcached"); add("memcached");
add("db2sysc"); add("db2sysc");
add("dsmserv"); add("dsmserv");
add("mmfsd"); add("mmfsd");
add("systemd");
add("nginx");
}}; }};
private final long minUptimeInSeconds = 600; private final long minUptimeInSeconds = 600;

View file

@ -110,3 +110,12 @@ task buildRpmAix(type: Rpm) {
packageName = "${projectName}-AIX" packageName = "${projectName}-AIX"
os = Os.AIX os = Os.AIX
} }
task buildZip(type: Zip) {
subprojects.each {
dependsOn("${it.name}:copyJar")
}
from "output"
setArchivesBaseName(projectName as String)
setArchiveVersion(project.property("version") as String)
}