wrong color in metrics
-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
wrong color in metrics
Hi
Top 10 memory metrics showing showing wrong color in %Utilization column
"showing green color for drive in warning state"
warning = 80%
crritical = 85%
Thanks
Top 10 memory metrics showing showing wrong color in %Utilization column
"showing green color for drive in warning state"
warning = 80%
crritical = 85%
Thanks
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: wrong color in metrics
Hi,
That's strange. Is this just limited to the table in the Metrics page? In other words, if you go to Home > Service Status and find/search for those services, is the correct color shown in the table?
Have you used the Custom Includes component to alter any of the front-end CSS values?
Lastly, what version of Nagios XI are you using? I checked this on my 5.7.2 system, and it's working as expected. Thanks, Benjamin
That's strange. Is this just limited to the table in the Metrics page? In other words, if you go to Home > Service Status and find/search for those services, is the correct color shown in the table?
Have you used the Custom Includes component to alter any of the front-end CSS values?
Lastly, what version of Nagios XI are you using? I checked this on my 5.7.2 system, and it's working as expected. Thanks, Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: wrong color in metrics
Hi Benjamin ,
Please find below update
That's strange. Is this just limited to the table in the Metrics page? In other words, if you go to Home > Service Status and find/search for those services, is the correct color shown in the table? >>>> yes , problem observed only in Metrics (top 10,..)
Have you used the Custom Includes component to alter any of the front-end CSS values? >>>> no
Lastly, what version of Nagios XI are you using? I checked this on my 5.7.2 system, and it's working as expected. >>>> currently using 5.6.14 >>> first observed at the time of Client demo last month and not observed before.
Thanks
Please find below update
That's strange. Is this just limited to the table in the Metrics page? In other words, if you go to Home > Service Status and find/search for those services, is the correct color shown in the table? >>>> yes , problem observed only in Metrics (top 10,..)
Have you used the Custom Includes component to alter any of the front-end CSS values? >>>> no
Lastly, what version of Nagios XI are you using? I checked this on my 5.7.2 system, and it's working as expected. >>>> currently using 5.6.14 >>> first observed at the time of Client demo last month and not observed before.
Thanks
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: wrong color in metrics
Hi,
I did find a bug in an older version of the metrics component related to dashlet colors, so let's upgrade this component to the latest version on this system. Go to Admin > System Extensions > Manage Components, and then select Check for Update and then Install Updates.
If that does not resolve the issue, let's check the output code for this check command, run the check directly from the terminal and then type echo $? to display the exit code, and post it to the thread.
Also, the following kb article explains how to test plugins from the command line.
Nagios XI - How To Test Check Commands From The Command-line
I did find a bug in an older version of the metrics component related to dashlet colors, so let's upgrade this component to the latest version on this system. Go to Admin > System Extensions > Manage Components, and then select Check for Update and then Install Updates.
If that does not resolve the issue, let's check the output code for this check command, run the check directly from the terminal and then type echo $? to display the exit code, and post it to the thread.
Also, the following kb article explains how to test plugins from the command line.
Nagios XI - How To Test Check Commands From The Command-line
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: wrong color in metrics
Hi Support Team,
This time we run and check from command also.
Please check attachment
2 IP address highlighted
Thanks
This time we run and check from command also.
Please check attachment
2 IP address highlighted
Thanks
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: wrong color in metrics
Hi,
Did you upgrade the component before taking those screenshots, What is the current version of the Metrics component on this system? To find out, go to Admin > System Extensions > Manage Components.
Regards,
Benjamin
Did you upgrade the component before taking those screenshots, What is the current version of the Metrics component on this system? To find out, go to Admin > System Extensions > Manage Components.
Regards,
Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: wrong color in metrics
Hi Benjamin,
Metrics 1.3.4 up-to-date
we also do check for update but this is the latest version showing ==> no update available
Thanks
Metrics 1.3.4 up-to-date
we also do check for update but this is the latest version showing ==> no update available
Thanks
You do not have the required permissions to view the files attached to this post.
Re: wrong color in metrics
Please attach this file so I can review it:
Code: Select all
/usr/local/nagiosxi/html/includes/utils-metrics.inc.php-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: wrong color in metrics
Hi Sean,
Please find attachment
Thanks
Please find attachment
Thanks
You do not have the required permissions to view the files attached to this post.
Re: wrong color in metrics
That's the same file I have.
I'm able to replicate it on my system now.
This is a bug in the metrics component, I have submitted a bug report so the developers can fix the calculations for it:
NEW TASK ID 15352 created - Nagios XI Bug Report: XI - Metrics Component - NCPA memory/virtual shows WARNING but Home > Metrics shows CRITICAL for % Utilization color.
I'm able to replicate it on my system now.
This is a bug in the metrics component, I have submitted a bug report so the developers can fix the calculations for it:
NEW TASK ID 15352 created - Nagios XI Bug Report: XI - Metrics Component - NCPA memory/virtual shows WARNING but Home > Metrics shows CRITICAL for % Utilization color.