Page 1 of 1

problem in ADDING EC2 HOST

Posted: Wed May 31, 2017 5:55 am
by abhi321jay
HII team, i"m trying add new AWS HOST, with the command which is running from COMMAND LINE .

Please look into this I"M attaching all the snapshot.

Re: problem in ADDING EC2 HOST

Posted: Wed May 31, 2017 8:12 am
by abhi321jay
Hi team got it resolved but still not being able to apply configuration

Re: problem in ADDING EC2 HOST

Posted: Wed May 31, 2017 8:17 am
by mcapra
I'm guessing the first problem related to the permissions on the /root/Downloads/ec2_credentials.cfg file?

For the "Apply Configuration" issue, double check that your Host has all the required variables set. It looks like max_check_attempts is missing. You can refer to Page 4 of this document for what i'm referring to:
https://assets.nagios.com/downloads/nag ... gement.pdf

The check interval, retry interval, and max check attempts are all required. You can inherit them from a template, but they need to be represented in one way or another.

Re: problem in ADDING EC2 HOST

Posted: Wed May 31, 2017 12:48 pm
by tgriep
Thanks @mcapra for the help.
@abhi321jay if you sill have any questions about this, let us know.

Re: problem in ADDING EC2 HOST

Posted: Sat Jun 03, 2017 3:21 am
by abhi321jay
yeah you are right .. got it resolved thanks.

Re: problem in ADDING EC2 HOST

Posted: Mon Jun 05, 2017 10:32 am
by avandemore
Thanks for using the Nagios forums. Please open a new thread for any further issues.