Metrics Component

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Metrics Component

Post by abrist »

ooooo. I will look at this tomorrow.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Metrics Component

Post by WillemDH »

Mine too, it looks really nice, Bandit! Does it work with non-check_nt checks? As I'm using nrpe everywhere, the Metrics component neevr really worked for me.
Nagios XI 5.8.1
https://outsideit.net
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Metrics Component

Post by BanditBBS »

WillemDH wrote:Mine too, it looks really nice, Bandit! Does it work with non-check_nt checks? As I'm using nrpe everywhere, the Metrics component neevr really worked for me.
Willem,

The modifications I made work with perfdata that looks like this
CPU
CpuUser=15.81%;90;95;0; CpuSystem=1.40%;90;95;0; CpuIowait=0.00%;90;95;0; CpuIdle=82.79%;0;0;0; CpuNice=0.00%;0;0;0; CpuSteal=0.00%;0;0;0;

Memory
TOTAL=16336836KB;;;; USED=830808KB;13069468;14703152;; FREE=15506028KB;;;; CACHES=5699240KB;;;;
For the CPU, it adds the User, System and IOWait together for the percent used.

Just remember, if you do this, you'll have to redo it every time you upgrade :(

Go look here if you want to see what it looks like and why I removed the details column: http://support.nagios.com/forum/viewtop ... 31#p114631
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Metrics Component

Post by lmiltchev »

Great job, BanditBBS! I will be testing the metrics component mod as well.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Metrics Component

Post by BanditBBS »

lmiltchev wrote:Great job, BanditBBS! I will be testing the metrics component mod as well.
That'd be great Ludmil. Especially if you guys like it and approve it, then maybe it could be put into the code so I won't have to redo it on upgrades :)

It'd at least be a bandaid for users until Nagios ever greatly improves the metrics.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Metrics Component

Post by lmiltchev »

That'd be great Ludmil. Especially if you guys like it and approve it, then maybe it could be put into the code so I won't have to redo it on upgrades :)

It'd at least be a bandaid for users until Nagios ever greatly improves the metrics.
I hope it will be approved. The metrics component really needed improvement, and I am glad had the courage to take a stab at it. :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Metrics Component

Post by jomann »

Adding an option to remove the details section in the dashlet would be an easy enhancement and would definitely be able to be made along with your changes!

There has been some talk on changing the metrics component.I would say it's possible to get it added into the current component. Personally I think it would be more useful to be able to add a tab to the metrics component and then set the metric/regex expressions to match your metrics to, along with our current (or updated) defaults. This would allow you to make changes to the metrics for any type of metric. Would this be a good solution for this component? We have noticed it being under-utilized.

There is an internal feature request for redoing the Metrics component - and I am sure we can talk about adding your changes to the current component for the time being though I can't make any promises! I'm not sure when the updates to the Metrics component will happen and if they will or will not be in the next version of XI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Metrics Component

Post by BanditBBS »

jomann wrote:Adding an option to remove the details section in the dashlet would be an easy enhancement and would definitely be able to be made along with your changes!

There has been some talk on changing the metrics component.I would say it's possible to get it added into the current component. Personally I think it would be more useful to be able to add a tab to the metrics component and then set the metric/regex expressions to match your metrics to, along with our current (or updated) defaults. This would allow you to make changes to the metrics for any type of metric. Would this be a good solution for this component? We have noticed it being under-utilized.

There is an internal feature request for redoing the Metrics component - and I am sure we can talk about adding your changes to the current component for the time being though I can't make any promises! I'm not sure when the updates to the Metrics component will happen and if they will or will not be in the next version of XI.
Yeah, that solution would really work for a large audience I think! Its definitely under utilized due to not enough options on it.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Metrics Component

Post by snapon_admin »

Personally I think it would be more useful to be able to add a tab to the metrics component and then set the metric/regex expressions to match your metrics to, along with our current (or updated) defaults. This would allow you to make changes to the metrics for any type of metric.
Am I reading this right? If something like this were to be implemented, would I be able to see metrics on whatever I request? The reason I ask is because, frankly, that would be f'ing awesome! We have a few different CPU checks (CPU Usage, CPU Stats, Zone CPU Usage) that we'd like to be able to view in the metrics component. If what you're saying is that this might be possible, you've just made myself and several of my coworkers very excited.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Metrics Component

Post by jomann »

snapon_admin wrote:
Personally I think it would be more useful to be able to add a tab to the metrics component and then set the metric/regex expressions to match your metrics to, along with our current (or updated) defaults. This would allow you to make changes to the metrics for any type of metric.
Am I reading this right? If something like this were to be implemented, would I be able to see metrics on whatever I request? The reason I ask is because, frankly, that would be f'ing awesome! We have a few different CPU checks (CPU Usage, CPU Stats, Zone CPU Usage) that we'd like to be able to view in the metrics component. If what you're saying is that this might be possible, you've just made myself and several of my coworkers very excited.
Yes that is exactly what I am thinking... and the ability to make multiple types aggregated so say you wanted to see all those different CPU type checks together in one list, you could do that.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked