Code: Select all
rm -f /usr/local/nagios/etc/hosts/*.*
rm -f /usr/local/nagios/etc/services/*.*Code: Select all
rm -f /usr/local/nagios/etc/hosts/*.*
rm -f /usr/local/nagios/etc/services/*.*I already tried. still there.Box293 wrote:Open an ssh session to nagios XI and execute these commands:Go into CCMCode: Select all
rm -f /usr/local/nagios/etc/hosts/*.* rm -f /usr/local/nagios/etc/services/*.*
Quick Tools > Apply Configuration
Click the Apply Configuration button
Are they gone now?
Code: Select all
cd /usr/local/nagiosxi/scripts/
./reconfigure_nagios.shCode: Select all
Running pre-flight check on configuration data...
Checking objects...
Checked 555 services.
Checked 45 hosts.
Checked 8 host groups.
Checked 2 service groups.
Checked 15 contacts.
Checked 4 contact groups.
Checked 148 commands.
Checked 18 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 45 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 18 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...done.
Stopping nagios: .done.
Starting nagios: done.
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_permsCode: Select all
/usr/local/nagiosxi/scripts/reset_config_permsCode: Select all
BTW, you don't have any configs in the "static" directory, do you?Code: Select all
[root@nagios01 static]# pwd
/usr/local/nagios/etc/static
[root@nagios01 static]# ls
xiobjects.cfg xitemplates.cfg xitest.cfg
[root@nagios01 static]#
Code: Select all
If the issue is still present after performing the above steps, I would recommend opening a new email ticket in our system by emailing us your profile to [email protected].Yes, this does require a maintenance/support "license".phyo wrote:This need the maintenance license. Right? currently we don't have the maintenance license.
Code: Select all
grep query /var/log/messages | tailCode: Select all
tail -10 /var/log/mysqlCode: Select all
[root@nagios01 /]# grep query /var/log/messages | tail
Mar 2 16:06:22 nagios01 nagios: qh: core query handler registered
Mar 2 16:06:22 nagios01 nagios: wproc: Successfully registered manager as @wproc with query handler
Mar 2 17:56:01 nagios01 nagios: qh: core query handler registered
Mar 2 17:56:01 nagios01 nagios: wproc: Successfully registered manager as @wproc with query handler
Mar 2 17:56:45 nagios01 nagios: qh: core query handler registered
Mar 2 17:56:45 nagios01 nagios: wproc: Successfully registered manager as @wproc with query handler
Mar 2 23:46:58 nagios01 nagios: qh: core query handler registered
Mar 2 23:46:58 nagios01 nagios: wproc: Successfully registered manager as @wproc with query handler
Mar 2 23:48:17 nagios01 nagios: qh: core query handler registered
Mar 2 23:48:17 nagios01 nagios: wproc: Successfully registered manager as @wproc with query handler
[root@nagios01 /]#Code: Select all
[root@nagios01 /]# tail -10 /var/log/mysql
tail: cannot open `/var/log/mysql' for reading: No such file or directory
[root@nagios01 /]#
Code: Select all
tail -10 /var/log/mysqld.log