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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...