---
name: "probes::Curl.pm"
section: "3"
platform: "linux"
package: "smokeping"
version: "1.38-3"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/probes::Curl.pm"
---

# probes::Curl.pm(3)

a curl(1) probe for SmokePing

## NAME

probes::Curl - a [curl(1)](/curl/1.md) probe for SmokePing

## OVERVIEW

Fetches an HTTP or HTTPS URL using [*curl*(1)](/curl/1.md).

## SYNOPSYS

```
 *** Probes ***
 + Curl
```

```
 binary = /usr/bin/curl # default value
```

```
 *** Targets ***
```

```
 probe = Curl
 forks = 10
```

```
 menu = Top
 title = Top Menu
 remark = Top Menu Remark
```

```
 + PROBE_CONF
```

```
 + First
 menu = First
 title = First Target
 host = some.host
```

```
 # PROBE_CONF can be overridden here
 ++ PROBE_CONF
 agent = "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130"
 url = https://some.host/some/where
```

## DESCRIPTION

Supported probe-specific variables:

- binary

  The location of your curl binary.

- forks

  The number of concurrent processes to be run. See *probes::basefork*(3pm) for details.

- url

  The URL to fetch.  Can be any one that curl supports.

Supported target-level probe variables  (see [*curl*(1)](/curl/1.md) for details of the options):

- agent

  The "-A" [*curl*(1)](/curl/1.md) option.  This is a full HTTP User-Agent header including the words "User-Agent:".  It should be enclosed in quotes if it contains shell metacharacters

- ssl2

  The "-2" [*curl*(1)](/curl/1.md) option.  Force SSL2.

- timeout

  The "-m" [*curl*(1)](/curl/1.md) option.  Maximum timeout in seconds.

- interface

  The "--interface" [*curl*(1)](/curl/1.md) option.  Bind to a specific interface, IP address or host name.

## AUTHORS

Gerald Combs \<gerald \[AT\] ethereal.com\> Niko Tyni \<ntyni@iki.fi\>

## SEE ALSO

[*curl*(1)](/curl/1.md), *probes::Curl*(3pm) etc., http://curl.haxx.se/
