only 1 service group showing detail in Metrics

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rdumont
Posts: 14
Joined: Fri Sep 02, 2016 1:33 pm

only 1 service group showing detail in Metrics

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: only 1 service group showing detail in Metrics

Post 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.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: only 1 service group showing detail in Metrics

Post 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.
Previous Nagios employee
rdumont
Posts: 14
Joined: Fri Sep 02, 2016 1:33 pm

Re: only 1 service group showing detail in Metrics

Post by rdumont »

My local guru tells me they are check_wmi_plus
Does that mean they are custom?
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: only 1 service group showing detail in Metrics

Post 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.
Previous Nagios employee
rdumont
Posts: 14
Joined: Fri Sep 02, 2016 1:33 pm

Re: only 1 service group showing detail in Metrics

Post by rdumont »

ok thanks!

We loaded XI 5.3.0 this morning, any idea when ticket 6507 might be included?
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: only 1 service group showing detail in Metrics

Post 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.
Previous Nagios employee
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: only 1 service group showing detail in Metrics

Post 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?
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked