i’m not sure if this might be the problem, but it looks like your missing the backslash for your line breaks. that’s why it all runs together. take a look at my code below.
The problem is somewhere in NagiosQL: When I use its interface to enter the correct command, it gets ‘mutilated’ to the (non-working) version at the top of this post… The only way to get the correct command in NagiosQL was editing the MySQL table directly… :x
I don’t know what nagiosql is, but it appears to be doing the same thing that your forum is doing. This forum, and nagiosql must be stripping out the backslash. In order to tell the forum and nagiosql to not do this, is to use TWO backslashes in a row, that way it says “look forum/nagiosql, then next backslash is a real character and not a command or something”.
So try your nagiosql thingy and use TWO backslashes instead of just one.
backslashbackslashnbackslashbackslashn =
\n\n