CPU/Mem Metrics for Linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bomahony
Posts: 133
Joined: Wed Jul 04, 2018 10:46 am

CPU/Mem Metrics for Linux

Post by bomahony »

As per a previous post from 2014, these are Windows based:
https://support.nagios.com/forum/viewto ... 5&p=112744

As we monitor Memory & CPU on Linux in XI is it possible to get these metrics mapped to these fields somehow?

Actually is it possible to create our own metrics for this screen?
bomahony
Posts: 133
Joined: Wed Jul 04, 2018 10:46 am

Re: CPU/Mem Metrics for Linux

Post by bomahony »

BTW is there an automated mail list for new versions of XI and what they fix?
bomahony
Posts: 133
Joined: Wed Jul 04, 2018 10:46 am

Re: CPU/Mem Metrics for Linux

Post by bomahony »

What I am really trying to do is have a dash where I can see the top 10 or 20 nodes for various stats from a hostgroup. We have some hostrgroups with 100+ members, and having them all graphed on the dashboard is useless.
bomahony
Posts: 133
Joined: Wed Jul 04, 2018 10:46 am

Re: CPU/Mem Metrics for Linux

Post by bomahony »

I actually did a bit of messing with Grafana and hooked it into one of our XI nodes to read the RRD files. I have a weird isuse. After getting my regular expressions and so forth done, I noticed that all data prior to 10AM is not graphed. However if I do a 'rrdtool fetch' on the localhost load average, I can see entries right up to 3m ago....
I have tried restarting nagios and grafana-server but nothing seems to work?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: CPU/Mem Metrics for Linux

Post by npolovenko »

Hi, @bomahony. Have you tried increasing the range for your dashboard?
Untitled.png
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.
bomahony
Posts: 133
Joined: Wed Jul 04, 2018 10:46 am

Re: CPU/Mem Metrics for Linux

Post by bomahony »

This morning it was updated to 3am ish... It was perplexing. I changed the auto-refresh and it seems to be fixed.

Any response to the metrics questions [albeit if I can somehow manage to get this working in Grafana for topX of a stat, then it will be moot] :D

Has anyone gotten any topX working with Grafana? The api seems to be a bit limited atm.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: CPU/Mem Metrics for Linux

Post by npolovenko »

@bomahony, I could put a feature request to map Linux Memory and CPU check results with the metrics component. What kind of plugins are you using to check these parameters? Did they come with some config wizard or did you find these plugins on the exchange?
As far as getting topX to work with Grafana, I suggest posting this question on the Grafana support forum.
https://community.grafana.com/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bomahony
Posts: 133
Joined: Wed Jul 04, 2018 10:46 am

Re: CPU/Mem Metrics for Linux

Post by bomahony »

Thanks mate. Dont worry about the metrics, they dont seem to be as valuable as what i should be able to do with Grafana.

I am investigating either converting the rrd to InfluxDB with Nagflux, or possibly having a stab at the api from pbp4nagios and seeing if i can do it there. But im off for a few days so it can wait. I do have another issue, ~I am about to raise though....
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: CPU/Mem Metrics for Linux

Post by ssax »

Let us know how it goes. Please create a separate post for unrelated issues.

Thank you
Locked