Getting Data In

Proper syntax for urls.conf with multiple URLs

sliderCO
Explorer

Can someone clarify the syntax for multiple urls in the urls.conf file please for the WebMon?
The app is only picking up the last url in my file. The examples show brackets around the url name/title but I saw that there were no brackets in the earlier version.

My Site 1

url = http://www.site1.com

timeout = 30

userAgent = Mozilla/4.0

My Site 2

url = http://www.site2.com

timeout = 30

userAgent = Mozilla/4.0

My Site 3

url = http://www.site3.com

timeout = 30

userAgent = Mozilla/4.0

My site 4

url = http://www.site4.com

timeout = 30

userAgent = Mozilla/4.0

Thanks!

0 Karma

dearimranz
Engager

Hi, it might be that you have found the answer but I had the same problem. I think, I solved it by making a script called "webmon_handler.py" executable which is not executable by default.

0 Karma

splunktest_ng
New Member

Hi,
Can you pl help on how to configure webmon.
I did modify urls.conf but I cant see any data coming in. should the useragent be changed?
I am using IE 9

0 Karma

sliderCO
Explorer

For example:

[Site 1 CoolSite]
url = http://www.website1.com
timeout = 30
userAgent = Mozilla/4.0
[Site 2 CoolerSite]
url = http://www.website2.com
timeout = 30
userAgent = Mozilla/4.0
0 Karma

Blu3fish
Path Finder

Out of curiosity have you, or anyone else, figured out a way of specifying multiple pages under a given subdirectory as a single definition in urls.conf?

Such that
url = http://www.website.com/a/1
...
url = http://www.website.com/a/2

could be defined as
url = http://www.website.com/a/

because that'd be handy (whitelisting filetypes would too but we may have to wait for that one).

0 Karma

sliderCO
Explorer

I got it! The brackets are required for each URL or "ping_name" as it is referred to in the app.

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...