Deployment Architecture

proper location for phoneHomeIntervalInSecs

vhaisddellaj
New Member

We are just now beginning to deploy the splunkforwarder for linux in our Large organization

We are running the agent as s systemd service

the file  /opt/splunkforwarder/etc/apps/<redacted>/local/deploymentclient.conf

has these settings

[deployment-client]
clientName =<redacted>

[target-broker:depolymentServer]
targetUri = splunkuf-<redacted>:8089
#
# The splunk UF will phone home every 14400 sec = 4hrs
# 300sec=5min 900sec=15min
phoneHomeIntervalInSecs = 900

 

On RedHat 8 .4 systems there are no issues when I run systemctl status SplunkForwarder -l

but on RedHat 7.9 i get the following

Splunk> Australian for grep.
Checking prerequisites...
Management port has been set disabled; cli support for this configuration is currently incomplete.
Invalid key in stanza [target-broker:depolymentServer] in /opt/splunkforwarder/etc/apps/<redacted>local/deploymentclient.conf, line 12: phoneHomeIntervalInSecs (value: 900).

Your indexes and inputs configurations are not internally consistent. For more information, run 'splunk btool check --debug'
Checking conf files for problems...
Done
Checking default conf files for edits...

if I move the  phoneHomeIntervalInSecs  entry to under the [deployment-client] I don't get the error

[deployment-client]
clientName =<redacted>

phoneHomeIntervalInSecs = 900

[target-broker:depolymentServer]
targetUri = splunkuf-<redacted>:8089
#
# The splunk UF will phone home every 14400 sec = 4hrs
# 300sec=5min 900sec=15min
# phoneHomeIntervalInSecs = 900

 

Please advise on the correct location for this setting

 

Thanks

 

Labels (1)
0 Karma

ldongradi_splun
Splunk Employee
Splunk Employee

Just to be sure ... you would have noticed the typo in stanza [target-broker:deploymentServer] that you wrote [target-broker:depolymentServer] instead ?

If the typo exist and exactly the same on both OS, consider it is being ignored on RedHat 8.4 for some reason, while RedHad 7.9 does not accept the error.

Anyway, as mentioned the correct location for  phoneHomeIntervalInSecs is in [deployment-client].

0 Karma

vhaisddellaj
New Member

Thanks

I will notify the splunk admin who deploys the apps to make the corrections for both RHEL 8 and RHEL 7 and to also fix the typo in the stanza

 

thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

According to the Admin manual, the phoneHomeIntervalInSecs setting goes in the [deployment-client] stanza.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...