1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 18:07:20 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Diego Elio Pettenò
cd4dd57e24 asterisk: replace the remaining two Asterisk plugins.
The fourth graph (asterisk_codecs) replaces both asterisk_sipchannels
and asterisk_codecs, as the latter already included the data from the
first. If we want to get more details we could have sub-multigraphs
for a breakdown of the codecs per channel type, but right now it feels
unneeded.
2012-12-30 14:02:17 -08:00
Diego Elio Pettenò
608c1a90ef asterisk: add graph to replace asterisk_meetme and asterisk_meetmeusers. 2012-12-30 13:38:41 -08:00
Diego Elio Pettenò
1a98faf11c asterisk: refactor command/response handling.
Instead of having a dumb readreply, already drop some of the unneeded
lines of the command when sending the request, and handle errors in
place.

This simplifies the code a little, even though it requires a few more
"discard loops" in the code (to avoid garbage in Asterisk's logs).
2012-12-30 13:36:36 -08:00
Diego Elio Pettenò
b77eef4a62 asterisk: handle more gracefully errors on the asterisk_channels path. 2012-12-30 13:07:24 -08:00
Diego Elio Pettenò
9f56a03d05 asterisk: add asterisk_voicemail replacement code as well.
This is a bit trickier, since the voicemail might not be enabled
anywhere. Unfortunately it's not easy to set this up during
autoconfig, as voicemails can be added on the fly.
2012-12-30 13:04:25 -08:00
Diego Elio Pettenò
f5064c9398 asterisk: add support for showing the per-type breakdown of channels.
This makes it possible for a single graph to replace the two
apache_channels and apache_channeltypes plugins.
2012-12-30 12:44:29 -08:00
Diego Elio Pettenò
fce7502342 asterisk: first part of the new Asterisk plugin.
This plugin is targeting to enter main distribution in 2.1 to remove
the multiple Asterisk plugins present in 2.0.

It features full autoconfiguration support, multigraph capabilities,
and less error-prone code.

For the moment, it only implements a replacement for asterisk_channels.
2012-12-30 12:22:52 -08:00