When I tried to make changes into the file "/usr/local/nagios/etc/objects/windows.cfg" and after making restarting the service I am getting the error as nagios.service - Nagios Core 4.5.3
Loaded: loaded (/lib/systemd/system/nagios.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-07-22 05:59:18 CDT; 5min ago
Docs: https://www.nagios.org/documentation
Process: 2576445 ExecStartPre=/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg (code=exited, status=1/FAILURE)
Process: 2576446 ExecStopPost=/usr/bin/rm -f /usr/local/nagios/var/rw/nagios.cmd (code=exited, status=0/SUCCESS)
CPU: 9ms
Nagios 4.5.3 service issue
Re: Nagios 4.5.3 service issue
Hello @mandar18,
Have you tried running the following to verify your configuration?:
It sounds like your configuration may not be correct and the above command will indicate whether your configuration is correct or not in most cases.
Have you tried running the following to verify your configuration?:
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgActively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Re: Nagios 4.5.3 service issue
I found the issue, and it was resolved.
Thank you.
Thank you.