Page 1 of 1

what dose *.cfg~ means

Posted: Thu Feb 08, 2018 5:15 am
by grafix143
Hi,

I am new in Nagios world , i have a preinstalled Nagios and i wanted to edit a cfg file to remove a host

but i can see two files one ends with *.cfg and the second is *.cfg~ !!

and if I removed the host from the file , do i need to restart Nagios ?

Re: what dose *.cfg~ means

Posted: Thu Feb 08, 2018 10:41 am
by npolovenko
Hello, @grafix143. *.cfg~ is a temporary file. You need to edit the regular *.cfg. And yes you'd need to restart nagios after:

Code: Select all

service nagios restart

Re: what dose *.cfg~ means

Posted: Sat Feb 10, 2018 10:55 pm
by grafix143
Thank you very much i really appreciate your input @npolovenko

Re: what dose *.cfg~ means

Posted: Mon Feb 12, 2018 1:10 pm
by npolovenko
@grafix143, Not a problem. May I go ahead and lock this topic up for you?

Re: what dose *.cfg~ means

Posted: Tue Feb 13, 2018 1:19 am
by grafix143
npolovenko wrote:@grafix143, Not a problem. May I go ahead and lock this topic up for you?
yes please