sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
408 stars 148 forks source link

Config-Tool state!=stat ends up in splitting the arguments #1332

Closed kafos closed 8 months ago

kafos commented 9 months ago

Describe the bug As an example I created a service check with check_nsc_web with own warning definitions. definition like :

image

is ending up in splitting the 'warn=state!=started' because of the exclamation mark. Single quotes for this warning definitions has no effects. Saving ends up in: image

Thruk Version image

backslash before exclamation mark does not work either

sni commented 9 months ago

i'd say it's better to use a single $ARG1$ and put everything in there. Otherwise you would have to create a new command for every combination or arguments.