John - Welcome back. Haven't seen anyone respond to this one so thought is share my half cent . The %0F is encoded carriage return  (ran into this with a client a while back). Id guess that it's it in the script my mistake. Rewrite the line from scratch and save the file. Don't remember exactly where/which but should be under the etc folder, somewhere.

L. Marshall


-------- Original message --------
From: John O'Neill <john.oneill.ie@gmail.com>
Date: 11/20/2015 07:19 (GMT-05:00)
To: otrs@otrs.org
Subject: [otrs] System Monitoring Acknowledgement Characters - %0D


Hi All,


Firstly forgive me if this has been asked already, I have looked around but cant seem to find a conclusive answer to the question, I am coming back to OTRS after some years out so I may as well be a noob. We have OTRS up and running and Nagios is sending in alerts and clearing them down when they issue resolves in Nagios so all is well on that front. The problem we have is that when we lock the ticket it is supposed to send an acknowledgement to Nagios, - I can see this in the Nagios logs but the problem is that we are seeing some characters inserted after the hostname which is stoping the command executing, it looks like the following

/nagios/cgi-bin/cmd.cgi?cmd_typ=33&cmd_mod=2&host=rimdub-dummy-03.rim.local%0D

I cannot for the life of me figure out where the %0D is coming from, if anyone out there has seen this before I would really appreciate a pointer on how to get around this issue


Many thanks,
John