Page 1 of 1

only 1 service group showing detail in Metrics

Posted: Tue Oct 04, 2016 11:56 am
by rdumont
Hello, i've created Service Groups for CPU Utilization, DIsk Utilization, Memory Utilization, etc. for about 30 servers being monitored. When i view through Metrics i can only see detail for the Disk Utilization Service Group, the others say "No matching data to display"

When i go to the Service Group Summary everything appears as it should. Any idea why i'm not seeing data for all Service Groups in the Metrics section?

Re: only 1 service group showing detail in Metrics

Posted: Tue Oct 04, 2016 4:04 pm
by lmiltchev
How did you create your checks? Did you use any of the monitoring wizards that ship by default with XI, or you created "custom" checks? The Metrics component works mostly with the "default" checks in XI. Here's an example. I created a service group called "cpu_utilization", and added bunch of services to it, mainly "default" "cpu usage" and "load" checks. They show up just fine in the Metrics component, when I filter by servicegroup.
example01.PNG
example02.PNG
Other word, custom checks may not show up in the Metrics component.

Re: only 1 service group showing detail in Metrics

Posted: Tue Oct 04, 2016 4:26 pm
by avandemore
Adding to @lmilchev's response, this is a known issue with the Metrics plugin. It is due to some hardcoding of certain objects. It is on the radar to allow customized, you can inquire about XI ticket 6507 for future reference.

Re: only 1 service group showing detail in Metrics

Posted: Wed Oct 05, 2016 10:57 am
by rdumont
My local guru tells me they are check_wmi_plus
Does that mean they are custom?

Re: only 1 service group showing detail in Metrics

Posted: Wed Oct 05, 2016 11:36 am
by avandemore
Yes, that is a 3rd party plugin which is outside the scope of support. However as mentioned previously this functionality is on the board for future development.

Re: only 1 service group showing detail in Metrics

Posted: Wed Oct 05, 2016 11:44 am
by rdumont
ok thanks!

We loaded XI 5.3.0 this morning, any idea when ticket 6507 might be included?

Re: only 1 service group showing detail in Metrics

Posted: Wed Oct 05, 2016 12:46 pm
by avandemore
There is no targeted release ATM, although I would suspect it to be in the intermediate timeframe (eg months, not weeks or years). Is it okay for me to lock this thread? There isn't much further we can go on this, but if you want to modify source files here is some info.

If you do, first remember you are taking your Nagios install outside of any scope of support. Other points are make a backup, use at your own risk, and this will not survive an upgrade. If this is something you need done professionally and in a supportable manner, we can discuss a fee based custom development project.

The file you need to modify is by default located at /usr/local/nagiosxi/html/includes/utils-metrics.inc.php by default.

Re: only 1 service group showing detail in Metrics

Posted: Wed Oct 05, 2016 2:00 pm
by lmiltchev
@rdumont FYI, the "deafult" WMI checks that are set up by our "Windows WMI" wizard should show up in the "Metrics" component. Only the checks are that custom may not show up.
example01.PNG
example02.PNG
example03.PNG
We don't have an ETA on the feature request - TASK ID=6507. You could check the change log once in a while to see if this functionality has been added in the future releases of XI.

https://assets.nagios.com/downloads/nag ... NGES-5.TXT

Is it ok to close this thread?