Page 1 of 1
E-Mail Settings and Public Internet
Posted: Sun Apr 07, 2019 3:48 pm
by spatchE
I am not able to send a test email notification using the same SMTP settings as I use for all other solutions in my environment. I did notice that I am able to ping my gateway/dns by both IP and DNS names however I am NOT able to even ping 8.8.8.8
Re: E-Mail Settings and Public Internet
Posted: Mon Apr 08, 2019 12:47 pm
by tgriep
It sounds like either the default route was not setup on the Nagios server or that there is another device on the other side of the gateway is blocking internet access.
If you run the route command as root on the Nagios server it should print out how the routes are setup on the server. See below for an example.
Code: Select all
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
link-local * 255.255.0.0 U 1002 0 0 eth0
192.168.0.0 * 255.255.0.0 U 0 0 0 eth0
default gateway.nagios. 0.0.0.0 UG 0 0 0 eth0
You should have a default route setup so the Nagios server knows where to send the traffic to when the server is not on the local network.
If there is a valid route setup, then you may be blocked by another device and you will have to talk to your network admin for help on that.