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!

New Case Study Shows the Value of Partnering with Splunk Academic Alliance

The University of Nevada, Las Vegas (UNLV) is another premier research institution helping to shape the next ...

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...