sipX-dev - Connect Nagios with SOAP-Interface of sipX

by SBuehneron 2010-07-19T12:36:38+00:00
Dies ist eine mehrteilige Nachricht im MIME-Format.
Dies ist eine mehrteilige Nachricht im MIME-Format.
thank you for your input. I see you're from germany as well :-)
I have never really worked with SOAP. Do you have a good idea how to
connect nagios and SOAP?
Do you know of any plugins or scripts that connect SOAP and nagios?
Or at least it whould help a lot to have a nagiosplugin or a nagiosscript
as example that is using SOAP already.
Thank you for helping
- steven

Rene Pankratz
16.07.2010 11:40
An
SBuehner@spirit21.de
Kopie
sipx-dev@list.sipfoundry.org
Thema
Re: [sipX-dev] sipX Plugin to monitor the server with nagios

Hi Steven,
the SipX callresolver offers a SOAP interface that implies a
getActiveCalls() method.
take a look here:
http://wiki.sipfoundry.org/display/xecsuserV4r0/Configuration+SOAP+APIs
and
http://sipxecs.sipfoundry.org/rep/sipXecs/main/sipXconfig/meta/sipxcallresolver.wsdl
But as I can remember the list of active calls you get is not really
reliable.
Please let me know if you found a way to get the active calls in a
reliable way.
René
2010/7/15
Hello everybody,
my Name is Steven. I'm from germany and I am working on seminar paper
about Nagios-plugin for sipX.
Nagios is an OpenSource monitoring software. http://www.nagios.org/
Nagios is used with plugins, that monitor particular propertys of a
System. It also can create automated warnings (per SMS, mail, pager, ...)
or trigger scripts. And a lots more.
I have to write some Plugins that monitor:
- registered useres
- ongoing calls and where they go to (trunk1, trunk2, internal, ...)
- traffic used by all the calls together
I have already spend quite a lot of time to analyse sipx. In the meantime
I got a realy nice way to monitor the registered users. There is a file
called "registration.xml" in /var/sipxdata/sipdb/ It provides all the
information I needed to write the plugin. :-)
But now I want to write the pluins to monitor ongoing calls and where they
go to. I couln't find any "information interface" to get this information
from.
I know that this information has to be somewhere, because I can see it in
the adminportal in "Diagnostics -that there is a PostgreSQL-database that contains some information about
the cdr. But I don't think that's the nice way to gather that information.
Any ideas how to find out about:
- ongoing calls and where they go to (trunk1, trunk2, internal, ...)
- traffic used by all the calls together
Thank you and greetings from germany,
Steven

*********************************
Sprit/21 AG
Steven Bühner
Systemberater
SPIRIT/21 AG
Sitz der Gesellschaft: Böblingen
Vorstand: Dietmar Wendt (Vorsitzender), Philipp Steffen, Joachim Gutheil
Vorsitzender des Aufsichtsrates: Siegfried J. Althaus
Registergericht: Amtsgericht Stuttgart, Registernummer: HRB 244681
Umsatzsteuer-Identifikationsnummer: DE 198412560
IANT- APPLIED NGN-TECHNOLOGIES
Schlüsselfertige VoIP-Lösungen und mehr...
IANT GmbH
Salzdahlumer Straße 46/48
D-38302 Wolfenbüttel
Fon: +49/(0)5331/ 900989-450
Fax: +49/(0)5331/ 900989-499
Internet: www.iant.de
Ust.-IdNr: DE264352710
HRB 201710, Amtsgericht Braunschweig
Geschäftsführer: Prof. Dr.-Ing. Diederich Wermser, Dipl.-Ing. Jan
Schumacher

IANT is Member of GROUPLINK
www.grouplink.de
SPIRIT/21 AG
Sitz der Gesellschaft: Böblingen
Vorstand: Dietmar Wendt (Vorsitzender), Philipp Steffen, Joachim Gutheil
Vorsitzender des Aufsichtsrates: Siegfried J. Althaus
Registergericht: Amtsgericht Stuttgart, Registernummer: HRB 244681
Umsatzsteuer-Identifikationsnummer: DE 198412560
thank you for your input. I see you're
from germany as well :-)
I have never really worked with SOAP.
Do you have a good idea how to connect nagios and SOAP?
Do you know of any plugins or scripts
that connect SOAP and nagios?
Or at least it whould help a lot to
have a nagiosplugin or a nagiosscript as example that is using SOAP already.
Thank you for helping
- steven


