Page 1 of 1

Illegal character in service description?

Posted: Thu Jul 17, 2014 10:31 am
by bowmant
I just followed a tech doc "Adding Windows Disk Usage Checks in XI" and it went fine. Actually the check itself was already there, I just bumped up the warning threshold from 80 to 85%. When I tried to save, it said there was an illegal character in the service description. The description was "Drive I: Disk Usage". I ended up saving it without the colon and it is working fine. But my OCD is kicking in and having 1 disk check without the colon following the drive letter is making me nuts.

Is there a way I can save this with the colon again? Edit a file directly? Escape character? Oh yeah, Nagios XI 2014R1.2.

Thanks,

Todd Bowman

Re: Illegal character in service description?

Posted: Thu Jul 17, 2014 11:01 am
by technick
You could try to escape the colon with a slash...

Re: Illegal character in service description?

Posted: Thu Jul 17, 2014 11:05 am
by tmcdonald
I have attached the fix to this post. The file must be uploaded to your Nagios XI server to replace the current version of the file, which is located at /usr/local/nagiosxi/html/includes/components/ccm/javascript/form_js.js

After that you must ctrl + F5 to refresh your browser and then you should be able to use the ":" in your CCM.

UPDATE: Actually, 2014R1.3 source was *just* released and I believe the fix is included there as well: http://library.nagios.com/library/produ ... loads/main

Re: Illegal character in service description?

Posted: Thu Jul 17, 2014 3:50 pm
by bowmant
THANKS for quick reply, that did the trick.


Todd Bowman