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.
Ghost config
-
matson-itops
- Posts: 133
- Joined: Wed Nov 18, 2015 11:19 pm
Re: Ghost config
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?
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
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
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