Jump to content

Recommended Posts

Posted

На сайте показан пример, статья мониторинга ИБП с помощью RDTOOLS. В примере, голубой заливкой показана область заряда батареи. Но я не понял, где это задается? Вроде как параметры передаваемые rdtool graph одинаковые для всех графиков?

Posted (edited)

man rrdgraph_graph

       LINE[width]:value[#color][:[legend][:STACK]]
           Draw a line of the specified width onto the graph. width can be a floating point number. If the color is not
           specified, the drawing is done 'invisibly'. This is useful when stacking something else on top of this line.
           Also optional is the legend box and string which will be printed in the legend section if specified. The value
           can be generated by DEF, VDEF, and CDEF.  If the optional STACK modifier is used, this line is stacked on top
           of the previous element which can be a LINE or an AREA.

           When you do not specify a color, you cannot specify a legend.  Should you want to use STACK, use the
           "LINEx:<value>::STACK" form.

       AREA:value[#color][:[legend][:STACK]]
           See LINE, however the area between the x-axis and the line will be filled.

 

У человека скорее всего изначально было LINE, но потом для наглядности заменил на AREA.

Edited by skor78

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.