CCM Bug

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

CCM Bug

Post 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
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: CCM Bug

Post 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
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: CCM Bug

Post 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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: CCM Bug

Post 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.
Former Nagios employee
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: CCM Bug

Post 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
Nagios XI 5.8.1
https://outsideit.net
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: CCM Bug

Post by tmcdonald »

Internal bug report has been filed.
Former Nagios employee
Locked