Announcement
Collapse
No announcement yet.
[résolu]service http --> CRITICAL ?
Collapse
X
-
Ok, c'est fait... Merci de votre aideOn marque comment que le post est resolu ?
Leave a comment:
-
et quand il y a dans la commande check par exemple
$USER1$/check_http -H $HOSTADDRESS$ -s $ARG1$ -v
et que je ne veux pas qu'il recherche de string, je fais comment ? Je suis obligé de modifier la commande ?
Merci.
Leave a comment:
-
bah alors c'est bon...
A toi de voir apres ce que tu veux checker....
y a plein d'options..
Options:
-H, --hostname=ADDRESS
Host name argument for servers using host headers (virtual host)
-I, --IP-address=ADDRESS
IP address or name (use numeric address if possible to bypass DNS lookup).
-e, --expect=STRING
String to expect in first (status) line of server response (default: HTTP/1.)
If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)
-s, --string=STRING
String to expect in the content
-u, --url=PATH
URL to GET or POST (default: /)
-p, --port=INTEGER
Port number (default: 80)
-P, --post=STRING
URL encoded http POST data
-w, --warning=INTEGER
Response time to result in warning status (seconds)
-c, --critical=INTEGER
Response time to result in critical status (seconds)
-t, --timeout=INTEGER
Seconds before connection times out (default: 10)
-a, --authorization=AUTH_PAIR
Usernameassword on sites with basic authentication
-L, --link=URL
Wrap output in HTML link (obsoleted by urlize)
-f, --onredirect=<ok|warning|critical|follow>
How to handle redirected pages
-S, --ssl
Connect via SSL
-C, --certificate=INTEGER
Minimum number of days a certificate has to be valid.
(when this option is used the url is not checked.)
-l, --linespan
Allow regex to span newlines (must precede -r or -R)
-r, --regex, --ereg=STRING
Search page for regex STRING
-R, --eregi=STRING
Search page for case-insensitive regex STRING
-v, --verbose
Show details for command-line debugging (do not use with nagios server)
-h, --help
Print detailed help screen
-V, --version
Print version information
Leave a comment:
-
je viens d'essayer manuellement
./check_http -I 192.168.195.208
et j'obtiens
HTTP OK ...
Leave a comment:
-
En fait je veux juste vérifier si mon serveur web tourne bien... Je dois procéder comment alors ?
Merci.
Leave a comment:
-
Bonjour,
CRITICAL - string not found
Leave a comment:
-
en le lançant a la main il marche pas ? C'est koi l'output ? ton serveur nagios a acces au serveur http du serveur distant... ?
Leave a comment:
-
j'oubliais, dans information, il a marqué
CRITICAL - string not found
Leave a comment:
-
[résolu]service http --> CRITICAL ?
Bonjour,
j'ai un problème, le service http est à critical sans que je comprenne pourquoi. Il a déjà réussi à être ok sur le nagios normal, sans oreon installé. Mais là je ne comprends pas, j'ai peut être fait une erreur dans la configuration...
Merci de votre aide.
:lol:Tags: None
Leave a comment: