diff --git a/LICENSE b/LICENSE index 9eced60..22b4fc6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 xyhtac +Copyright (c) 2024 Max.Fischer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/conf.d/aggregation-services.conf b/conf.d/aggregation-services.conf index cc95e53..0fedc08 100644 --- a/conf.d/aggregation-services.conf +++ b/conf.d/aggregation-services.conf @@ -1,5 +1,6 @@ -// Aggregation Services: -//====================== +// Icinga2 Aggregation Services. +// Max.Fischer (c) 2024 - Licensed under M.I.T. +// Updates: https://github.com/xyhtac/icingatelegram // List_services - Generates concatenated text output of all services for the given host / host group diff --git a/conf.d/sample-project.conf b/conf.d/sample-project.conf index 1c4522b..3338e66 100644 --- a/conf.d/sample-project.conf +++ b/conf.d/sample-project.conf @@ -1,5 +1,6 @@ // IcingaTelegram: Sample project -// =================================== +// Max.Fischer (c) 2024 - Licensed under M.I.T. +// Updates: https://github.com/xyhtac/icingatelegram // Virtual host to apply aggregation services object Host "SampleProject" { @@ -9,7 +10,7 @@ object Host "SampleProject" { vars.project = "SampleProject" // Attach aggregation services to the host. - // Note: don't forget to put aggregation-services.conf to your icinga configuration directory! + // Note: dont forget to put aggregation-services.conf to your icinga configuration directory! // group_summary(service): Count statuses of services named "ping4" for all hosts in "network-routers" hostgroup vars.group_summary["network-routers"] = "ping4" diff --git a/conf.d/telegram-notifications.conf b/conf.d/telegram-notifications.conf index 4eac1ce..00adbab 100644 --- a/conf.d/telegram-notifications.conf +++ b/conf.d/telegram-notifications.conf @@ -1,5 +1,8 @@ // IcingaTelegram Notifications -// Note: don't forget to put telegram-service-notification.sh and telegram-host-notification.sh to icinga scripts directory! +// Max.Fischer (c) 2024 - Licensed under M.I.T. +// Updates: https://github.com/xyhtac/icingatelegram + +// Note: dont forget to put telegram-service-notification.sh and telegram-host-notification.sh to icinga scripts directory! apply Notification "telegram-sample-project" to Service { states = [ OK, Warning, Critical, Unknown ] diff --git a/icingatelegram/index.js b/icingatelegram/index.js index 0491505..7a9cef6 100644 --- a/icingatelegram/index.js +++ b/icingatelegram/index.js @@ -1,5 +1,6 @@ #!/usr/bin/node +// Max.Fischer (c) 2024 - Licensed under M.I.T. // https://github.com/xyhtac/icingatelegram // icingatelegram > index.js diff --git a/icingatelegram/package-lock.json b/icingatelegram/package-lock.json index f91dbd7..ed80dd7 100644 --- a/icingatelegram/package-lock.json +++ b/icingatelegram/package-lock.json @@ -1,5 +1,5 @@ { - "name": "heimdall-bot", + "name": "icingatelegram", "version": "1.0.0", "lockfileVersion": 1, "requires": true, diff --git a/pipeline/deploy-icingatelegram.jenkinsfile b/pipeline/deploy-icingatelegram.jenkinsfile index fef0af1..4845f4d 100644 --- a/pipeline/deploy-icingatelegram.jenkinsfile +++ b/pipeline/deploy-icingatelegram.jenkinsfile @@ -1,7 +1,8 @@ // CD pipeline for Jenkins -// Build and deploy Icingatelegram bot using Docker and tgbot-swarm controller api -// https://github.com/xyhtac/tgbot-swarm +// Max.Fischer (c) 2024 - Licensed under M.I.T. +// Updates: https://github.com/xyhtac/icingatelegram +// Build and deploy Icingatelegram bot using Docker and tgbot-swarm (https://github.com/xyhtac/tgbot-swarm) controller api // Required Jenkins plugins: // GitHub, Pipeline Utility Steps