소스 검색

use hostname instead of fqdn

raylu 11 년 전
부모
커밋
c041d9dfd8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client/sysvitals_client

+ 1 - 1
client/sysvitals_client

@@ -75,7 +75,7 @@ def configure():
 
 	print 'checking existing servers'
 	servers = __query(group_id, 'servers', api_key)
-	our_hostname = socket.getfqdn()
+	our_hostname = socket.gethostname()
 	server_id = None
 	matches = 0
 	for server in servers: