Nagios xi graphing issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vuduops
Posts: 81
Joined: Wed Sep 07, 2016 1:34 pm

Nagios xi graphing issue

Post by vuduops »

Hi ;

I recently installed Nagios-xi. I see the graphs are not showing up for host and service checks. I have attached screen shot for your reference.

I see the below message for when I click on the performance graphs tab for check.

"No performance graphs were found for this service. If you have just started monitoring this object then it may take up to 15 minutes for the performance graphs to appear."

Any help to resolve this issue is appreciated.

-Krishna
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios xi graphing issue

Post by tmcdonald »

I do not see any screenshot attached - can you please upload one so we can see what's up?

Also, I have to ask how long you waited, since it can in fact take some time for graphs to appear, especially if the checks are only being run every hour for example.
Former Nagios employee
vuduops
Posts: 81
Joined: Wed Sep 07, 2016 1:34 pm

Re: Nagios xi graphing issue

Post by vuduops »

Sorry about that I have attached the missing screen shot.

yes, I waited for about a day. But it does not show up also after some time I see the below error and I am unable to access the nagios xi on the web interface.

Running the below repair script didnot help.

Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, please contact Nagios support.
Run the following from the CLI as root to attempt to repair the DB
/usr/local/nagiosxi/scripts/repair_databases.sh
Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, please contact Nagios support.
Run the following from the CLI as root to attempt to repair the DB
/usr/local/nagiosxi/scripts/repair_databases.sh
Message: A database connection error has been detected, we are attempting to repair the server, if the repair does not resolve the issue, please contact Nagios support.
Run the following from the CLI as root to attempt to repair the DB
/usr/local/nagiosxi/scripts/repair_databases.sh


Thanks
Krishna
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios xi graphing issue

Post by rkennedy »

What is the full output when you run the repair?

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
Regarding your screenshot, which checks are not showing graphs? It looks like a good portion aren't working properly which is why the graphs would not generate.
Former Nagios Employee
vuduops
Posts: 81
Joined: Wed Sep 07, 2016 1:34 pm

Re: Nagios xi graphing issue

Post by vuduops »

I have enclosed the log below, I understand that some checks are not working but for check that were working I did not see any graphs.

Code: Select all



[[email protected] ~]# /usr/local/nagiosxi/scripts/repair_databases.sh 2>&1 /tmp/repair_databases.log
mysqld is stopped
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
mysqld is stopped
DATABASE: nagios
TABLE:    
/var/lib/mysql/nagios ~
Stopping mysqld:                                           [  OK  ]
- recovering (with sort) MyISAM-table 'nagios_acknowledgements.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_commands.MYI'
Data records: 124
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_commenthistory.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_comments.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_configfiles.MYI'
Data records: 1
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_configfilevariables.MYI'
Data records: 131
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'nagios_conninfo.MYI'
Data records: 11
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'nagios_contact_addresses.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_contactgroup_members.MYI'
Data records: 2
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_contactgroups.MYI'
Data records: 2
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_contact_notificationcommands.MYI'
Data records: 24
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_contactnotificationmethods.MYI'
Data records: 25416
- Fixing index 1
- Fixing index 2
- Fixing index 3
          
---------

- recovering (with sort) MyISAM-table 'nagios_contactnotifications.MYI'
Data records: 25416
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
          
---------

- recovering (with sort) MyISAM-table 'nagios_contacts.MYI'
Data records: 2
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_contactstatus.MYI'
Data records: 2
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_customvariables.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
- Fixing index 3
          
---------

- recovering (with sort) MyISAM-table 'nagios_customvariablestatus.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
- Fixing index 3
          
---------

- recovering (with keycache) MyISAM-table 'nagios_dbversion.MYI'
Data records: 1
          
---------

- recovering (with sort) MyISAM-table 'nagios_downtimehistory.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_eventhandlers.MYI'
Data records: 6876
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_externalcommands.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'nagios_flappinghistory.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'nagios_hostchecks.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_host_contactgroups.MYI'
Data records: 335
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_host_contacts.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_hostdependencies.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_hostescalation_contactgroups.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_hostescalation_contacts.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_hostescalations.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_hostgroup_members.MYI'
Data records: 334
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_hostgroups.MYI'
Data records: 14
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_host_parenthosts.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_hosts.MYI'
Data records: 335
- Fixing index 1
- Fixing index 2
- Fixing index 3
          
