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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...