Calling notification command removes '>' from SERVICEOUTPUT

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.
Locked
ArnoudW
Posts: 1
Joined: Tue Jan 15, 2013 4:55 am

Calling notification command removes '>' from SERVICEOUTPUT

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Calling notification command removes '>' from SERVICEOUT

Post by scottwilkerson »

look in your nagios.cfg for these 2 lines

Code: Select all

illegal_macro_output_chars=`~$&|'"<>
illegal_object_name_chars=`~!$%^&*|'"<>?,()=
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked