Own local checks with spaces in service name?

Hello,

how is it possible to have whitespaces in service names for own written agent local checks?

My current output is:
0 C:\path\to\folder files=0;0;0;; OK

I want to have it that way:
0 Folder C:\path\to\folder files=0;0;0;; OK

But this isn’t working.

Regards
CheckMan

I’m afraid that’s not possible with local checks.

The docs explicitely state that the second field (service name) “may not contain blanks.”)

Perhaps a tab might work, but I wouldn’t bet on it. Give it a try, but don’t hold your breath. :wink:

2 Likes

It looks like I need to wait for V2:
local: Service names can contain blank characters (Werk #10566) | checkmk

2 Likes

If it’s just for readability, could you live with CamelCase or an underscore instead of a space?

Yes, thats fine. I already use it this way.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.