Centreon-Community / centreon-discovery

An extension to discover resources to monitor with Centreon
GNU General Public License v2.0
7 stars 19 forks source link

poller scan fails #4

Open jeffbrite opened 8 years ago

jeffbrite commented 8 years ago

When running a poller discovery from the central web interface it errors out.

Error message from the web interface is: "ERROR : Connection lost with the poller agent"

I have 2 networks that I try to scan. 1 the discovery daemon on the poller will die. The other one it seems to live, but still produces the error. The error message below are from the scan that doesn't kill the daemon. If I limit the scan range, it seems to finish, i.e. using /28 instead of /24. Not sure if it matters but the Central is on the Internet in a data center. The poller in within a lan on a private network and I have port forwarding to the poller.

The logs on the poller say

DiscoveryAgent_poller.py : STATUS_POLLER Connected by ('REDACTED', 60676) DiscoveryAgent_poller.py : SCAN_RANGEIP for 10.13.13.0/24 Send : #state#10.13.13.1#up#REDACTED'#pfSense REDACTED 2.1.4-RELEASE pfSense FreeBSD 8.3-RELEASE-p16 amd64 Send : #state#10.13.13.134#up#c4-centreon-poller#Linux c4-centreon-poller 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug 23 19:58:13 UTC 2016 x86_64 Send : #state#10.13.13.216#up#REDACTED#Linux REDACTED 2.6.18-409.el5 #1 SMP Tue Mar 15 18:13:50 EDT 2016 x8664 Send : #state#10.13.13.27#up##GS724Tv4 ProSafe 24-port Gigabit Ethernet Smart Switch, 6.3.1.4, B1.0.0.4 Send : #state#10.13.13.110#up#* TimeOut SNMP # TimeOut SNMP Send : #state#10.13.13.2#up#\ TimeOut SNMP # TimeOut SNMP Send : #state#10.13.13.152#up#\ TimeOut SNMP # TimeOut SNMP Send : #state#10.13.13.205#up#\ TimeOut SNMP # TimeOut SNMP Send : #state#10.13.13.225#up#\ TimeOut SNMP # TimeOut SNMP Send : #state#10.13.13.218#up#\ TimeOut SNMP # TimeOut SNMP Send : #state#10.13.13.6#up#\ TimeOut SNMP #_ TimeOut SNMP *

scanip#done


From the Central server's log

Central log : 2016/09/01 12:23:20

--- Call DiscoveryAgent_Central --- Scan range IP Scan the range IP 10.13.13.0 (range #17) SCAN_RANGEIP : #state#10.13.13.1#up#REDACTED#pfSense REDACTED 2.1.4-RELEASE pfSense FreeBSD 8.3-RELEASE-p16 amd64 SCAN_RANGEIP : #state#10.13.13.134#up#c4-centreon-poller#Linux c4-centreon-poller 2.6.32-642.4.2.el6.x86_64 #1 SMP Tue Aug 23 19:58:13 UTC 2016 x86_64 SCAN_RANGEIP : #state#10.13.13.216#up#REDACTED#Linux REDACTED 2.6.18-409.el5 #1 SMP Tue Mar 15 18:13:50 EDT 2016 x86_64 SCAN_RANGEIP : #state#10.13.13.27#up##GS724Tv4 ProSafe 24-port Gigabit Ethernet Smart Switch, 6.3.1.4, B1.0.0.4 SCANRANGEIP : #state#10.13.13.110#up#* TimeOut SNMP #_ TimeOut SNMP SCANRANGEIP : #state#10.13.13.2#up#* TimeOut SNMP #_ TimeOut SNMP SCANRANGEIP : #state#10.13.13.152#up#* TimeOut SNMP #_ TimeOut SNMP SCANRANGEIP : #state#10.13.13.205#up#* TimeOut SNMP #_ TimeOut SNMP Error while receiving data. Check connection of poller. END --- End DiscoveryAgent_Central ---