Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_calls

Current Version
1.0
Last Release Date
2012-04-25
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
90396
Files:
FileDescription
check_callsNagios plugin - SIP network monitoring
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_calls
You've possible already met with nagios-plugins-check_sip. It sends OPTIONS packet to SIP proxy and waits for response. In some cases, that is not enough. My plugin makes real calls through SIP proxy periodically using Net::SIP module.
# 'check_calls' command definition
#############################
define command{
command_name check_calls
command_line /usr/bin/perl /usr/lib/nagios/plugins/check_calls -T 10 -O /dev/null sip:nagios@voxtrot.com sip:$ARG1$@$HOSTADDRESS$
}



# 'check_calls' service definition
#############################
define service {
hostgroup_name sip-servers
servicegroups sip-services
service_description Test Calls
check_command check_calls!999 ; 999 is the number to call, you should configure this extension in your SIP server.
use generic-service
}
Reviews (4)
byview, June 20, 2014
Even though I set leg=localip:5060 I got the error message "invite failed(call): Failed with error 110". Does anybody know how can I fix it? Thank you in advance.
bybytelock, January 3, 2014
So. This script is actually ripped off from the guys who make the SIP perl module itself. Found here: https://metacpan.org/source/SULLR/Net-SIP-0.682/samples/invite_and_recv.pl

Didn't give any credit to Steffen Ullrich.

Anyway.. This plugin has issues and there's no support for it because this guy didn't write it, Steffen did.

In my experience so far. I have it working as this in my command line test

./check_calls -T 30 --leg 192.168.1.50:5060 --username anaduser@foo.com --password pass1 sip:1661@foo.com sip:123@foo.com

It wouldn't work without forcing the leg piece to use the localhost IP address and port. It kept trying to bind to an external address giving me a 110 error as someone reported earlier.
byitsJim, September 25, 2013
Thank you so much for this plugin! Works as expected! Using Asterisk v1.8 and v11.4 without so much as a hiccup!
Hi, the plugin looks very good, exactly what I need.

Having installed all the Perl pre-requisites and finally getting the plugin to run, I'm now hit with a SIP registration failure 110.

I'm using: ./check_calls.pl --username ADUSERNAME --PASSWORD --registrar=LYNCSERVERIP --proxy=LYNCSERVERIP sip:my.email@domain.com 07711111111

Please get in touch, would love to see this working !