Refine your search:

Hi. I'm using a Deployment Server to push configurations to a Splunk Universal Forwarder that is running Windows. For the most part, it is working just fine, thanx. ;-)

But... In my deploymentclient.conf, I have a line that says...

phoneHomeIntervalInSecs = 120

And, when I issue the below command on the Deployment Client, it echoes that above setting exactly.

splunk cmd btool deploymentclient list

However, a packet capture shows that the Deployment Client is opening up a TCP connection with the Deployment Server, on the management port, every 60 seconds.

Any ideas why???

Thx, Michael

asked 03 Oct '11, 17:54

mfeeny1's gravatar image

mfeeny1
139110
accept rate: 0%


3 Answers:

is that setting under a [deployment-client] stanza?

link

answered 03 Oct '11, 18:44

gkanapathy's gravatar image

gkanapathy ♦
32.3k4827
accept rate: 41%

Well, it is NOW!! (But, it wasn't before ;-)

And the Distributed Deployment Manual clearly shows it as being an attribute belonging to the [deployment-client] stanza, so I have no one to blame but myself for that one.

BUT... Putting the attribute in the correct stanza didn't seem to fix it! Here is what I just did...

I modified "deploymentclient.conf" in the appropriate app directory on the Deployment Server, and "reloaded" the Deployment Server for the appropriate Class, which resulted in that new, correctly configured deploymentclient.conf to get pushed to the Deploy Client. As evidence that the new setting did get deployed, I crack open deploymentclient.conf in the appropriate apps directory of the Deploy Client, and I see the edit is in there, and, now when I execute the btool list command, the phoneHome setting is shown to be in the [deployment-client] stanza - which was not the case before.

Yet... a packet capture still shows what I believe is the phonehome call being made every 60 seconds. I say that because it uses the management port, and it is going to the Deployment Server's IP Address.

Thx for pointing out my original mistake, but could you help me find what I'm doing wrong NOW???

:-)

(03 Oct '11, 19:23) mfeeny1

uh, well, you can enable DeploymentServer and DeploymentClient debugging in the splunkd.log to help figure it out, instead of just sniffer. At the CLI, run ./splunk _internal call /server/logger/DeploymentServer -post:level DEBUG on the server, and appropriately on the forwarder.

(03 Oct '11, 19:48) gkanapathy ♦

You may have found a known bug. Check out the following post and see if this workaround works for you:

Deployment client's phoneHomeIntervalInSecs setting is not being honored according to splunkd_access.log on Splunk Answers

link

answered 07 Oct '11, 07:33

Lowell's gravatar image

Lowell ♦
11.1k81289
accept rate: 41%

gkanapathy and Lowell,

Sorry for the delay - got tied up in other stuff... But, the good news is...

The workaround referenced by Lowell (above) DID THE TRICK. i placed the "phoneHomeIntervalInsecs" attribute/value in BOTH stanza's ([deployment-client] AND [target-broker:deploymentServer]), and my value is now being honored.

THX!

Michael

link

answered 10 Oct '11, 15:58

mfeeny1's gravatar image

mfeeny1
139110
accept rate: 0%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×32
×1

Asked: 03 Oct '11, 17:54

Seen: 570 times

Last updated: 10 Oct '11, 15:58

Copyright © 2005-2012 Splunk Inc. All rights reserved.