Comments (1)
Hello :)
If I understand correctly the request should have been :
======> request send
GET https://toto.my.domain.com/WSWebClient/Default.aspx
User-Agent: centreon::plugins::backend::http::useragent
======> response done
and this would have been a functional request in your case?
From what I found the --http-peer-addr
option is involved in two calls during plugin initialization:
First at line 47 when calling lwp mode, the option is checked line 188 and then in http plugin at line 54 when calling curl mode, the option is checked line 350 :
if (defined($options{request}->{http_peer_addr}) && $options{request}->{http_peer_addr} ne '') {
$url =~ /^(?:http|https):\/\/(.*?)(\/|\:|$)/;
$self->{curl_easy}->setopt(
$self->{constant_cb}->(name => 'CURLOPT_RESOLVE'),
[$1 . ':' . $options{request}->{port_force} . ':' . $options{request}->{http_peer_addr}]
);
}
in your case the url won't match I think the "http" or "https" is missing in the option (maybe we should add something about it in the option help). Could you test with "http//toto.my.domain.com" or "https//toto.my.domain.com" in the option --http-peer-addr
?
from centreon-plugins.
Related Issues (20)
- Monitoring Power Levels of Interfaces (Rx and Tx values in Dbm) HOT 1
- [apps::protocols::http::plugin] Header line too long HOT 1
- Bug in the AIX SNMP plugin HOT 2
- [Applications-Ibmmq-Mqi] Channel Error HOT 1
- [apps::backup::veeam::vbem::restapi::plugin] --mode=jobs: option --unit is not working HOT 2
- [hardware::server::hp::ilo::xmlapi::plugin] multiple calls to the "--warning" option in "hardware" mode HOT 7
- [database::influxdb::plugin] Is InfluxDB v2 supported? HOT 7
- [network::dlink::standard::snmp::plugin] mode "interfaces" and incorrect perfdata values ββfor discard packets HOT 3
- [network::cisco::meraki::cloudcontroller::restapi::plugin] - Cache not found HOT 1
- apps::eclipse::mosquitto::mqtt::plugin --list-mode: syntax error HOT 2
- apps::monitoring::speedtest::plugin --mode=internet-bandwidth: UNKNOWN: Cannot decode response HOT 1
- Mosquitto plugin string-value Regex not works HOT 1
- APC UPS SNMP HOT 1
- RHEL 8: perl-Paws 0.46 - rpm upgrade not working, missing dependency HOT 1
- Source missing for archi.png HOT 4
- Teams notification: will not work using workflow HOT 8
- os::as400::connector::plugin --mode=message-queue: ignore acknowledge messages HOT 3
- [storage::ibm::storwize::ssh::plugin] --mode=components: hyperswap discs are recognized offline HOT 2
- [apps::proxmox::ve::restapi] UNKNOWN: 400 Parameter verification failed. HOT 1
- Centreon Plugin Veeam Mode Vsb-Jobs not working with Veeam 12.1.2.172 cmdlet not supported anymore HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from centreon-plugins.