Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhtac committed Feb 6, 2024
1 parent a36494e commit ae66eb4
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions conf.d/aggregation-services.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 3 additions & 2 deletions conf.d/sample-project.conf
Original file line number Diff line number Diff line change
@@ -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" {
Expand All @@ -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"
Expand Down
5 changes: 4 additions & 1 deletion conf.d/telegram-notifications.conf
Original file line number Diff line number Diff line change
@@ -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 ]
Expand Down
1 change: 1 addition & 0 deletions icingatelegram/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/node

// Max.Fischer (c) 2024 - Licensed under M.I.T.
// https://github.com/xyhtac/icingatelegram
// icingatelegram > index.js

Expand Down
2 changes: 1 addition & 1 deletion icingatelegram/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pipeline/deploy-icingatelegram.jenkinsfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit ae66eb4

Please sign in to comment.