rulcsoft / check_kannel Goto Github PK
View Code? Open in Web Editor NEWNagios plugin to monitor the Kannel WAP and SMS Gateway
License: GNU General Public License v2.0
Nagios plugin to monitor the Kannel WAP and SMS Gateway
License: GNU General Public License v2.0
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.
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??
-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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.