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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...