Page 1 of 1
Hostgroup-Dashboard Problem
Posted: Thu Jun 06, 2019 3:02 pm
by bosecorp
I have few hostgroups that arent working correctly when using them in dashboards. I dont see all the host that are member of these particular hostgroups.
But when I go to hostgroup summary or hostgroup overview I can see the host.
Also, I when I go to mimemap in the home page I dont see them from there either
Re: Hostgroup-Dashboard Problem
Posted: Thu Jun 06, 2019 5:00 pm
by npolovenko
Hello,
@bosecorp. What kind of dashlets are you using to display hostgroups and its hosts on the dashboard?
Hostgroup Status Summary Dashlet? Can you take a screenshot of the dashboard and then another screenshot of the hostgroup overview?
Please sign in under a different user and let me know if you notice the same issue. Or whether this is happening for only one particular user. Is that user admin or non-admin?
Re: Hostgroup-Dashboard Problem
Posted: Fri Jun 07, 2019 8:04 am
by bosecorp
I am using minemap and I am running this as an admin
attached is a screenshoot. two diffent type of dashlets, different results with same hostgroup
Re: Hostgroup-Dashboard Problem
Posted: Fri Jun 07, 2019 4:09 pm
by npolovenko
@bosecorp, I tested this out on XI in the lab and the number of hosts matched in both dashlets. Can you create another dashboard with two dashlets for a different hostgroup(maybe linux-servers) and let me know if the number of hosts is the same or different.
Also, could you send in your Nagios XI System Profile so I can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and send it to me in a private message.
After you send it to me, please post something in this thread to bring it back up in the support queue.
Re: Hostgroup-Dashboard Problem
Posted: Mon Jun 17, 2019 12:44 pm
by bosecorp
I pm you the profile
also it happens with other hostgroups as well
Re: Hostgroup-Dashboard Problem
Posted: Mon Jun 17, 2019 4:02 pm
by npolovenko
@bosecorp, I noticed another strange thing. Two hosts that are visible on the first dashlet are visible on the second dashlet as well.
Code: Select all
usva-cxdc12-cube1b-m0.nsg.bose.com
usva-cxdc12-rtrvzmpls01-m0.nsg.bose.com
But three other hosts that are visible on the second dashlet only do not have config entries in your XI.
Code: Select all
usva-dc12-cusp1b-lpbk.bose.com
usva-dc12-dsp1b-lpbk.bose.com
usva-dc12-vxml1b-lpbk.bose.com
Your XI profile contains configs for three slightly different hosts(names)
Code: Select all
usva-cxdc12-cusp1b.nsg.bose.com
usva-dc12-dsp1b.bose.com
usva-dc12-vxml1b.bose.com
Do you remember when these host names got changed?
It looks like something is out of sync on this XI. Can you run the following commands in order and let me know if that fixes your problem?
Code: Select all
mysqlcheck -r -f -uroot -pnagiosxi --all-databases --use_frm
service crond stop
service npcd stop
service nagios stop
service ndo2db stop
pkill -9 -u nagios
for i in $(ipcs -q | grep nagios |awk '{print $2}'); do ipcrm -q $i; done
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
service mysqld restart
service ndo2db start
service nagios start
service npcd start
service crond start