Commit Graph

23 Commits

Author SHA1 Message Date
Jordi Sanfeliu 7d3f2383ee
Merge pull request #382 from bachandi/ambsens
Add legend customisation to ambsens.pm
2022-01-13 10:32:19 +01:00
Andreas Bachlechner 0430687694 Add more legend options to ambsens.pm
- show_average option to also show average, minimum and maximum in the legend.
- scientific_notation option to print the current values in scientific notation.
2022-01-12 17:59:19 +01:00
Jordi Sanfeliu ebcc7e514a fix the '--full-size-mode' parameter to not break backwards compatibility with older versions of RRDtool #342 2022-01-12 10:26:58 +01:00
David Hummel 14b32dd993 Added 2 functions (img_element & picz_a_element) & renamed picz_js_link 2021-12-21 17:24:55 -07:00
David Hummel 92eaaa4f5a Use --full-size-mode for zoomed images 2021-12-21 16:08:14 -07:00
David Hummel 02f0e09388 Merge remote-tracking branch 'upstream/master' 2021-12-21 08:20:41 -07:00
David Hummel fc63b67940 Added function for picz js links 2021-12-20 21:24:23 -07:00
David Hummel ba9f7040e9 Revert "Fixed `zoomed image won't fit in the pop-up window` for SVG image_format"
This reverts commit 3dfe4972c5.
2021-12-20 17:47:36 -07:00
Andreas Bachlechner 247693f24b Fix variable name to snake_case style. 2021-09-27 17:34:36 +02:00
Andreas Bachlechner b8f9d73a94 Add arguemt usage to cmd option in ambsens. 2021-09-24 11:15:43 +02:00
David Hummel 3dfe4972c5 Fixed `zoomed image won't fit in the pop-up window` for SVG image_format 2021-08-25 13:36:13 -07:00
Jordi Sanfeliu 85a0360d45 updated the copyright year in 'ambsens.pm' and 'redis.pm' modules 2021-01-07 10:58:32 +01:00
Jordi Sanfeliu bfc5bbeda8 fixed the internal structure of 'ambsens.pm'
An implementation bug prevented it from having negative values.

*** 'ambsens.rrd' must be created again for the changes to take effect ***

Sorry for the inconvenience.
2020-12-09 10:18:36 +01:00
Jordi Sanfeliu 421f020bba converted a list of graphs to CSS #306 2020-11-20 09:15:58 +01:00
Jordi Sanfeliu cf3cd9e9a7 closing 3.12.0 2020-02-21 10:36:35 +01:00
Jordi Sanfeliu 52c2788c2d synchronized the same title size for all graphs in medium size 2020-01-27 18:09:46 +01:00
Jordi Sanfeliu 9222110497 fixed to use --resolution instead of its synonym -r to avoid problems with newer versions of RRDtool. #263 2019-11-22 08:46:02 +01:00
Jordi Sanfeliu 98ef89190b added the new option 'rrdtool_extra_options' to be able to include RRDtool extra options on every graph 2019-05-08 12:54:03 +02:00
Jordi Sanfeliu cc6cb1ec47 removed a debugging line 2019-04-24 10:44:31 +02:00
Jordi Sanfeliu 19eff008fb added the ability, in the alerts of 'ambsens.pm', to support a range of two values separated by a dash in the threshold #221 2019-04-23 16:13:41 +02:00
Jordi Sanfeliu a03a70d3ef closing 3.11.0 2019-03-14 15:41:20 +01:00
Jordi Sanfeliu 49ef3a3528 Improved the alerting system in 'ambsens.pm'
From now on, the alerts accepts a forth parameter that specifies
when the alert will be triggered. This parameter accepts two values:
'above' or 'below', being the 'above' the default value if it's not
specified, in order to keep backwards compatibility.

This way, if some value in the graph is 'above' or 'below' from the
threshold during more time than specified in the timeout value, the
alert will be triggered.

The manpage has also been updated to reflect this new feature. #221
2019-03-01 17:59:35 +01:00
Jordi Sanfeliu 4319a51691 Added a complete graph to support external ambient sensors ('ambsens.pm') 2017-11-24 09:06:40 +01:00