Page 1 of 1

Nagios + NSCLIENT = text as attachment in notification email

Posted: Sun Jun 22, 2014 1:38 am
by gilfalko
Hi,

I use NSCLIENT to run a custom powershell script that echos a few lines of text. From what I noticed, after echoing more than 2 lines, the alerts received via email from Nagios have the body empty and the body's text included as an attachment file by the name of AT000001.BIN.
The weird thing is, when I look in the Nagios control panel I see the text being received just fine.
This somehow gets altered when being emailed out.

Can anyone help?

Thanks!

Re: Nagios + NSCLIENT = text as attachment in notification e

Posted: Mon Jun 23, 2014 9:55 am
by tmcdonald
We've seen this sort of thing before: http://support.nagios.com/forum/viewtop ... =7&t=25449

Are you echoing any non-printable characters or non-Unix newlines?