Illegal character in service description?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bowmant
Posts: 20
Joined: Thu Jul 17, 2014 10:08 am

Illegal character in service description?

Post 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
technick
Posts: 49
Joined: Tue Feb 04, 2014 10:30 am
Location: Denver, CO

Re: Illegal character in service description?

Post by technick »

You could try to escape the colon with a slash...
----------------------
Nagios Jedi in training.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Illegal character in service description?

Post 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
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
bowmant
Posts: 20
Joined: Thu Jul 17, 2014 10:08 am

Re: Illegal character in service description?

Post by bowmant »

THANKS for quick reply, that did the trick.


Todd Bowman
Locked