Score:0

Nagios Core Disabled CFG files

cy flag
Nik

I have multiple host cfg files that we renamed to disabled with the, mv , command. We did this to take them off our dashboard view.

When we try to rename them back to regular files, and attempt to restart Nagios it generates this error message

See "systemct1 status nagios.service" and "journalct1 -xe" for details.

From what I can tell this is being caused by renaming our cfg files. Here's my problem/question.

  1. How do we re-enable cfg files without causing this error?

Edit: It is on Ubunutu version 20.04.5

Edit 2: I re-created the error, checked the logs, and found it saying HostNAME is not a valid parent for HOSTNAME. Not sure if I am including extra characters or something else at this point but working on it.

ec flag
**Welcome to the Ask Ubuntu community.** Your question as written doesn't make any reference to the Ubuntu OS. Can you please include the version of Ubuntu that you're using. Thanks
Nik avatar
cy flag
Nik
@richbl Added thank you for asking, if more information is needed I'm happy update the post.
Score:0
cy flag
Nik

I had to go to multiple host groups to enable cfg files in each one.

Once all the parent files and all related files were renamed with MV command it allowed a restart and brought the hosts back to the Nagios dashboard.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.