Page 1 of 1

Calling notification command removes '>' from SERVICEOUTPUT

Posted: Tue Jan 15, 2013 5:30 am
by ArnoudW
Nagios Core v3.2.1

Nagios removes '>'-sign when sending notification. See these entries from nagios log:

Code: Select all

[1357957719] SERVICE ALERT: serverx.example.com;check_megaraid_sas;WARNING;HARD;3;WARNING: Warnings=[(Predictive failure errors > 0)]
...
[1357968524] SERVICE NOTIFICATION: oncall;serverx.example.com;check_megaraid_sas;WARNING;notify-service-by-email;WARNING: Warnings=[(Predictive failure errors  0)]
suddenly the '>'-sign between 'Predictive failure errors' and '0' has been removed when calling the notify command.

Why?
Can this be prevented?

Re: Calling notification command removes '>' from SERVICEOUT

Posted: Sun Jan 27, 2013 12:20 am
by scottwilkerson
look in your nagios.cfg for these 2 lines

Code: Select all

illegal_macro_output_chars=`~$&|'"<>
illegal_object_name_chars=`~!$%^&*|'"<>?,()=