Author Topic: How does beaconing work - "BeaconHosts"  (Read 4451 times)

tomaskir

  • Sr. Member
  • ****
  • Posts: 441
  • https://unimus.net
    • View Profile
How does beaconing work - "BeaconHosts"
« on: August 16, 2014, 06:49:08 pm »
Is there any documentation anywhere for the "BeaconHosts" functionality thats configurable in "Server Configuration"?

Thanks!

Tatjana Dubrovica

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 268
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #1 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.

tomaskir

  • Sr. Member
  • ****
  • Posts: 441
  • https://unimus.net
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #2 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!

Tatjana Dubrovica

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 268
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #3 on: August 18, 2014, 07:56:51 pm »
Yes

tomaskir

  • Sr. Member
  • ****
  • Posts: 441
  • https://unimus.net
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #4 on: August 20, 2014, 07:37:49 pm »
One more quesion, what format to enter the hosts in?
Comma separated, space separated?

Thanks again!

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 7037
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #5 on: August 20, 2014, 08:33:11 pm »
Comma separated.

Best regards,
Victor

hsvt

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #6 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.

Code: [Select]
[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

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 268
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #7 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?

hsvt

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #8 on: June 27, 2016, 11:24:42 am »
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

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 268
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #9 on: June 27, 2016, 01:41:57 pm »
There is screenshot of NetXMS configuration and netxms log.

hsvt

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #10 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?

Tatjana Dubrovica

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 268
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #11 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.

hsvt

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: How does beaconing work - "BeaconHosts"
« Reply #12 on: June 27, 2016, 07:31:25 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.

Code: [Select]
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