Metrics does not show all members of hostgroup

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Metrics does not show all members of hostgroup

Post by cloudcom »

Hi,
I have two hostgroups as linux servers and windows servers. Host group summary shows their status:
hostgroup.PNG
But under the "metrics" tab, i can not see all member's information when i select linux server as a hostgroup:
metrics.PNG
Why doesn't it show disk usage informations of all linux servers?
What is the problem?



Nagios Core 4.0.5
Nagios XI 2014R1.0
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Metrics does not show all members of hostgroup

Post by tmcdonald »

What user are you logged in as? Is it a full Admin or does it have only partial rights?
Former Nagios employee
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Metrics does not show all members of hostgroup

Post by cloudcom »

The user is nagiosadmin itself.
I can see all information of linux servers under the "service detail" section but "metrics" can not fetch status from all linux servers
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Metrics does not show all members of hostgroup

Post by ssax »

I was able to replicate this, you need to make sure that all the hosts have that service attached to it and that the first check is not pending (completed).

Here's an example:
metric1.png
You can see that localhost has all of the services.
localhost_copy_1 has current load and root partition.
The rest just have current load.

So when I run the metrics for disk usage, only localhost and localhost_copy_1 show up.

When I run the metrics for load, all of them will show up.

If I ran the metrics for swap only localhost will show up, like in your example.
You do not have the required permissions to view the files attached to this post.
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Metrics does not show all members of hostgroup

Post by cloudcom »

I know ofcourse. It should be as you sad.

All servers have already basic services: memory usage, cpu usage, disk usage, swap usage
hostgroup2.PNG
Let's filter by memory usage
metrics2.PNG
Notice that the user is nagiosadmin.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Metrics does not show all members of hostgroup

Post by lmiltchev »

Do you see the memory usage (for Linux hosts) under the "Summary" tab in Metrics component if you don't filter by hostgroup? How did you set up these hosts/services (via the "Linux Server" wizard, "NRPE" wizard, custom plugins, etc.)?
Be sure to check out our Knowledgebase for helpful articles and solutions!
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Metrics does not show all members of hostgroup

Post by cloudcom »

No, I can not see linux servers in Metrics component when i dont filter by hostgroup.
I have added linux servers via linux server snmp wizard. I checked their hostgroup configuration and they are included in linux-servers hostgroup. I can already see them in hostgroup status as i mentioned before. Just metrics component can not show the linux servers. It does not matter whether i filter by hostgroup or not.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Metrics does not show all members of hostgroup

Post by lmiltchev »

It seems like this is a bug with the Metrics component. We have our developers looking into this, so I expect to see this bug fixed in the next version of the component. We will do some internal testing after this is done but you are welcome to test it as well (prior to the official release) if you wish.
Be sure to check out our Knowledgebase for helpful articles and solutions!
cloudcom
Posts: 67
Joined: Tue Jul 02, 2013 1:41 am

Re: Metrics does not show all members of hostgroup

Post by cloudcom »

Hımm.it is interesting that anyone has not realized this problem so far.
I checked the metrics component. Its version is 1.2. Sure, we can use the updated version.
Do you have any prediction when it will be ready?
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Metrics does not show all members of hostgroup

Post by jdalrymple »

No matter how hard I try I cannot replicate your situation.

If you don't filter the results do you see the hosts that are missing? Mind you hostgroup is a "filter" - it will never add results to what you see only take away
Locked