Page 1 of 1

CCM Bug

Posted: Wed Sep 10, 2014 6:12 pm
by rajasegar
NagiosXI 2014R1.4

Saving issue if there is ! in the ARG$ fields

Before Save
11-09-2014 07-07-54 AM.png
After Save
11-09-2014 07-08-27 AM.png

Re: CCM Bug

Posted: Thu Sep 11, 2014 9:22 am
by slansing
Yes, that is expected, it is one of the illegal characters. The reason for this one is it is a separator in the DB, you will want to add a $USERn$ macro with that password to work around this:

http://assets.nagios.com/downloads/nagi ... Macros.pdf

Re: CCM Bug

Posted: Thu Sep 11, 2014 6:04 pm
by rajasegar
slansing wrote:Yes, that is expected, it is one of the illegal characters. The reason for this one is it is a separator in the DB, you will want to add a $USERn$ macro with that password to work around this:

http://assets.nagios.com/downloads/nagi ... Macros.pdf
Well it should a least prompt. It is happily accepting the character and saving something else.

Re: CCM Bug

Posted: Fri Sep 12, 2014 9:05 am
by tmcdonald
I'll put in a bug report for this. Ideally there should be an alert on any illegal character in a field where it should not be allowed.

Re: CCM Bug

Posted: Fri Sep 12, 2014 10:29 am
by WillemDH
I've seen many posts about the '!' in service / hosts problems. Alerting users when trying to use a '!' or other illegal chars would definitely save the Nagios support crew some time in the long run. Maybe with a link to the documentation on how to use macros.

Grtz

Re: CCM Bug

Posted: Fri Sep 12, 2014 10:43 am
by tmcdonald
Internal bug report has been filed.