Re: Metrics Component
Posted: Tue Oct 21, 2014 5:11 pm
ooooo. I will look at this tomorrow.
Support for Nagios products and services
https://support.nagios.com/forum/
Willem,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.
For the CPU, it adds the User, System and IOWait together for the percent used.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;;;;
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 upgradeslmiltchev wrote:Great job, BanditBBS! I will be testing the metrics component mod as well.
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.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.
Yeah, that solution would really work for a large audience I think! Its definitely under utilized due to not enough options on it.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.
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.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.
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.snapon_admin wrote: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.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.