Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl -u user:password -d "host_name=mon-hote&service_description=check-de-mon-hote&return_code=0" --data-urlencode "&output=Everything OK" http://ip-du-receiver:7760/push_check_result

...

Voici un autre exemple de curl avec un résultat qui contient des caractères spéciaux :

Code Block
curl --datad "host_name=mon-hote&return_code=2&output=*DOWN:??(°.°)??(°.°)??(°.°)??(°.°)? ?état incorrect*" http://ip-du-receiver:7760/push_check_result

...