You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Telegram has long been one of my real-time communication media. It is obvious to output monitoring messages for server and network components as alarm messages. There are several scripts for this on the internet, but most of them are written in Python, many of them have problems with Python3 and its libraries. Instead of spending hours and hours with Python, I decided to use a scripting language I know and write a Linux Bash script for it.
4
4
5
-
The following Script is for Check_MK, I have used it exclusively with the RAW version 1.6.0_p18.
To activate it you have to press "1 Change" and "Activate affected"
80
107
81
108
<imgsrc="images/activate_affected.png"alt="Activate changes and commit"width="100"/>
82
109
110
+
Since Check_MK 2.0.0 it is calles "Active on selected sites"
111
+
112
+
<imgsrc="images/activate_on_selected_sites.png"alt="Active on selected sites"width="150"/>
113
+
83
114
To ensure that the parameters are also transferred in the event of an alert, it is strongly recommended that the Check_MK instance is restarted.
84
115
```
85
116
su - mysite
86
117
omd stop
87
118
omd start
88
119
```
89
120
90
-
## PRIVACY ANONYMIZATION / MASQUERADING
121
+
###PRIVACY ANONYMIZATION / MASQUERADING
91
122
The current version of this script allows you to optionally enable IP anonymization. This gives you the option to comply with your own privacy policy or the recommendations of data protection authorities in certain countries if they prohibit the transmission of the full IP address. This masks IPv4 and IPv6 IP addresses before they are transmitted in a message to the Telegram service.
92
123
93
124
The activation of the privacy settings is realized directly in the Notification Rules in Check_MK by NOTIFY_PARAMETER_3, here the value "privacy" has to be entered:
0 commit comments