NetXMS Support Forum

English Support => General Support => Topic started by: tomaskir on August 16, 2014, 06:49:08 PM

Title: How does beaconing work - "BeaconHosts"
Post by: tomaskir on August 16, 2014, 06:49:08 PM
Is there any documentation anywhere for the "BeaconHosts" functionality thats configurable in "Server Configuration"?

Thanks!
Title: Re: How does beaconing work - "BeaconHosts"
Post by: Tatjana Dubrovica on August 18, 2014, 07:43:04 PM
There is no documentation bout it.

Short description:
It is coma-separated list of hosts, that are pinged by NetXMS server and if none of the hosts have responded, server considers that connection with network is lost and generates specific event.
Title: Re: How does beaconing work - "BeaconHosts"
Post by: tomaskir on August 18, 2014, 07:46:25 PM
That is exactly what I wanted to know, thank you.

Just for completeness:
If none of the hosts on the list respond, network is considered down.
If atleast one of the hosts on the list responds again, network is considered up.

Is this correct?

Thanks!
Title: Re: How does beaconing work - "BeaconHosts"
Post by: Tatjana Dubrovica on August 18, 2014, 07:56:51 PM
Yes
Title: Re: How does beaconing work - "BeaconHosts"
Post by: tomaskir on August 20, 2014, 07:37:49 PM
One more quesion, what format to enter the hosts in?
Comma separated, space separated?

Thanks again!
Title: Re: How does beaconing work - "BeaconHosts"
Post by: Victor Kirhenshtein on August 20, 2014, 08:33:11 PM
Comma separated.

Best regards,
Victor
Title: Re: How does beaconing work - "BeaconHosts"
Post by: hsvt on June 23, 2016, 02:05:24 AM
Comma-separated list of hosts to be used as beacons for checking NetXMS server network connectivity. Either DNS names or IP addresses can be used. This list is pinged by NetXMS server and if none of the hosts have responded, server considers that connection with network is lost and generates specific event.

[23-Jun-2016 02:02:32.492] [WARN ] Invalid beacon host name or address google.com - host will be excluded from beacon list

google.com,8.8.8.8

What's wrong ?
Title: Re: How does beaconing work - "BeaconHosts"
Post by: Tatjana Dubrovica on June 25, 2016, 05:41:21 PM
Everything works for me with latest server(from development branch):
[25-Jun-2016 17:37:04.267] [DEBUG] Beacon host 195.13.231.157 added
[25-Jun-2016 17:37:04.267] [DEBUG] Beacon host 8.8.8.8 added
[25-Jun-2016 17:37:04.267] [DEBUG] Beacon poller thread started

Host configuration: "google.com,8.8.8.8"

What version do you use? May it happen that there were some DNS problems?
Title: Re: How does beaconing work - "BeaconHosts"
Post by: hsvt on June 27, 2016, 11:24:42 AM
Quote from: Tatjana Dubrovica on June 25, 2016, 05:41:21 PM
Everything works for me with latest server(from development branch):
[25-Jun-2016 17:37:04.267] [DEBUG] Beacon host 195.13.231.157 added
[25-Jun-2016 17:37:04.267] [DEBUG] Beacon host 8.8.8.8 added
[25-Jun-2016 17:37:04.267] [DEBUG] Beacon poller thread started

Host configuration: "google.com,8.8.8.8"

What version do you use? May it happen that there were some DNS problems?

Can you send a screenshot of the example of his record?

Last version 2.0.4, No, the DNS is all right, there are two servers.
Title: Re: How does beaconing work - "BeaconHosts"
Post by: Tatjana Dubrovica on June 27, 2016, 01:41:57 PM
There is screenshot of NetXMS configuration and netxms log.
Title: Re: How does beaconing work - "BeaconHosts"
Post by: hsvt on June 27, 2016, 02:14:54 PM
I unfortunately can not be so.

http://prntscr.com/blmr2t

Maybe in the new version 2.1 will work.

And what a special event should be generated when triggered?
Title: Re: How does beaconing work - "BeaconHosts"
Post by: Tatjana Dubrovica on June 27, 2016, 03:09:30 PM
There was no changes connected with beacon between this versions.

What is result of resolving DNS google.com from NetXMS server computer? Host may be not accepted if its IP is a wildcard address or a loopback address or a multicast address or a broadcast address or a link local address or if NetXMS server failed to resolve DNS.

Events that are generated: SYS_NETWORK_CONN_LOST and SYS_NETWORK_CONN_RESTORED.
Title: Re: How does beaconing work - "BeaconHosts"
Post by: hsvt on June 27, 2016, 07:31:25 PM
Quote from: Tatjana Dubrovica on June 27, 2016, 03:09:30 PM
There was no changes connected with beacon between this versions.

What is result of resolving DNS google.com from NetXMS server computer? Host may be not accepted if its IP is a wildcard address or a loopback address or a multicast address or a broadcast address or a link local address or if NetXMS server failed to resolve DNS.

Events that are generated: SYS_NETWORK_CONN_LOST and SYS_NETWORK_CONN_RESTORED.

nslookup google.com
Server:         x.x.x.x
Address:        x.x.x.x#53

Non-authoritative answer:
Name:   google.com
Address: 212.1.249.39
Name:   google.com
Address: 212.1.249.34
Name:   google.com
Address: 212.1.249.30
Name:   google.com
Address: 212.1.249.40
Name:   google.com
Address: 212.1.249.54
Name:   google.com
Address: 212.1.249.29
Name:   google.com
Address: 212.1.249.35
Name:   google.com
Address: 212.1.249.20
Name:   google.com
Address: 212.1.249.25
Name:   google.com
Address: 212.1.249.59
Name:   google.com
Address: 212.1.249.50
Name:   google.com
Address: 212.1.249.55
Name:   google.com
Address: 212.1.249.44
Name:   google.com
Address: 212.1.249.49
Name:   google.com
Address: 212.1.249.24
Name:   google.com
Address: 212.1.249.45