Dashboards & Visualizations

Send ping?

Rhuen
New Member

Hy,

how can i create a Dashboard with a Ping to a target?
I will send a ping to ~5 ip-adresses every 60 seconds.

Can i configure splunk for this? Or need an app?

thx.

Tags (2)
0 Karma

ndoshi
Splunk Employee
Splunk Employee

If you've indexed your data already and it contains URLs, IPs, or DNS names that you want to ping, you can use this ping status command add-on: http://apps.splunk.com/app/507/

Usage is in the README.txt. Then, have your dashboard refresh every 5 seconds to get the latest ping status in realtime for these machines or devices.

saurabh_tek
Communicator

@ndoshi how can we check the hosts mentioned in lookup file
pingstatus command works on extracted field - host but when i use..

|inputlookup all_networking_devices | fields host | pingstatus url as host| table host,pingdelay | sort-pingdelay | head 8

then it does not show anything as in verbose results there is nothing since hosts are in lookup file not indexed and hence no extracted 'host' field

please suggest

0 Karma

manjuase
Explorer

Hi saurabh_tek,

@saurabh_tek
Did u find the solution for this ?

i am also having all host details in lookup file only ...when i do ping status it returns nothing...

Your reply will helpful

Thanks in advance

0 Karma

saurabh_tek
Communicator

@ppablo @Drainy @Rhuen ·can u suggest something on this plz

0 Karma

Drainy
Champion

You could just write a scripted input that runs every 60 seconds and Splunk the output, then you just build your dashboard based on the expected ping detail.

http://docs.splunk.com/Documentation/Splunk/4.3/Developer/ScriptSetup

Drainy
Champion

Well, a quick google found this; http://www.cyberciti.biz/tips/simple-linux-and-unix-system-monitoring-with-ping-command-and-scripts.... You could modify this to be your scripted input. You really need to learn and understand how this all works otherwise you can't hope to support it. Also it might be worth looking into the "access denied" error

0 Karma

Rhuen
New Member

Have you or anyone a example for me?
I was try with "Pinger" it works, but when i ping a IP-Adress i see only "access denied" but a normal ping is working. I dont know why.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...