---------

- recovering (with sort) MyISAM-table 'nagios_hoststatus.MYI'
Data records: 335
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
- Fixing index 5
- Fixing index 6
- Fixing index 7
- Fixing index 8
- Fixing index 9
- Fixing index 10
- Fixing index 11
- Fixing index 12
- Fixing index 13
- Fixing index 14
- Fixing index 15
- Fixing index 16
- Fixing index 17
- Fixing index 18
- Fixing index 19
          
---------

- recovering (with sort) MyISAM-table 'nagios_instances.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'nagios_logentries.MYI'
Data records: 205684
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
          
---------

- recovering (with sort) MyISAM-table 'nagios_notifications.MYI'
Data records: 25416
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
          
---------

- recovering (with sort) MyISAM-table 'nagios_objects.MYI'
Data records: 2409
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
- Fixing index 5
          
---------

- recovering (with sort) MyISAM-table 'nagios_processevents.MYI'
Data records: 51
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'nagios_programstatus.MYI'
Data records: 1
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_runtimevariables.MYI'
Data records: 18
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_scheduleddowntime.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_servicechecks.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
          
---------

- recovering (with sort) MyISAM-table 'nagios_service_contactgroups.MYI'
Data records: 1917
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_service_contacts.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_servicedependencies.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_serviceescalation_contactgroups.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_serviceescalation_contacts.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_serviceescalations.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_servicegroup_members.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_servicegroups.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_service_parentservices.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_services.MYI'
Data records: 1917
- Fixing index 1
- Fixing index 2
- Fixing index 3
          
---------

- recovering (with sort) MyISAM-table 'nagios_servicestatus.MYI'
Data records: 1917
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
- Fixing index 5
- Fixing index 6
- Fixing index 7
- Fixing index 8
- Fixing index 9
- Fixing index 10
- Fixing index 11
- Fixing index 12
- Fixing index 13
- Fixing index 14
- Fixing index 15
- Fixing index 16
- Fixing index 17
- Fixing index 18
- Fixing index 19
          
---------

- recovering (with sort) MyISAM-table 'nagios_statehistory.MYI'
Data records: 6876
- Fixing index 1
- Fixing index 2
- Fixing index 3
          
---------

- recovering (with sort) MyISAM-table 'nagios_systemcommands.MYI'
Data records: 20048
- Fixing index 1
- Fixing index 2
- Fixing index 3
          
---------

- recovering (with sort) MyISAM-table 'nagios_timedeventqueue.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
- Fixing index 5
- Fixing index 6
          
---------

- recovering (with sort) MyISAM-table 'nagios_timedevents.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
- Fixing index 3
- Fixing index 4
- Fixing index 5
- Fixing index 6
          
---------

- recovering (with sort) MyISAM-table 'nagios_timeperiods.MYI'
Data records: 8
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'nagios_timeperiod_timeranges.MYI'
Data records: 33
- Fixing index 1
- Fixing index 2
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
~
 
