what dose *.cfg~ means

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

what dose *.cfg~ means

Postby grafix143 » Thu Feb 08, 2018 5:15 am

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 ?
grafix143
 
Posts: 4
Joined: Thu Feb 08, 2018 4:38 am

Re: what dose *.cfg~ means

Postby npolovenko » Thu Feb 08, 2018 10:41 am

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
User avatar
npolovenko
Support Tech
 
Posts: 1290
Joined: Mon May 15, 2017 5:00 pm

Re: what dose *.cfg~ means

Postby grafix143 » Sat Feb 10, 2018 10:55 pm

Thank you very much i really appreciate your input @npolovenko
grafix143
 
Posts: 4
Joined: Thu Feb 08, 2018 4:38 am

Re: what dose *.cfg~ means

Postby npolovenko » Mon Feb 12, 2018 1:10 pm

@grafix143, Not a problem. May I go ahead and lock this topic up for you?
User avatar
npolovenko
Support Tech
 
Posts: 1290
Joined: Mon May 15, 2017 5:00 pm

Re: what dose *.cfg~ means

Postby grafix143 » Tue Feb 13, 2018 1:19 am

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


yes please
grafix143
 
Posts: 4
Joined: Thu Feb 08, 2018 4:38 am


Return to Nagios Core

Who is online

Users browsing this forum: REFan and 49 guests