Unable to see node hostname in cluster

hi , i hv setup a 3 node cluster Graylog 3.0.2 / ES 6.8 / mongodb 4.0.4 , i guess so far everything looks fine except i can’t see the hostname of each host in the GUI under System/Nodes > Nodes as per the screenshot

below is the config for graylog

Blockquote
name = svr01
is_master = true
node_id_file = /etc/graylog/server/node-id
password_secret = xxxx
root_username = madmin
root_password_sha2 = xxxxxx
elasticsearch_hosts = http://10.0.0.112:9200,http://10.0.0.113:9200,http://10.0.0.114:9200
rotation_strategy = count
elasticsearch_max_docs_per_index = 20000000
elasticsearch_max_number_of_indices = 20
retention_strategy = delete
elasticsearch_shards = 4
elasticsearch_replicas = 1
elasticsearch_index_prefix = graylog
allow_leading_wildcard_searches = true
allow_highlighting = false
elasticsearch_analyzer = standard
output_batch_size = 500
output_flush_interval = 1
output_fault_count_threshold = 5
output_fault_penalty_seconds = 30
processbuffer_processors = 5
outputbuffer_processors = 3
processor_wait_strategy = blocking
ring_size = 65536
inputbuffer_ring_size = 65536
inputbuffer_processors = 2
inputbuffer_wait_strategy = blocking
message_journal_enabled = true
message_journal_dir = /var/lib/graylog-server/journal
lb_recognition_period_seconds = 3
mongodb_uri = mongodb://10.0.0.112:27017,10.0.0.113:27017,10.0.0.114:27017/graylog?replicaSet=graylog
mongodb_max_connections = 1000
mongodb_threads_allowed_to_block_multiplier = 5
content_packs_dir = /usr/share/graylog-server/contentpacks
content_packs_auto_load = grok-patterns.json
proxied_requests_thread_pool_size = 32
http_bind_address = 10.0.0.114:9000
http_publish_uri = http://10.0.0.114:9000/

Kindly advise how to fix this issue. Thanks!

how does the system see itself? what is the first entry in /etc/hosts?

how does the shell writes the hostname?

Hi Jan
below is the hostname setting

==========================
root@svr01:~# hostname -f
svr01
root@svr01:~#
root@svr01:~# cat /etc/hosts
# hosts
127.0.0.1  svr01

10.0.0.114   svr01
10.0.0.112   blocketgl02
10.0.0.113   blocketgl03
root@svr01:~#
==========================
root@svr02:~# hostname -f
svr02
root@svr02:~#
root@svr02:~# cat /etc/hosts
# hosts
127.0.0.1  svr02

10.0.0.114   svr01
10.0.0.112   svr02
10.0.0.113   svr03
root@svr01:~#
==========================
root@svr03:~# hostname -f
svr03
root@svr03:~#
root@svr03:~# cat /etc/hosts
# hosts
127.0.0.1  svr03

10.0.0.114   svr01
10.0.0.112   svr02
10.0.0.113   svr03
root@svr03:~#
==========================

after a reboot seems OK again now , thx !
i will mark this as RESOLVED

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.