Giter Club home page Giter Club logo

check_kannel's Introduction

 check_kannel
 ------------

 -------------------------------------------------------------------------------
 (C)2006 Luca Corti, Lorenzo Vigano'

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 -------------------------------------------------------------------------------

 check_kannel is a Nagios (http://www.nagios.org) plugin written in Perl
 (http://www.perl.org) which monitors the Kannel WAP and SMS Gateway software
 (http://www.kannel.org) status by interfacing with the status interface it
 exports in XML format via HTTP.
 
 It was coded mostly following guidelines on Nagios Plugin development found at

 http://nagiosplug.sourceforge.net/developer-guidelines.html

 but currently lacks translation and performance data features.

 This plugin is currently in an initial development stage, however it is used in
 a Nagios production environment to test quite a few different Kannel setups
 doing real traffic.

 Requirements include:

    * Perl 5.
    * Nagios with EPN (Embedded Perl) support.
    * Perl modules:
       LWP::UserAgent XML::DOM XML::XPath XML::XPath::XMLParser Getopt::Long

 The following basic features were implemented:

    * Monitoring of Kannel Gateway operational status.
      Both gateway internal states and generic service reachability are tested.

    * Monitoring of Kannel SMSBOX and WAPBOX processes
      SMSBOX and WAPBOX connection to the core is tested if enabled by the user.

    * Monitoring of SMSCs status.
      Online status is checked. WARNING/CRITICAL states are reported based on
      specified number of active SMSCs.

    * Please note HTTPS checking was not tested.


 The following features are desirable (patches are welcome):

    * Monitoring of SMS and DLR queues/rate
      Number of SMS/DLR in the queues is checked. WARNING/CRITICAL states are
      reported based on specified number of queued SMS/DLR.

    * Monitoring of specific SMSC-IDs.

    * More general status.xml parsing engine (maybe Kannel::Status Perl module
      built on top of XML::Parser and XML::XPath).

    * Performance data reporting.

    * Language translation support.

    * Additional Nagios eventhandler using the Kannel Administrative interface over
      HTTP(S).

    * YOUR FEATURE HERE :)


 Contributions, suggestions and bugreports are encouraged and appreciated.

 Please contact me at luca<at>fantacast<dot>it.

check_kannel's People

Contributors

altmas5 avatar billux avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

check_kannel's Issues

Can't locate utils.pm in @INC

Hi guys.
When i check kannel with this plugin it have some problem
Can't locate utils.pm in @inc (@inc contains: /usr/lib/nagios/plugins /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /root/check_kannel line 30.
BEGIN failed--compilation aborted at /root/check_kannel line 30.
What can i do fix thix??

Errors in treshold comparing with actual result

-c (--critical)
Number of connected SMSCs below which a critical status will be generated.
Defaults to 0.

Example:
If i set -c 2 and i have 2 SMSC-s connected im still getting result as "CRITICAL"
Same thing seems to be with other variables

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.