Page 2 of 2
Re: Ghost config
Posted: Fri Mar 21, 2025 8:16 pm
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.
Re: Ghost config
Posted: Tue Mar 25, 2025 4:59 pm
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?
Re: Ghost config
Posted: Tue Mar 25, 2025 5:07 pm
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