t-cyrill / munin-nginx_request_time Goto Github PK
View Code? Open in Web Editor NEWMunin plugin for nginx request time
License: MIT License
Munin plugin for nginx request time
License: MIT License
Hi, I am trying to use this plugin on Debian Jessie.
Here, CPAN perl libs are to be installed by apt-get command:
# apt-get install libstatistics-basic-perl libstatistics-descriptive-perl libfile-readbackwards-perl libstatistics-lite-perl/sid
Then, the following test-run returns the error
# munin-run nginx_request_time
Name "main::bw" used only once: possible typo at /etc/munin/plugins/nginx_request_time_max line 101.
Can't call method "readline" on an undefined value at /etc/munin/plugins/nginx_request_time_max line 101.
The versions of each libs are
libstatistics-basic-perl: Version: 1.6607-1
libstatistics-descriptive-perl: Version: 3.0607-1
libfile-readbackwards-perl: Version: 1.05-1
libstatistics-lite-perl: Version: 3.62-1
Any advice would be appreciated, thx!
(The reply in Japanese language is also OK for me.)
If we change Nginx log format by following the instruction, httpd section of Logwatch doesn't work.
To solve this problem, we can change setting of Logwatch, however, I think it's much better that no such change/modification is required.
Do you have a specific reason for the suggested format?
If no, I'd recommend that the log format is combined+request_time:
'$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent" '
'$request_time';
, which is OK with Logwatch at least my server.
If you can accept this, I can make PR of the corresponding code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.