Refine your search:

1
1

Hello

I'm looking to set something up that calls a bunch of http webpages that run on some of our boxes that need a username & password and logs a couple of things

  • Whether the page is pingable
  • Grabs the page content and then i can parse it into Splunk

I'm not really sure where to start with this, I guess it needs some kind of script. I was just wondering if anyone had written anything similar that could help me or has any ideas that could just guide me into where to start with this?

I don't really know much perl or python but I'm getting I'll need something like this to do this?

Thanks Hazel

asked 03 May '11, 12:04

Hazel's gravatar image

Hazel
2671118
accept rate: 75%

edited 03 May '11, 12:04


One Answer:

Hi Hazel

I would do this with a script which calls 'wget' or 'lynx -d' then you get a dump of the webpage, which could be read by splunk or if the page is down (not pingable) your script can error out something which is also read by splunk.

regards

link

answered 05 May '11, 02:28

MuS's gravatar image

MuS
2.1k27
accept rate: 20%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×89

Asked: 03 May '11, 12:04

Seen: 1,056 times

Last updated: 05 May '11, 02:28

Copyright © 2005-2012 Splunk, Inc. All rights reserved.