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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...