mikaku / Monitorix

Monitorix is a free, open source, lightweight system monitoring tool.
https://www.monitorix.org
GNU General Public License v2.0
1.12k stars 167 forks source link

Icecast 2.4.x #108

Closed Evrus closed 9 years ago

Evrus commented 9 years ago

Icecast Streaming Media Server (icecast.rrd) not work. http://radio.eve-play.ru:8000/status.xsl

mikaku commented 9 years ago

@Evrus,

It works for me:

icecast

This is my setup:

<icecast>
        list = http://radio.eve-play.ru:8000/status.xsl
        <desc>
                http://radio.eve-play.ru:8000/status.xsl = /everadio32, /ruseveradio
        </desc>
        graph_mode = r
        rigid = 0, 0
        limit = 100, 100
</icecast>
mikaku commented 9 years ago

I've seen that the color of some values in the Current listeners are hidden (covered) by the color of the first value (this picture has the colors fixed):

icecast

The following commit fixes this bug. Regards.

undee123 commented 8 years ago

Hi folks,

I've installed monitorix to check my icacast server, but I don't get real time statistics, it takes several minutes to show the current listeners. Refresh rate is set to 20 (was 150), but didn't change anything.

Config is same as mikakus.

mikaku commented 8 years ago

but I don't get real time statistics, it takes several minutes to show the current listeners

I don't understand this, you mean that you don't get stats but at the same time it seems you finally see the current listeners?

What you see in the Monitorix graphs are average values, and of course, they might take a few minutes to start showing results. That's completely normal.

In the other hand, the sampling rate of Monitorix is 60 seconds, so any refresh in the web site less than this time is useless. Also, the quicker you refresh your web site the more it will impact in the load average statistics. 150 seconds or more is fine.

undee123 commented 8 years ago

Ok, I'll make an example to make it clear. This is my actual statistic:

image

Now when I open the streams on some devices to get more listeners, the status page on the icecast servers shows them instantly, while the monitorix server needs a few minutes just to show the correct number of the actual listeners (I don't mean the graph, just the number of the current users).

mikaku commented 8 years ago

Yes, as I said before, the Monitorix sampling rate is 60 seconds (1 minute), this means that Monitorix will take up to 1 minute to get the new value of listeners, and that value, if it's constant enough, will appear in the graph in the next 2 or 3 minutes. This is how it works in most monitoring programs.

In the other case, if that new listener only was there for about 1 minute, then Monitorix probably will show a fraction of that listener, that is, instead of 2 listeners probably will show 2.5 listeners during the next minute, and will return to 2 listeners later.

It's all about averages.

I hope that clear up things to you.