Rene Pankratz <rene.pankratz.list@iant.de>
16.07.2010 11:40

An
SBuehner@spirit21.de
Kopie
sipx-dev@list.sipfoundry.org
Thema
Re: [sipX-dev] sipX Plugin to monitor
the server with nagios


Hi Steven,
the SipX callresolver offers a SOAP interface that implies a getActiveCalls()
method.
 take a look here:
http://wiki.sipfoundry.org/display/xecsuserV4r0/Configuration+SOAP+APIs
and
http://sipxecs.sipfoundry.org/rep/sipXecs/main/sipXconfig/meta/sipxcallresolver.wsdl
But as I can remember the list of active calls you get is not really reliable.
Please let me know if you found a way to get the active calls in a reliable
way.
René
2010/7/15 <SBuehner@spirit21.de>
Hello everybody,
my Name is Steven. I'm from germany and I am working on seminar paper about
Nagios-plugin for sipX.
Nagios is an OpenSource monitoring software. http://www.nagios.org/
Nagios is used with plugins, that monitor particular propertys of a System.
It also can create automated warnings (per SMS, mail, pager, ...) or trigger
scripts. And a lots more.
I have to write some Plugins that monitor:
- registered useres
- ongoing calls and where they go to (trunk1, trunk2, internal, ...)
- traffic used by all the calls together
I have already spend quite a lot of time to analyse sipx. In the meantime
I got a realy nice way to monitor the registered users. There is a file
called "registration.xml" in /var/sipxdata/sipdb/ It provides
all the information I needed to write the plugin. :-)
But now I want to write the pluins to monitor ongoing calls and where they
go to. I couln't find any "information interface" to get this
information from.
I know that this information has to be somewhere, because I can see it
in the adminportal in "Diagnostics -> Call Detail Records ->
Active". I know that there is a PostgreSQL-database that contains
some information about the cdr. But I don't think that's the nice way to
gather that information.
Any ideas how to find out about:
- ongoing calls and where they go to (trunk1, trunk2, internal, ...)
- traffic used by all the calls together
Thank you and greetings from germany,
Steven

*********************************
Sprit/21 AG
Steven Bühner
Systemberater
SPIRIT/21 AG
Sitz der Gesellschaft: Böblingen
Vorstand: Dietmar Wendt (Vorsitzender), Philipp Steffen, Joachim Gutheil
Vorsitzender des Aufsichtsrates: Siegfried J. Althaus
Registergericht: Amtsgericht Stuttgart, Registernummer: HRB 244681
Umsatzsteuer-Identifikationsnummer: DE 198412560
IANT- APPLIED NGN-TECHNOLOGIES
Schlüsselfertige VoIP-Lösungen und mehr...
IANT GmbH
Salzdahlumer Straße 46/48
D-38302 Wolfenbüttel
Fon: +49/(0)5331/ 900989-450
Fax: +49/(0)5331/ 900989-499
Internet: www.iant.de
Ust.-IdNr: DE264352710
HRB 201710, Amtsgericht Braunschweig
Geschäftsführer: Prof. Dr.-Ing. Diederich Wermser, Dipl.-Ing. Jan Schumacher
 
IANT is Member of GROUPLINK
www.grouplink.de
SPIRIT/21 AG
Sitz der Gesellschaft: Böblingen
Vorstand: Dietmar Wendt (Vorsitzender), Philipp Steffen, Joachim Gutheil
Vorsitzender des Aufsichtsrates: Siegfried J. Althaus
Registergericht: Amtsgericht Stuttgart, Registernummer: HRB 244681
Umsatzsteuer-Identifikationsnummer: DE 198412560
sipXecs IP PBX -- http://www.sipfoundry.org/

Re: sipX-dev - Connect Nagios with SOAP-Interface of sipX

by Douglas Hubleron 2010-07-19T20:02:17+00:00.
On Mon, Jul 19, 2010 at 8:36 AM, wrote:
take your pick, php, ruby, perl. google around, you'll find info on any
of these. The backed soap service is written in ruby, for what it matters.
Do you know of any plugins or scripts
that connect SOAP and nagios?
take your pick, php, ruby, perl.    google around, you'll find info on any of these.   The backed soap service is written in ruby, for what it matters.
sipXecs IP PBX -- http://www.sipfoundry.org/