===============
REPAIR COMPLETE
===============
mysqld is stopped
DATABASE: nagiosql
TABLE:    
/var/lib/mysql/nagiosql ~
Stopping mysqld:                                           [  OK  ]
- recovering (with sort) MyISAM-table 'tbl_command.MYI'
Data records: 128
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_contactgroup.MYI'
Data records: 2
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_contact.MYI'
Data records: 1
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_contacttemplate.MYI'
Data records: 2
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_domain.MYI'
Data records: 1
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_hostdependency.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_hostescalation.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_hostextinfo.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_hostgroup.MYI'
Data records: 2
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_host.MYI'
Data records: 1
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_hosttemplate.MYI'
Data records: 50
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_info.MYI'
Data records: 218
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContactgroupToContactgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContactgroupToContact.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContacttemplateToCommandHost.MYI'
Data records: 2
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContacttemplateToCommandService.MYI'
Data records: 2
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContacttemplateToContactgroup.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContacttemplateToContacttemplate.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContacttemplateToVariabledefinition.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContactToCommandHost.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContactToCommandService.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContactToContactgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContactToContacttemplate.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkContactToVariabledefinition.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostdependencyToHost_DH.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostdependencyToHostgroup_DH.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostdependencyToHostgroup_H.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostdependencyToHost_H.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostescalationToContactgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostescalationToContact.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostescalationToHostgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostescalationToHost.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostgroupToHostgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostgroupToHost.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHosttemplateToContactgroup.MYI'
Data records: 4
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHosttemplateToContact.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHosttemplateToHostgroup.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHosttemplateToHost.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHosttemplateToHosttemplate.MYI'
Data records: 48
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHosttemplateToVariabledefinition.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostToContactgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostToContact.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostToHostgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostToHost.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostToHosttemplate.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkHostToVariabledefinition.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicedependencyToHost_DH.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicedependencyToHostgroup_DH.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicedependencyToHostgroup_H.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicedependencyToHost_H.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicedependencyToService_DS.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicedependencyToService_S.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceescalationToContactgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceescalationToContact.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceescalationToHostgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceescalationToHost.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceescalationToService.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicegroupToServicegroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicegroupToService.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicetemplateToContactgroup.MYI'
Data records: 1
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicetemplateToContact.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicetemplateToHostgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicetemplateToHost.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicetemplateToServicegroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicetemplateToServicetemplate.MYI'
Data records: 81
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServicetemplateToVariabledefinition.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceToContactgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceToContact.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceToHostgroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceToHost.MYI'
Data records: 14
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceToServicegroup.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceToServicetemplate.MYI'
Data records: 14
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkServiceToVariabledefinition.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_lnkTimeperiodToTimeperiod.MYI'
Data records: 0
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_logbook.MYI'
Data records: 59
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_mainmenu.MYI'
Data records: 7
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_servicedependency.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_serviceescalation.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_serviceextinfo.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_servicegroup.MYI'
Data records: 0
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_service.MYI'
Data records: 14
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_servicetemplate.MYI'
Data records: 83
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_settings.MYI'
Data records: 12
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_submenu.MYI'
Data records: 29
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_timedefinition.MYI'
Data records: 39
- Fixing index 1
          
---------

- recovering (with sort) MyISAM-table 'tbl_timeperiod.MYI'
Data records: 7
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_user.MYI'
Data records: 2
- Fixing index 1
- Fixing index 2
          
---------

- recovering (with sort) MyISAM-table 'tbl_variabledefinition.MYI'
Data records: 0
- Fixing index 1
MySQL Daemon failed to start.
Starting mysqld:                                           [FAILED]
~
 
===============
REPAIR COMPLETE
===============
Could not open input file: nagiosxi_dbtype.php
Stopping ndo2db: done.
Starting ndo2db: done.
Running configuration check...
Stopping nagios:. done.
Last edited by tmcdonald on Thu Sep 29, 2016 11:58 am, edited 1 time in total.
Reason: Please use [code][/code] tags around long output
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios xi graphing issue

Post by Box293 »

It seems as though mysqld is failing to start. Can you please execute these commands:

Code: Select all

tail /var/log/mysqld.log -n 100
tail /var/log/messages -n 100
df -h
df -i
Please paste the output of all the commands here in a code block.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
vuduops
Posts: 81
Joined: Wed Sep 07, 2016 1:34 pm

Re: Nagios xi graphing issue

Post by vuduops »

Enclosed below is the info you had requested.

Code: Select all

[[email protected] ~]# tail /var/log/mysqld.log -n 100
160923 17:50:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160923 17:50:52  InnoDB: Initializing buffer pool, size = 8.0M
160923 17:50:52  InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
160923 17:50:52  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
160923 17:50:52  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
160923 17:50:52  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
160923 17:50:53  InnoDB: Started; log sequence number 0 0
160923 17:50:53 [Note] Event Scheduler: Loaded 0 events
160923 17:50:53 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
160923 17:57:53 [Note] /usr/libexec/mysqld: Normal shutdown

