0 Votes

Relevance #3021439
Log In or Register to download the BES file, and more.


Relevance

 
Used in 1 fixlet   * Results in a true/false
Show indented relevance
if windows of operating system then if exists folder "C:\Program Files\SplunkUniversalForwarder" then if exists file "C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf" then not (computer name as lowercase is substring after "= " of line whose (it starts with "host = ") of file "C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf" as lowercase) else false else false else if exists folder "/opt/splunkforwarder" then if exists file "/opt/splunkforwarder/etc/system/local/inputs.conf" then not (computer name as lowercase is substring after "= " of line whose (it starts with "host = ") of file "/opt/splunkforwarder/etc/system/local/inputs.conf" as lowercase) else false else false

Property Details

ID3021439
Status
Added by
Last Modified by on 3/7/2018 6:43:59 AM
Counters 0 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Sharing

Relevance Image Sharing:

<a href='https://bigfix.me/cdb/relevance/3021439'><img src='https://bigfix.me/cdb/relevanceimage/3021439?width=400' border='0'></a>
Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
also, I prefer that relevance flow from right to left as much as possible, rather than jumping around.
jgstew -
Always use plurals, never use IF/THEN/ELSE (unless you must)
jgstew -
not exists (it as lowercase) whose(it = computer name as lowercase) of substrings after "= " of lines whose (it starts with "host = ") of (files "C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf"; files "/opt/splunkforwarder/etc/system/local/inputs.conf")