2019-08-01 13:18:57 |
Pedro Guimarães |
description |
Scenario:
Nagios deployed on top of LXD using fan-networking (Nagios host IP: 10.66.0.15 in this deployment)
Host running on OpenStack, with both fan-252 and tenant interfaces well defined
Fan-network in itself seems to be working since Nagios can ssh into host; host can ssh into Nagios with no problem.
I can see on Host's nrpe-server service:
Aug 01 13:11:33 juju-d3ac24-kubernetes-1 nrpe[9406]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:11:59 juju-d3ac24-kubernetes-1 nrpe[10866]: Host 10.66.0.15 is not allowed to talk to us!
Which means nrpe-server is not aware that Nagios is reaching out through its own host IP |
Scenario:
Nagios deployed on top of LXD using fan-networking (Nagios host IP: 10.66.0.15 in this deployment)
Host running on OpenStack, with both fan-252 and tenant interfaces well defined
Fan-network in itself seems to be working since Nagios can ssh into host; host can ssh into Nagios with no problem.
I can see on Host's nrpe-server service:
$ sudo systemctl status nagios-nrpe-server.service
● nagios-nrpe-server.service - Nagios Remote Plugin Executor
Loaded: loaded (/lib/systemd/system/nagios-nrpe-server.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-07-31 21:02:39 UTC; 16h ago
Docs: http://www.nagios.org/documentation
Main PID: 30943 (nrpe)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/nagios-nrpe-server.service
└─30943 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f
Aug 01 13:06:33 juju-d3ac24-kubernetes-1 nrpe[32611]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:06:48 juju-d3ac24-kubernetes-1 nrpe[618]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:07:50 juju-d3ac24-kubernetes-1 nrpe[2320]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:08:05 juju-d3ac24-kubernetes-1 nrpe[2356]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:09:14 juju-d3ac24-kubernetes-1 nrpe[7278]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:10:23 juju-d3ac24-kubernetes-1 nrpe[7989]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:10:58 juju-d3ac24-kubernetes-1 nrpe[8219]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:11:32 juju-d3ac24-kubernetes-1 nrpe[9389]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:11:33 juju-d3ac24-kubernetes-1 nrpe[9406]: Host 10.66.0.15 is not allowed to talk to us!
Aug 01 13:11:59 juju-d3ac24-kubernetes-1 nrpe[10866]: Host 10.66.0.15 is not allowed to talk to us!
Which means nrpe-server is not aware that Nagios is reaching out through its own host IP |
|