Getting Data In

What is the best way to monitor webservice is up or down?

indeed_2000
Motivator

Hi

i have several web servers that work on same host (different port) or different host.

the best to say that they are work are use curl command, like below

curl -s http://192.168.1.1:8000 | grep login

Now question is is there any way to monitor these services without pain in splunk? Any add on(like nmon)?

or should writ script to create logfile like below then index it on splunk?

TIMESTAMP service 1, up

TIMESTAMP service 2, down

 

any idea?

 Thanks 

Tags (3)
0 Karma

ehudb
Contributor

Maybe you want to check "Website Monitoring app"
https://splunkbase.splunk.com/app/1493/

 

0 Karma

indeed_2000
Motivator

@ehudb the add-on that you mentioned work based on resp code, and resp time.

as I mentioned the best way in this case use curl command, because even resp code is 200 webserver could have issue to show login page. And resp time not important in this case.

 

any other idea?

 Thanks 

0 Karma
Get Updates on the Splunk Community!

Tips & Tricks When Using Ingest Actions

Tune in to learn about:Large scale architecture when using Ingest ActionsRegEx performance considerations ...

Announcing Our Splunk MVPs

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

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...