160923 17:57:53 [Note] Event Scheduler: Purging the queue. 0 events
160923 17:57:55  InnoDB: Starting shutdown...
160923 17:58:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
160923 17:58:36  InnoDB: Initializing buffer pool, size = 8.0M
160923 17:58:36  InnoDB: Completed initialization of buffer pool
160923 17:58:37  InnoDB: Started; log sequence number 0 44233
160923 17:58:37 [Note] Event Scheduler: Loaded 0 events
160923 17:58:37 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
160924 14:50:54 [Note] /usr/libexec/mysqld: Normal shutdown

160924 14:50:54 [Note] Event Scheduler: Purging the queue. 0 events
160924 14:50:56  InnoDB: Starting shutdown...
160924 14:50:57  InnoDB: Shutdown completed; log sequence number 0 44233
160924 14:50:57 [Note] /usr/libexec/mysqld: Shutdown complete

160924 14:50:57 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended






[[email protected] ~]# 
[[email protected] ~]# tail /var/log/messages -n 100
Sep 29 13:55:38 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'encoder3.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:40 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'reportspgdb3.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:40 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'foreman1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:41 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'ftest3.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:42 nagios1 nagios: Warning: Return code of 255 for check of service 'total processes' on host 'forum2.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:42 nagios1 nagios: Warning: Return code of 255 for check of service 'total processes' on host 'forumdb2.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:43 nagios1 nagios: Warning: Return code of 255 for check of service 'disk' on host 'jiradb2.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:43 nagios1 nagios: SERVICE NOTIFICATION: nagiosadmin;jiradb2.devmlp.marquee.net;disk;CRITICAL;xi_service_notification_handler;(Return code of 255 is out of bounds)
Sep 29 13:55:43 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'ftest1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:45 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'jiradb1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:45 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'ftest1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:45 nagios1 nagios: SERVICE NOTIFICATION: nagiosadmin;secappvirthost3.devmlp.marquee.net;tps;UNKNOWN;xi_service_notification_handler;NRPE: Unable to read output
Sep 29 13:55:45 nagios1 nagios: Warning: Return code of 255 for check of service 'entropy' on host 'ftest4.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:46 nagios1 nagios: Warning: Return code of 255 for check of service 'tps' on host 'git1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:46 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'ftest2.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:48 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'fullsearch1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:48 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'repo1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:48 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'cs1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:49 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'forumdb1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:52 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'fullsearch1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:52 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'jiradb1.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:52 nagios1 nagios: Warning: Return code of 255 for check of service 'nagios' on host 'jira2.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:54 nagios1 nagios: ndomod: Successfully reconnected to data sink!  150 items lost, 5000 queued items to flush.
Sep 29 13:55:54 nagios1 ndo2db: Error: Could not connect to MySQL database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Sep 29 13:55:54 nagios1 ndo2db: Error: Could not connect to MySQL database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Sep 29 13:55:54 nagios1 nagios: ndomod: Error writing to data sink!  Some output may get lost.  4832 queued items to flush.
Sep 29 13:55:54 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'cisdb5.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:55 nagios1 nagios: Warning: Return code of 255 for check of service 'users' on host 'gigaencoder2.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:56 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'startup2.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:58 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'secwwwvirthost2.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:59 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'promocode3.devmlp.marquee.net' was out of bounds.
Sep 29 13:55:59 nagios1 nagios: Warning: Return code of 255 for check of service 'entropy' on host 'virthost3-c1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:00 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'it1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:01 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'dirapp1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:01 nagios1 nagios: Warning: Return code of 255 for check of service 'hobbit' on host 'ls2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:02 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'mainvirthost1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:02 nagios1 nagios: Warning: Return code of 255 for check of service 'entropy' on host 'jiradb2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:02 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'jiradb1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:03 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'dirapp1-preprod.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:03 nagios1 nagios: Warning: Return code of 255 for check of service 'nagios' on host 'jira1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:03 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'mainvirthost1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:04 nagios1 nagios: Warning: Return code of 255 for check of service 'hobbit' on host 'dirvault1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:05 nagios1 nagios: Warning: Return code of 255 for check of service 'nagios' on host 'jumphost1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:05 nagios1 nagios: Warning: Return code of 255 for check of service 'tps' on host 'ls1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:06 nagios1 nagios: Warning: Return code of 255 for check of service 'nagios' on host 'virthost1-c2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:06 nagios1 nagios: Warning: Return code of 255 for check of service 'nagios' on host 'mainvirthost2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:07 nagios1 nagios: Warning: Return code of 255 for check of service 'nagios' on host 'secwwwvirthost2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:07 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'mainvirthost1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:07 nagios1 nagios: Warning: Return code of 255 for check of service 'total processes' on host 'mainvirthost1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:09 nagios1 nagios: Warning: Return code of 255 for check of service 'hobbit' on host 'www1-beta1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:09 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'jira2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:09 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'vvsim1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:10 nagios1 nagios: ndomod: Successfully reconnected to data sink!  76 items lost, 5000 queued items to flush.
Sep 29 13:56:10 nagios1 ndo2db: Error: Could not connect to MySQL database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Sep 29 13:56:10 nagios1 ndo2db: Error: Could not connect to MySQL database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Sep 29 13:56:10 nagios1 nagios: ndomod: Error writing to data sink!  Some output may get lost.  4827 queued items to flush.
Sep 29 13:56:10 nagios1 nagios: Warning: Return code of 255 for check of service 'tps' on host 'jumphost1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:10 nagios1 nagios: Warning: Return code of 255 for check of service 'entropy' on host 'vvsim4.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:10 nagios1 nagios: Warning: Return code of 255 for check of service 'total processes' on host 'mainvirthost3.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:11 nagios1 nagios: Warning: Return code of 255 for check of service 'hobbit' on host 'transcoder1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:12 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'virthost2-c1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:12 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'mainvirthost3.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:12 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'vvsim3.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:13 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'virthost3-c2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:13 nagios1 nagios: Warning: Return code of 255 for check of service 'disk' on host 'ls1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:13 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'ls2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:13 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'ls2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:14 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'www3.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:15 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'mainvirthost3.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:16 nagios1 nagios: Warning: Return code of 255 for check of service 'total processes' on host 'www2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:17 nagios1 nagios: Warning: Return code of 255 for check of service 'tps' on host 'mainvirthost1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:20 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'www1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:20 nagios1 nagios: SERVICE NOTIFICATION: nagiosadmin;dircache2.devmlp.marquee.net;tps;UNKNOWN;xi_service_notification_handler;NRPE: Unable to read output
Sep 29 13:56:21 nagios1 nagios: Warning: Return code of 255 for check of service 'total processes' on host 'mainvirthost2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:21 nagios1 nagios: Warning: Return code of 255 for check of service 'nagios' on host 'www1-mqc.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:22 nagios1 nagios: Warning: Return code of 255 for check of service 'total processes' on host 'www1-beta1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:22 nagios1 nagios: Warning: Return code of 255 for check of service 'entropy' on host 'ls1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:22 nagios1 nagios: Warning: Return code of 255 for check of service 'total processes' on host 'bugzilladb1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:24 nagios1 nagios: Warning: Return code of 255 for check of service 'users' on host 'ls2.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:24 nagios1 nagios: Warning: Return code of 255 for check of service 'entropy' on host 'nlsdb5.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:24 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'www1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:25 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'nlsdb4.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:25 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'nlsdb4.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:26 nagios1 nagios: ndomod: Successfully reconnected to data sink!  235 items lost, 5000 queued items to flush.
Sep 29 13:56:26 nagios1 ndo2db: Error: Could not connect to MySQL database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Sep 29 13:56:26 nagios1 ndo2db: Error: Could not connect to MySQL database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Sep 29 13:56:26 nagios1 nagios: ndomod: Error writing to data sink!  Some output may get lost.  4833 queued items to flush.
Sep 29 13:56:26 nagios1 nagios: Warning: Return code of 255 for check of service 'mail' on host 'mainvirthost3.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:26 nagios1 xinetd[1631]: START: nrpe pid=6759 from=::ffff:10.230.51.30
Sep 29 13:56:26 nagios1 xinetd[6759]: FAIL: nrpe address from=::ffff:10.230.51.30
Sep 29 13:56:26 nagios1 xinetd[1631]: EXIT: nrpe status=0 pid=6759 duration=0(sec)
Sep 29 13:56:27 nagios1 nagios: Warning: Return code of 255 for check of service 'ssh' on host 'opsvirthost1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:27 nagios1 nagios: Warning: Return code of 255 for check of service 'cpu' on host 'ns1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:28 nagios1 nagios: Warning: Return code of 255 for check of service 'zombie process' on host 'secmgr1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:28 nagios1 nagios: Warning: Return code of 255 for check of service 'hobbit' on host 'perforce1.devmlp.marquee.net' was out of bounds.
Sep 29 13:56:28 nagios1 nagios: SERVICE NOTIFICATION: nagiosadmin;perforce1.devmlp.marquee.net;hobbit;CRITICAL;xi_service_notification_handler;(Return code of 255 is out of bounds)
Sep 29 13:56:29 nagios1 xinetd[1631]: START: nrpe pid=6782 from=::ffff:10.230.51.30
Sep 29 13:56:29 nagios1 xinetd[6782]: FAIL: nrpe address from=::ffff:10.230.51.30
Sep 29 13:56:29 nagios1 xinetd[1631]: EXIT: nrpe status=0 pid=6782 duration=0(sec)
Sep 29 13:56:30 nagios1 nagios: Warning: Return code of 255 for check of service 'tps' on host 'ns1.devmlp.marquee.net' was out of bounds.

