1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Add file expansion (glob) and switch to MIT license

This commit is contained in:
Danny Fullerton 2013-07-01 22:42:28 -04:00
parent 5271859ff0
commit cf03f9b045
8 changed files with 216 additions and 138 deletions

View file

@ -29,7 +29,7 @@ Multiple logs can be used for the same project/vhost and a regular expression (r
],
'dev' => [
{'path' => '/var/log/httpd/ssl-dev-access.log'},
{'path' => '/home/dev/log/access.log'}
{'path' => '/home/dev/log/access*.log'} # glob is supported
],
'test' => [
{'path' => '/var/log/access.log', 'regex' => '"[A-Z]+ /test/'},
@ -42,3 +42,6 @@ In the previous example the prod project graph will be using everything in /home
Then link the file just as any other plugins.
ln -s /usr/local/sbin/<plugin> /usr/local/etc/munin/plugins/<plugin>
## License
MIT