This file is indexed.

/usr/share/check_mk/notifications/debug is in check-mk-server 1.2.6p12-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# Debug Notifications

# This notification script is just an example and shows how the
# script is being called:

# Check_MK will call this without an command line arguments.
# All information is passed in environment variables that begin
# with NOTIFY_.

# This debug script will fetch those variables and simply
# write them to the standard output. If you have enabled
# notification logging by setting notification_logging=1
# or notification_logging=2 in main.mk (or via WATO in the
# global settings: Notification -> Debug notifications, then
# you will see this output in the notitifcation log file.
# Under OMD this file is in ~/var/log/notify.log.

# Please refer to the official documentation for more details.

env | grep NOTIFY_ | sort