All Apps and Add-ons

Splunk for Asset Discovery: Is my configuration to ping the entire network of the company correct?

jmallorquin
Builder

Hi,
I would like to ping all the net of the company and i am using this configuration at the end of the scrip nmap.sh 192.168.0.0/16
Its mean that i want to ping from 192.168.1.1 to 192.168.255.255
Can anybody tell me if this is correct?

Thanks,

0 Karma
1 Solution

jmallorquin
Builder

Hi,

Finally it works when i configure theses stanzas, one for each segment.

[script:///opt/splunk/etc/apps/asset_discovery/bin/nmap.sh -v -R -sP -PE 192.168.1.0/24]
disabled = false
index = asset_discovery
interval = 900
source = nmap
sourcetype = ping_scan

[script:///opt/splunk/etc/apps/asset_discovery/bin/nmap.sh -v -R -sP -PE 192.168.2.0/24]
disabled = false
index = asset_discovery
interval = 900
source = nmap
sourcetype = ping_scan

View solution in original post

jmallorquin
Builder

Hi,

Finally it works when i configure theses stanzas, one for each segment.

[script:///opt/splunk/etc/apps/asset_discovery/bin/nmap.sh -v -R -sP -PE 192.168.1.0/24]
disabled = false
index = asset_discovery
interval = 900
source = nmap
sourcetype = ping_scan

[script:///opt/splunk/etc/apps/asset_discovery/bin/nmap.sh -v -R -sP -PE 192.168.2.0/24]
disabled = false
index = asset_discovery
interval = 900
source = nmap
sourcetype = ping_scan

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...