Search found 1 match

by badonde
Mon Aug 04, 2014 3:49 am
Forum: Open Source Nagios Projects
Topic: Defining Const Variables in Service Definition
Replies: 4
Views: 1739

Defining Const Variables in Service Definition

Hi, It is possible to create constant variables when defining services? I'd like to do something like this: IP1 = 192.168.1.1 define service{ check_command check_something!IP1 } I think I can probably achieve something similar with a macro, but it would be nice to have the variable in the same file ...