Search found 5 matches

by devnull
Wed Aug 19, 2015 8:05 am
Forum: Open Source Nagios Projects
Topic: Escaping characters in the message
Replies: 8
Views: 2669

Re: Escaping characters in the message

Are there a list of characters that nagios doesnt allow in the $SERVICEOUTPUT$
by devnull
Tue Aug 18, 2015 4:25 pm
Forum: Open Source Nagios Projects
Topic: Escaping characters in the message
Replies: 8
Views: 2669

Re: Escaping characters in the message

ooopss.. i wanted to show all characters in $SERVICEOUTPUT$ including the pipes.
by devnull
Tue Aug 18, 2015 4:24 pm
Forum: Open Source Nagios Projects
Topic: Escaping characters in the message
Replies: 8
Views: 2669

Re: Escaping characters in the message

it only shows TEST123

but if the value of $SERVICEOUTPUT$ is TEST123|456 ACB DEF:HIJ FOO|BAR|TEST|THIS|IS|LONG|Blah: GHJD

notification doesn't even execute
by devnull
Tue Aug 18, 2015 4:05 pm
Forum: Open Source Nagios Projects
Topic: Escaping characters in the message
Replies: 8
Views: 2669

Escaping characters in the message

is there a way to escape characters like "|" in the message.

sample message:

[1439925251] PROCESS_SERVICE_CHECK_RESULT;localhost;TSERVICE;2;TEST123|456