Ghost config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
kg2857
Posts: 490
Joined: Wed Apr 12, 2023 5:48 pm

Re: Ghost config

Post by kg2857 »

What's the error message you see when apply config is run now?

What does

ls -l /usr/local/nagios/etc/services/EQX1VWPD05*

show?

Verify there are no files in /usr/local/nagios/etc/static. I may not have the pathe right but the static dir should be around there somewhere.
matson-itops
Posts: 133
Joined: Wed Nov 18, 2015 11:19 pm

Re: Ghost config

Post by matson-itops »

we restored the server from a backup
it worked ok until we tried to make config changes,
then the similar issue with same "ghost config" came back.

can we escalate this?
matson-itops
Posts: 133
Joined: Wed Nov 18, 2015 11:19 pm

Re: Ghost config

Post by matson-itops »

Sorry, to answer

a) yes we see this under services. should we remove it.
[jlin@services]$ pwd
/usr/local/nagios/etc/services
[jlin@ services]$ ls -ltr | grep -i wpd
.
-rw-rw-r-- 1 apache nagios 5573 Feb 3 15:43 eqx1vwpd05 - WMS DB.cfg
-rw-rw-r-- 1 apache nagios 4379 Feb 3 15:43 CHNWPD02.cfg
.

b) under import we have a few files. but looks ok
[jlin@import]$ pwd
/usr/local/nagios/etc/import
[jlin@import]$ ls -al
total 16
drwxrwxr-x 2 apache nagios 75 Mar 25 13:05 .
drwxrwxr-x 8 apache nagios 4096 Mar 6 07:26 ..
-rw-rw-r-- 1 apache apache 368 Mar 25 13:05 6SQ7URsF.tmp.cfg
-rw-rw-r-- 1 apache apache 3550 Mar 25 13:05 OAKVWPA15.cfg
-rw-rw-r-- 1 apache apache 368 Mar 25 13:04 sVcuZB8R.tmp.cfg

C) we have a few very old files under static.
[jlin@orec2upm04 static]$ pwd
/usr/local/nagios/etc/static
[jlin@static]$ ls -al
total 16
drwxrwxr-x 2 apache nagios 68 Nov 8 13:50 .
drwxrwxr-x 8 apache nagios 4096 Mar 6 07:26 ..
-rw-rw-r-- 1 apache nagios 207 Oct 7 2021 xiobjects.cfg
-rw-rw-r-- 1 apache nagios 5162 Oct 7 2021 xitemplates.cfg
-rw-rw-r-- 1 apache nagios 0 Oct 7 2021 xitest.cfg
Post Reply