Huge thanks to Joshua Colp for mirroring services

Monitoring Asterisk with Munin

Share on Twitter Digg this story Click to view a printable version Wed, 06 Jan 2010 21:22:41 -0400

thumnail

I had a few requests for these munin plugins after some discussion on one of the Asterisk lists and thought people might like them.

There are four scripts (three of which are based on a script by Paul McCormack.

Basically you just add them the same way as normal munin plugins.

By the way, if you're using Debian, installing munin is as simple as apt-get install munin and apt-get install munin-node.

So, the plugins:

asterisk_channels

This plugin displays concurrent Asterisk channels.

asterisk_iax_peers

This plugin shows IAX peers (online/offline/unmonitored online/offline)

asterisk_sip_peers

This plugin shows SIP peers (online/offline/unmonitored online/offline)

munin_asr_php

This one connects to the MySQL CDR database and shows how things have been over the last hour (number of calls answered, not answered, busy, congested).

You'll need to set your CDR database/table and the MySQL connection details in this one.

Let me know if you have any questions.


You haven't voted yet! Vote:
Current Rating: 9.71/10 (7 votes)

Comments (7 posted)


CommentInstall Problem
Written by switch - http://lynks.ru (January 8, 2010, 11:37 am)

How correctly to put plug-ins?
I have copied them in /usr/share/munin/plugins,
Has made symbolical references in /etc/munin/plugins, then

/usr/share/munin/munin-update - force-root
/usr/share/munin/munin-html - force-root
/usr/share/munin/munin-graph - force-root
service munin-node restart

Graphs have appeared, but the data - is not present.
What to do?


CommentHow To Install And Configure Plugins
Written by Adrian (January 8, 2010, 11:37 am)

how to install and configure these plugins? you have a tutorial?


CommentPlugins
Written by Matt Riddell - http://www.venturevoip.com (January 8, 2010, 11:39 am)

Yeah, sounds like you're doing the right thing - basically just symlink the plugins like any other.

Note that the plugins can be run on their own too - you don't need munin.

So, first step is to make sure they're executable (i.e. chmod +x filename)

Next, just run the plugin (i.e. ./munin_asr_php)

It should return the data - if it doesn't something's not right - although I suspect it's just a permissions issue.


CommentSame Issue
Written by pguima (January 12, 2010, 3:31 pm)

I did the same thing as switch, but still no graph and no data. I'm trying to run this on trixbox. Any help?


CommentPlugins
Written by Matt Riddell - http://www.venturevoip.com (January 12, 2010, 3:33 pm)

Did you run the plugins manually?

I.E. change to their location and type ./astersk_sip_peers


CommentRestart Munin
Written by UKnewWho (January 25, 2010, 11:49 am)

After you install the scripts to the munin folder (/usr/share/munin/plugins) then symbolic link (ln -s /user/share/munin/plugs/munin_asr_php /etc/munin/plugsins) your need to restart the munin service /etc/init.d/munin restart for munin to see the new scripts


CommentJrobin Files
Written by Sarika Bhosale - http://Opennms (May 24, 2010, 1:30 pm)

Hi This is Sarika
How to open Jrobin file in windows..
the comamand given in Opennms documentation is not working in windows.. anybody knows how to do it?

Comments
Name:
Subject:
Website:
Message: 

Similar Articles (Based on Title)

Asterisk Installation CD set. with 24/7 monitoring - March 27, 2005
Paul Mahler of signate.com has posted a note to the Asterisk-Users list on a new commercial Asterisk CD Set.

*starShop: Open Source Calling Shop Monitoring System - August 19, 2005
The writers of a new open source call shop monitoring system have mailed us to let you know of their first release.

New GTK Gui for Monitoring and Administration - July 12, 2006
j has posted details of a new GUI for Asterisk.

Tutorial: Simple queue and agent debug monitoring - October 11, 2006
Lenz has posted another tutorial, this one on receiving just the information you need in a call center.

Asterisk RTP Monitoring - September 25, 2009
Tzafrir has committed some documentation to his branch for RTP Monitoring.

Monitoring Asterisk with OpenNMS - January 8, 2010
The OpenNMS blog has an article on monitoring Asterisk with OpenNMS using SNMP.

Asterisk Monitoring with iPhone and iPod touch - February 12, 2010
For the past couple of weeks I have been working on an app that allows you to monitor and restart Asterisk servers.

Interview With Flash Operator Panel Developer - September 19, 2004
Interview with Nicolas Gudino, the author of the Flash Operator Panel for Asterisk.

Interview With FreeBSD Developer - September 21, 2004
Interview With Dr Rich Murphy of FreeBSD and Asterisk FreeBSD fame

Link: Article with Asterisk running home server - October 2, 2004
Running a Wireless network in your neighbourhood with Asterisk terminating VOIP calls.

Asterisk-Users: Request for IAX debug session transcript with IAXy - October 11, 2004
Held needed getting IAXy debug's for phone manufacturer's implementation of IAX

DUNDi is available for use with v1-0 - October 23, 2004
BKW has released a .tar.gz file so that you can use DUNDi with Asterisk 1.0

Asterisk-Dev: patch for chan_capi to compile with latest CVS - November 18, 2004
Frank Sautter has created a patch to allow chan_capi-0.3.5 to compile against CVS-HEAD and adds capiAnswerFax patch

Interview with Mark Spencer - November 26, 2004
We have managed to get an interview with Mark Spencer AKA Markster. Mark Spencer is the creator of Asterisk and by far the most active developer.


Original Content (C) 2004-2010 Matt Riddell
Back 5  Feed Add
to
Google Subscribe with Bloglines
Go to today

Icons by: FastIcon.com


Asterisk and Kamailio (openser) realtime integration
August 5, 2010 Average Vote: 10
Daniel-Constantin Mierla posted a writeup on combining Asterisk and Kamailio.

AstriDevCon: October 29th, Washington DC
August 23, 2010 Average Vote: 10
John Todd has posted a note about the AstriDevCon conference which occurs within the Astricon conference.

VoIP-Info: FFasterisk Video file converter
August 25, 2006 Average Vote: 10
The wiki has a link to a new piece of software for converting video to the format required for Asterisk.

Code Review: SRTP support for Asterisk
March 12, 2009 Average Vote: 10
Terry Wilson has moved his SRTP branch onto the Digium review board.

The Everything Asterisk Video Collection
August 5, 2010 Average Vote: 10
Steven Sokol has posted a blog entry on Asterisk Video Resources.

Voip-Forum: Lots of new articles
March 12, 2005 Average Vote: 10
Oej's Voip-Forum.com site has posted lots of new news articles while I've been away. Hopefully you found them via the asterisk-docs site. If not I've bookmarked them for you.

Interview with Mark Spencer
November 26, 2004 Average Vote: 9.9
We have managed to get an interview with Mark Spencer AKA Markster. Mark Spencer is the creator of Asterisk and by far the most active developer.

Asterisk and Kamailio realtime integration tutorial
May 24, 2010 Average Vote: 9.9
Daniel-Constantin Mierla has posted a link to a tutorial on integrating Asterisk and Kamailio using realtime.

Asterisk IPv6 update
February 1, 2010 Average Vote: 9.8
Olle has posted an update on IPV6 in Asterisk and a link to a blog post of his.

Proposal for T.38 transparent gateway design in Asterisk
April 29, 2010 Average Vote: 9.8
Kevin Fleming has posted a proposed design for a transparent T.38 gateway for Asterisk:

Back to life
July 21, 2010 Average Vote: 9.8
Hey all - I am back online after some pretty big projects which have taken all my time. Will be updating the Asterisk news over the next few days.

GUI changes from Trixbox, FreePBX, 2600hz, BlueBox
September 1, 2010 Average Vote: 9.8
Ok, bear with me on this one. If you understand all the ramifications, FreePBX has split to a new project called BlueBox contained within the 2600hz project. This obviously has implications for Trixbox that uses FreePBX to provide quite a bit of functionality.

Announcing Adhearsion 0.8.5
August 25, 2010 Average Vote: 9.8
Ben Klang has posted a note about the latest release of Adhearsion - a framework for developing Asterisk based solutions using Ruby.

app_swift v2.0 released
July 21, 2010 Average Vote: 9.8
Like a few of these news stories that I will be posting over the next couple of days this is a little old - hope it is not something you have already seen. This one is for a new version of the app_swift text-to-speech module for Asterisk 1.2, 1.4, and 1.6.

Monitoring Asterisk with Munin
January 7, 2010 Average Vote: 9.7
I had a few requests for these munin plugins after some discussion on one of the Asterisk lists and thought people might like them.


libpri 1.4.11.4 Now Available
September 3, 2010
The Asterisk Development Team has announced the release of libpri 1.4.11.4.

New CDR Stats Package
September 1, 2010
This one has been a long time coming. A new CDR stats package from Star2Billing to replace the 7 year old stalwart for viewing Asterisk call detail records.

GUI changes from Trixbox, FreePBX, 2600hz, BlueBox
September 1, 2010
Ok, bear with me on this one. If you understand all the ramifications, FreePBX has split to a new project called BlueBox contained within the 2600hz project. This obviously has implications for Trixbox that uses FreePBX to provide quite a bit of functionality.

RazorQuotePBP Asterisk Payment Module
August 31, 2010
RazorQuote has sent us a press release about the launch of RazorQuotePBP, a native Asterisk module that allows any Asterisk connected device to accept credit card payments.

CloudVox: Install an open source Asterisk phone app and get 250 dollars
August 30, 2010
CloudVox is running a competition for people to receive 250 dollars for writing up some documentation for Open Source applications on CloudVox - first in first served.

AstriCon approaches
August 25, 2010
John Todd has posted a note about the upcoming AstriCon conference in Washington, DC, and the innovation awards.

Announcing Adhearsion 0.8.5
August 25, 2010
Ben Klang has posted a note about the latest release of Adhearsion - a framework for developing Asterisk based solutions using Ruby.

Asterisk 1.8.0-beta4 Now Available
August 25, 2010
The Asterisk Development Team has announced the release of Asterisk 1.8.0-beta4.

AstriDevCon: October 29th, Washington DC
August 23, 2010
John Todd has posted a note about the AstriDevCon conference which occurs within the Astricon conference.

The XV Commandments of IVR
August 17, 2010
An update on the 15 tips for creating effective IVR systems by Allison Smith - the Voice of Asterisk.