Как сделать munin график (получите или противостоите), не в секунду?

Они использовали Google Apps для своей электронной почты? Возможно настроить фирменную версию Gmail под пользовательским доменным именем. (Это - довольно горячая тема в стартапах в эти дни.) Для него для работы определенным записям DNS нужны некоторые волшебные значения. Вы захотите удостовериться, что Вы передаете по этим записям также. А именно, будет запись CNAME, это - что-то как "google2345sd8972sdfa345.domain.com", который перенаправляет к Google. Это - то, где необходимо посмотреть сначала.

1
задан 9 May 2013 в 19:23
1 ответ

How you do this depends on what type of data source you're dealing with. On a host that has the plugin for the graph, run munin-run config and look for the type attribute of its fields.

If the fields are of type COUNTER or DERIVE, you can just set the graph's graph_period attribute to minute or hour for the graph in question. For example, my mail server isn't tremendously busy, so it makes more sense to show its graphs in messages per minute instead of messages per second. I do that with the following host definition in munin.conf:

[mailserver.our.tld]
    <snip other config>
    sendmail_mailstats.graph_period minute

(This is also a munin FAQ.)

If the fields are of type GAUGE or ABSOLUTE, you'll have to use the cdef attribute to adjust the values accordingly. You'll probably also have to change the graph_vlabel attribute to match your new scaling. An example of that is the nutups2__runtime plugin, which reports UPS runtime in seconds. I prefer to see it in minutes, so I have the following host definition in munin.conf:

[upshost.our.tld]
    <snip other config>
    nutups2_ups_runtime.battery.cdef battery,60,/
    nutups2_ups_runtime.graph_vlabel Minutes
2
ответ дан 3 December 2019 в 21:32

Теги

Похожие вопросы