AWS - Nagios Log Server
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AWS - Nagios Log Server
I just tested this launching the below image
At 13 minutes it had restarted and was ready to use and configure through the web UI at the Public IP
You aren't launching this into a location that doesn't have Internet access are you?
You aren't launching this into a location that doesn't have Internet access are you?
You do not have the required permissions to view the files attached to this post.
Re: AWS - Nagios Log Server
scottwilkerson wrote:I just tested this launching the below image At 13 minutes it had restarted and was ready to use and configure through the web UI at the Public IP
You aren't launching this into a location that doesn't have Internet access are you?
Internet access is fine. Do I need all of those custom TCP ports added to my security group?
Re: AWS - Nagios Log Server
mneubauer wrote:scottwilkerson wrote:I just testes this launching the below image At 13 minutes it had restarted and was ready to use and configure through the web UI at the Public IP
You aren't launching this into a location that doesn't have Internet access are you?
Internet access is fine. Do I need all of those custom TCP ports added to my security group?
I tried adding the TCP ports that you have but that didn't work either. I have a t2.micro instance. Do you think that could be the problem?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AWS - Nagios Log Server
Log Server will not run on a t2.micro, for sure, I don't know if that is the only problem, but it cannot run with that little memory.mneubauer wrote:I have a t2.micro instance. Do you think that could be the problem?
Re: AWS - Nagios Log Server
scottwilkerson wrote:Log Server will not run on a t2.micro, for sure, I don't know if that is the only problem, but it cannot run with that little memory.mneubauer wrote:I have a t2.micro instance. Do you think that could be the problem?
I built a brand new instance using a t3.medium which meets the min specs and I'm still getting the error - Unit httpd.service could not be found.
Is there anything else that I can check on?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AWS - Nagios Log Server
Can you show the output of the following
Code: Select all
grep rc.local /var/log/messagesRe: AWS - Nagios Log Server
scottwilkerson wrote:Can you show the output of the following
Code: Select all
grep rc.local /var/log/messages
Yep here it is.Thanks
[centos@ip-172-31-1-158 ~]$ sudo grep rc.local /var/log/messages
Jun 17 14:08:51 ip-172-31-1-158 systemd: Starting /etc/rc.d/rc.local Compatibili ty...
Jun 17 14:08:51 ip-172-31-1-158 rc.local: % Total % Received % Xferd Average Speed Time Time Time Current
Jun 17 14:08:51 ip-172-31-1-158 rc.local: Dload Upload Total Spent Left Speed
Jun 17 14:10:58 ip-172-31-1-158 rc.local: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:12 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:13 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:14 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:15 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:16 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:17 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:18 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:19 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:20 --:--:-- 0#0 15 0 0 0 0 0 0 0 0 --:--:-- 0:00:21 --:--:-- 0 #015 0 0 0 0 0 0 0 0 --:--:-- 0:00:22 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:23 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:24 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:25 --:--: -- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:26 --:- -:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:27 -- :--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:28 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:2 9 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00 :30 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0: 00:31 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:32 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:33 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--: -- 0:00:34 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:- -:-- 0:00:35 --:--:-- 0#015 0 0 0 0 0 0 0 0 -- :--:-- 0:00:36 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:37 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:38 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:39 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:40 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:41 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:42 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:43 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:44 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:45 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:46 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:47 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:48 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:49 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:50 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:51 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:52 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:53 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:54 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:55 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:56 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:57 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:58 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:00:59 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:00 --:--:-- 0#0 15 0 0 0 0 0 0 0 0 --:--:-- 0:01:01 --:--:-- 0 #015 0 0 0 0 0 0 0 0 --:--:-- 0:01:02 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:03 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:04 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:05 --:--: -- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:06 --:- -:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:07 -- :--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:08 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:0 9 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01 :10 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0: 01:11 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:12 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:13 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--: -- 0:01:14 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:- -:-- 0:01:15 --:--:-- 0#015 0 0 0 0 0 0 0 0 -- :--:-- 0:01:16 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:17 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:18 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:19 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:20 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:21 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:22 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:23 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:24 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:25 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:26 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:27 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:28 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:29 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:30 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:31 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:32 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:33 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:34 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:35 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:36 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:01:37 --:--:-- 0#015 0 0 0 0 0 0 0 0 --:--:-- 0:0
Jun 17 14:10:58 ip-172-31-1-158 systemd: Started /etc/rc.d/rc.local Compatibility.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AWS - Nagios Log Server
something doesn't seem correct as this should have launched a much larger process
Can you run the following
Can you run the following
Code: Select all
sudo su
curl https://assets.nagios.com/downloads/nagiosxi/installNagiosXIvm_el7_ami.sh | shRe: AWS - Nagios Log Server
scottwilkerson wrote:something doesn't seem correct as this should have launched a much larger process
Can you run the followingCode: Select all
sudo su curl https://assets.nagios.com/downloads/nagiosxi/installNagiosXIvm_el7_ami.sh | sh
[root@ip-172-31-1-158 centos]# curl https://assets.nagios.com/downloads/nag ... el7_ami.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:07 --:--:-- 0curl: (7) Failed to connect to 2600
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: AWS - Nagios Log Server
Somehow you must be launching this in an environment or selecting a VPC with special routing that has IPv6 enabled but cannot route to the address provided by DNS.
One possible workaround for this host would be to run the following:
but I suspect you are going to hit other barriers for the same issue as the install progresses
One possible workaround for this host would be to run the following:
Code: Select all
echo "72.14.181.71 assets.nagios.com" >> /etc/hosts