The variable in the notification script is actually called NOTIFY_HOST_SDNOTES, i.e. NOTIFY_HOST_ plus the ID of the attribute in uppercase. But from your screenshots it appears that you can/must drop the NOTIFY_ prefix when configuring the rule.
As a little background: when a notification script is called, then all information about the event is passed to it in environment variables. And almost all of them are prefixed by NOTIFY_. For example, the variable HOSTPERFDATA in your rule is actually called NOTIFY_HOSTPERFDATA etc.
It looks like when configuring your rule you can drop that NOTIFY_ prefix because checkmk adds it automatically when calling the notification script. And the HOST_ infix in my suggestion indicates that it is a host attribute (as opposed to a service attribute).
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.