No performance graph if service name contains ":"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SDK
Posts: 45
Joined: Wed Mar 21, 2012 4:23 pm

No performance graph if service name contains ":"

Post by SDK »

Hello,

Nagios 2014 R1.2.

There is no performance graph if the service name containes a ":"
Drive D.png
I renamed the service without a ":" in the name an the perfgraph shows up again:
Drive C.png
Kind regards

SDK
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: No performance graph if service name contains ":"

Post by tmcdonald »

I'm seeing the same thing. Thanks for the heads-up, I will make a bug report for this. internal task ID is 3333. Locking thread now since bug report has been filed.
Former Nagios employee
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: No performance graph if service name contains ":"

Post by scottwilkerson »

This can be resolved by installing the attached through Admin -> Manage Component
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: No performance graph if service name contains ":"

Post by rajasegar »

scottwilkerson wrote:This can be resolved by installing the attached through Admin -> Manage Component
Confirmed this resolved the problem.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: No performance graph if service name contains ":"

Post by rajasegar »

More problems.

Since upgrade to 2014R1.2 I cannot save any services with : in the service description
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: No performance graph if service name contains ":"

Post by tmcdonald »

That was the case before 2014R1.2, at least when using the CCM. Wizards as far as I know are still able to enter them. I think you're supposed to be able to use them, so I will file a bug report for this. and this has already been fixed internally. I will update this post when we have a patch.

UPDATE: 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.
form_js.js
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: No performance graph if service name contains ":"

Post by rajasegar »

tmcdonald wrote:That was the case before 2014R1.2, at least when using the CCM. Wizards as far as I know are still able to enter them. I think you're supposed to be able to use them, so I will file a bug report for this. and this has already been fixed internally. I will update this post when we have a patch.

UPDATE: 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.
form_js.js
The ccm.zip component already solved this problem. So is this patch redundant?
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: No performance graph if service name contains ":"

Post by tmcdonald »

Yes. The ccm.zip would have contained that updated .js file.
Former Nagios employee
vAJ
Posts: 456
Joined: Thu Nov 08, 2012 5:09 pm
Location: Austin, TX

Re: No performance graph if service name contains ":"

Post by vAJ »

Where can we get the new ccm.zip? Or should I just update the new JS?

I'm trying to rename service names where the descriptions have colons in them.
Andrew J. - Do you even grok?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: No performance graph if service name contains ":"

Post by Box293 »

vAJ wrote:Where can we get the new ccm.zip?
Here you go:
Serious Invalid Chars Problem with 2014R1.2
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked