How to bring constant into command

Hi,

how would I bring the contents of a configuration constant like NodeName into a command such as a NotificationCommand?

$NodeName$ doesn’t seem to work.

Greetings
Marc

Okay, that was a really stupid question. As we can see in every CheckCommand template, constants like PluginDir and NodeName are not interpolated like macros, but simply assigned.

That being said, “NodeName=”+NodeName worked. My apologies.

Greetings
Marc

1 Like

Hey,
don’t worry about it!

It’s good that you figured it out though :slight_smile:

Greeting
Feu