[Reload] Job for nagios.service invalid
-
- Posts: 11
- Joined: Fri Oct 19, 2018 10:16 am
Re: [Reload] Job for nagios.service invalid
Here you go, had to rename the file from "nagios" to "nagios.txt" since the attachment function doesn't like it not having an extension.
- Attachments
-
- nagios.txt
- (8.05 KiB) Downloaded 199 times
Re: [Reload] Job for nagios.service invalid
The nagios.lock file location in the /etc/init.d/nagios file
is not the same location from the /usr/local/nagios/etc/nagios.cfg file.
Make sure that the nagios.lock file in both of the config files are the same and that the nagios user can create the files in that folder.
Then kill off all of the nagios processes if there are any running and see if the scripts runs after that.
Code: Select all
NagiosRunFile=/run/nagios.lock
Code: Select all
lock_file=/usr/local/nagios/var/nagios.lock
Make sure that the nagios.lock file in both of the config files are the same and that the nagios user can create the files in that folder.
Then kill off all of the nagios processes if there are any running and see if the scripts runs after that.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 11
- Joined: Fri Oct 19, 2018 10:16 am
Re: [Reload] Job for nagios.service invalid
That did it, thank you so much for all your help!
Re: [Reload] Job for nagios.service invalid
Your welcome. Glad to help. I'l lock the post for you but feel free to open a new one in the future if needed.
Be sure to check out our Knowledgebase for helpful articles and solutions!