what dose *.cfg~ means

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
grafix143
Posts: 6
Joined: Thu Feb 08, 2018 4:38 am

what dose *.cfg~ means

Post 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 ?
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: what dose *.cfg~ means

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
grafix143
Posts: 6
Joined: Thu Feb 08, 2018 4:38 am

Re: what dose *.cfg~ means

Post by grafix143 »

Thank you very much i really appreciate your input @npolovenko
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: what dose *.cfg~ means

Post by npolovenko »

@grafix143, Not a problem. May I go ahead and lock this topic up for you?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
grafix143
Posts: 6
Joined: Thu Feb 08, 2018 4:38 am

Re: what dose *.cfg~ means

Post by grafix143 »

npolovenko wrote:@grafix143, Not a problem. May I go ahead and lock this topic up for you?
yes please
Locked