How does beaconing work - "BeaconHosts"

Started by tomaskir, August 16, 2014, 06:49:08 PM

Previous topic - Next topic

tomaskir

Is there any documentation anywhere for the "BeaconHosts" functionality thats configurable in "Server Configuration"?

Thanks!

Tatjana Dubrovica

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.

tomaskir

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!

Tatjana Dubrovica


tomaskir

One more quesion, what format to enter the hosts in?
Comma separated, space separated?

Thanks again!

Victor Kirhenshtein


hsvt

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 ?

Tatjana Dubrovica

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?

hsvt

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.

Tatjana Dubrovica

There is screenshot of NetXMS configuration and netxms log.

hsvt

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?

Tatjana Dubrovica

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.

hsvt

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