Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ArnoudW
Posts: 1 Joined: Tue Jan 15, 2013 4:55 am
Post
by ArnoudW » Tue Jan 15, 2013 5:30 am
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?
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Sun Jan 27, 2013 12:20 am
look in your nagios.cfg for these 2 lines
Code: Select all
illegal_macro_output_chars=`~$&|'"<>
illegal_object_name_chars=`~!$%^&*|'"<>?,()=