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!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...