[[email protected] ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/Main-Root
                      295G  6.4G  273G   3% /
tmpfs                 4.3G     0  4.3G   0% /dev/shm
/dev/vda1             488M   68M  395M  15% /boot



[[email protected] ~]# df -i
Filesystem             Inodes  IUsed    IFree IUse% Mounted on
/dev/mapper/Main-Root
                     19595264 244769 19350495    2% /
tmpfs                 1125123      1  1125122    1% /dev/shm
/dev/vda1               32768     45    32723    1% /boot
Last edited by tmcdonald on Thu Sep 29, 2016 11:59 am, edited 1 time in total.
Reason: Please use [code][/code] tags around long output
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios xi graphing issue

Post by tmcdonald »

Let's get some base information before we continue:
  • What XI version is this?
  • Was it installed from source or is it a pre-built VM?
  • What OS and version?
  • Is this a physical or a virtual machine?
  • Is there any other software running on the server? PHPMyAdmin, any GUI environment, that sort of thing.
Former Nagios employee
vuduops
Posts: 81
Joined: Wed Sep 07, 2016 1:34 pm

Re: Nagios xi graphing issue

Post by vuduops »

Please find the answers to you questions below

What XI version is this?
- I have installed Nagios xi 5.2.9

Was it installed from source or is it a pre-built VM?
- No I have installed from the source

What OS and version?
[[email protected] ~]# cat /etc/redhat-release
CentOS release 6.8 (Final)
[[email protected] ~]# uname -a
Linux nagios1.devmlp.marquee.net 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug 23 19:58:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Is this a physical or a virtual machine?
- This is a centos KVM.

Is there any other software running on the server? PHPMyAdmin, any GUI environment, that sort of thing.
- No I have installed only Nagiox xi on this server.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios xi graphing issue

Post by lmiltchev »

Run the following commands and show the output in code wraps:

Code: Select all

cat /etc/my.cnf
echo "show variables like 'max_connections';" | mysql -t -uroot -pnagiosxi
echo 'show tables;' | mysql -t -uroot -pnagiosxi nagios
echo 'show tables;' | mysql -t -uroot -pnagiosxi nagiosql
echo 'show tables;' | mysql -t -uroot -pnagiosxi nagiosxi
rpm -qa | grep mysql
grep nag /etc/group
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked