1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
:

Simple query to get hits per second on a apache, parsing it’s access logfile. Warning: Could be HEAVY on big sites (GB logs per hour). Make interval 10min or more if it’s on bigsites.

Module data

module_begin 
module_name WEB_Hits 
module_type generic_data_inc 
module_exec wc -l /var/log/httpd/access_log | cut -f 1 -d " " 
module_end
(Visited 344 times, 1 visits today)

For correct visualization of the Pandora FMS library extension, you must have installed version NG 760 or superior

X