Telephony/SIP Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
gshergill
Posts: 231
Joined: Tue Aug 07, 2012 5:08 am

Re: Telephony/SIP Monitoring

Post by gshergill »

Hi scottwilkerson,

The following is the output:

Code: Select all

./check_sip -U "sip:[email protected]" -H 192.168.3.7 -p 5060 -w 10
Unknown option: U
Usage: 
 check_sip -u sip:[email protected] [-H host -p PORT -w WARNTIME]
 check_sip [-h | --help]
 check_sip [-V | --version]
I downloaded it again from the link you sent and also the same result (Unknown option: U).
Also has the extension invalid issue when using just "u".

Thank you.

Kind Regards,

Gary Shergill
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Telephony/SIP Monitoring

Post by scottwilkerson »

Sorry about that, I was basing it on the info in the review of the plugin.

I downloaded it now and it does look like -u is supposed to be the URI.

I don't have anything to test this plugin against, but I was able to find a newer version on the Internet that I have attached to this post
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
gshergill
Posts: 231
Joined: Tue Aug 07, 2012 5:08 am

Re: Telephony/SIP Monitoring

Post by gshergill »

Hi scottwilkerson,

Thank you for the latest version.

Unfortunately this doesn't work either, but the error has changed:

Code: Select all

./check_sip -u sip:[email protected] -H 192.168.3.7 -p 5060 -w 10
SIP/2.0 404 Not Found, 0.000388 seconds response time|rtt=0.000388s;0.5s;1s;0:10; code=404
This is in essence the same though, it's saying the extension doesn't exist I believe.

Looked around the internet for the error but there isn't much about it... the extension definitely exists so not really sure what else the problem could be.

Thank you.

Kind Regards,

Gary Shergill
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Telephony/SIP Monitoring

Post by scottwilkerson »

You may need to try to contact the author of the plugin.

From the readme it looks like sam at bashton.com
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
gshergill
Posts: 231
Joined: Tue Aug 07, 2012 5:08 am

Re: Telephony/SIP Monitoring

Post by gshergill »

Hi scottwilkerson,

Thank you, I went to his website and downloaded the latest (1.3) which still wasn't working.

I've emailed to ask for any advice/help regarding the issue.

Just to confirm, this plugin is suppose to check if a sip server is able to make calls by checking an extension? Or does it check something else regarding the sip server?

Thank you.

Kind Regards,

Gary Shergill
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Telephony/SIP Monitoring

Post by slansing »

Not sure exactly, it must check through the uri address, the help option shows the following:


This plugin tests the sip service on the specified host.

Usage: check_sip -u sip:[email protected] [-H host -p PORT -f sip:[email protected] -w WARNTIME -s]
check_sip [-h | --help]
check_sip [-V | --version]

Options:
-u sip:[email protected]
Full SIP uri, eg sip:[email protected]
-h, --help
Print this help
-V, --version
Print version information
-H host
Host name or IP Address to connect to
-p port
Port to connect to
-f sip:[email protected]
Full SIP uri, will be used for the "From:"-Header
-s
Changes default behavior: all SIP-responses will result in an "OK"
Locked