Nagios | OS: Amazon Linux | Installation issue in /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Hi Team,

I am facing challenges in configuring Nagios on Amazon Linux machine.

This command throwing in exception while executing in linux machine:
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Attaching an issue for your reference.


Nagios on Linux.

Thank you!

Welcome @navya.gupta,

obviously you have an error in you config file. Please post the output of

sed -n '420,470p' path_to_cfg_file

Or better, upload the config file, obscuring/hiding sensitive data like passwords, external IP addresses or EMail addresses.

Please don't post screenshots, they aren't copy/pastable for us. Instead, copy/paste the text from your terminal's output.