Hello Team,
I have created some host group types in my nagiosxi server. But I am trying to pull the availability report for hostgroups but I am not able to see my hostgroup types.
In host group summary also I have checked it's not showing.
Could you please help me to resolve this issue ?
Hostgroup type is not showing in availability report
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
Re: Hostgroup type is not showing in availability report
Have you applied configuration after creating your hostgroups?
Do you see any config errors when you use the Config File Management component (Write Configs > Verify Files)?
What is the version of Nagios XI that you are currently using?
Do you see the hostgroups when you log in the Nagios Core interface?
Try restarting services to see if this is going to fix your issue:
Do you see any config errors when you use the Config File Management component (Write Configs > Verify Files)?
What is the version of Nagios XI that you are currently using?
Do you see the hostgroups when you log in the Nagios Core interface?
Code: Select all
http://ip address/nagiosCode: Select all
service nagios stop
service ndo2db restart
service nagios startBe sure to check out our Knowledgebase for helpful articles and solutions!
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
Re: Hostgroup type is not showing in availability report
Hello lmiltchev,
I have checked in Nagios Core interface also I am not able to see the host groups and I have tried below step's also but still issue is persist .
service nagios stop
service ndo2db restart
service nagios start
I have checked in Nagios Core interface also I am not able to see the host groups and I have tried below step's also but still issue is persist .
service nagios stop
service ndo2db restart
service nagios start
Re: Hostgroup type is not showing in availability report
Do you see the hostgroups under the "Host Groups Status" page (Home > Details > Hostgroup Summary)?
Do you see any errors in the apache error log when you access the availability reports page?
Do you have any errors in the mysqld.log (mariadb.log)?
Do you see any errors in the apache error log when you access the availability reports page?
Code: Select all
tail -50 /var/log/httpd/error_logCode: Select all
tail -50 /var/log/mysqld.log
tail -50 /var/log/mariadb/mariadb.logBe sure to check out our Knowledgebase for helpful articles and solutions!
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
Re: Hostgroup type is not showing in availability report
Hello lmiltchev ,
I am not able to see the my hostgroups in host group summary also
The below log's are continuously showing in /var/log/httpd/error_log file
tail /var/log/httpd/error_log
Nov 06 /usr/local/nagiosxi/html/includes/components/ccm/classes/data.class.php on line 1610, referer: http://<ip>/nagiosxi/includes/components/ccm/?cmd=modify&type=hostgroup&id=6&page=1&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhostgroup%26page%3D1
[Wed Nov 07 06:43:11.882782 2018] [:error] [pid ] [client ] PHP Notice: Undefined index: idMaster in /usr/local/nagiosxi/html/includes/components/ccm/classes/data.class.php on line 1611, referer: http://<ip>/nagiosxi/includes/components/ccm/index.php?cmd=view&type=hostgroup&page=1
Please find the mariadb.log
I am not able to see the my hostgroups in host group summary also
The below log's are continuously showing in /var/log/httpd/error_log file
tail /var/log/httpd/error_log
Nov 06 /usr/local/nagiosxi/html/includes/components/ccm/classes/data.class.php on line 1610, referer: http://<ip>/nagiosxi/includes/components/ccm/?cmd=modify&type=hostgroup&id=6&page=1&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhostgroup%26page%3D1
[Wed Nov 07 06:43:11.882782 2018] [:error] [pid ] [client ] PHP Notice: Undefined index: idMaster in /usr/local/nagiosxi/html/includes/components/ccm/classes/data.class.php on line 1611, referer: http://<ip>/nagiosxi/includes/components/ccm/index.php?cmd=view&type=hostgroup&page=1
Please find the mariadb.log
You do not have the required permissions to view the files attached to this post.
Re: Hostgroup type is not showing in availability report
You have a crashed table in the DB.
Try running our db repair script to see if this is going to fix your issue:181030 13:53:39 [ERROR] mysqld: Table './nagios/nagios_commenthistory' is marked as crashed and last (automatic?) repair failed
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.shBe sure to check out our Knowledgebase for helpful articles and solutions!
-
manimurugesan
- Posts: 145
- Joined: Wed Oct 03, 2018 9:15 am
Re: Hostgroup type is not showing in availability report
The issue has been resolved .
Issue is In nagios .cfg file (/usr/local/nagios/etc/nagios.cfg ) /usr/local/nagios/etc/hostgroups.cfg is commented so now I have uncommented it's stared working
Issue is In nagios .cfg file (/usr/local/nagios/etc/nagios.cfg ) /usr/local/nagios/etc/hostgroups.cfg is commented so now I have uncommented it's stared working
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Hostgroup type is not showing in availability report
Great Glad to hear it is resolved!manimurugesan wrote:The issue has been resolved .
Issue is In nagios .cfg file (/usr/local/nagios/etc/nagios.cfg ) /usr/local/nagios/etc/hostgroups.cfg is commented so now I have uncommented it's stared working
Locking thread