-
Notifications
You must be signed in to change notification settings - Fork 0
DorianZaccaria/Datadog_http_monitor
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
README ================================================================================ This software snif the http traffic on the given interface. Each 10 seconds it gives the section of the website the most hits. Whenever total traffic for the past 2 minutes exceeds a certain number on average, the program displays an alert. BUILD ================================================================================ This softawre use the c++11 standard for threads and time management. It was successfully compiled with g++-4.8 on linux X86 and mac OS X. To build the software: $ make To create the documentation with doxygen: $ make doc To clean the source directory after compilation $ make clean To remove binaries: $ make distlean RUN ================================================================================ To run the program it is mandatory to give an interface, use the option --interface or --i following by the interface name. $ ./DatadogMonitor --interface eth0 The following options are available --debug --d: anable the debug mode which display more information --without-traffic --t: disable traffic related messages --without-alert --a: disable alert related messages TESTS ================================================================================ Before lauching the test please edit the interface name given to the program. After you can run: $ make check even if the test fail, you can loook at the file check/test.txt to see if the difference with the reference is due to the response delay of the website. BUGS ================================================================================ I test this example on debian 32 and 64 bit and Mac OS X 10.9.1. During the compilation you will find some warnings due to unused parameters given to the callback. Moreover on Mac, the library pthread is not used (due to clang but gcc need it).
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published