
I'm trying to find a way to monitor the status of the SIP service on some Asterisk servers. I had a situation the other day where the daemon was running, but hung, and would not respond to requests. ICMP pings to the machine worked, as did monitoring of the process list, but the machine would not respond to SIP requests. I found this draft during my research: http://tools.ietf.org/html/draft-jones-sip-options-ping-02 Anyone know of a unix utility that can easily send a SIP OPTIONS request to a remote server and return the results in a useful format? I could probably construct one using Net::SIP in perl, but I like to take the easy way out when possible :). Thanks, Steve

Nagios would do the trick. There are a handful of SIP monitoring plugins. ------------- Geoff Mina CTO Connect First Inc 678.905.0671 www.connectfirst.com -------------- Sent by Android.... "Steve Teti" <steti at monmouth.com> wrote:
I'm trying to find a way to monitor the status of the SIP service on some Asterisk servers. I had a situation the other day where the daemon was running, but hung, and would not respond to requests. ICMP pings to the machine worked, as did monitoring of the process list, but the machine would not respond to SIP requests. I found this draft during my research:
http://tools.ietf.org/html/draft-jones-sip-options-ping-02
Anyone know of a unix utility that can easily send a SIP OPTIONS request to a remote server and return the results in a useful format? I could probably construct one using Net::SIP in perl, but I like to take the easy way out when possible :).
Thanks, Steve _______________________________________________ VoiceOps mailing list VoiceOps at voiceops.org https://puck.nether.net/mailman/listinfo/voiceops

Use sipsak . Write a wrapper script and cron it Ujjval Karihaloo On Mar 3, 2011, at 8:49 AM, "Steve Teti" <steti at monmouth.com> wrote:
I'm trying to find a way to monitor the status of the SIP service on some Asterisk servers. I had a situation the other day where the daemon was running, but hung, and would not respond to requests. ICMP pings to the machine worked, as did monitoring of the process list, but the machine would not respond to SIP requests. I found this draft during my research:
http://tools.ietf.org/html/draft-jones-sip-options-ping-02
Anyone know of a unix utility that can easily send a SIP OPTIONS request to a remote server and return the results in a useful format? I could probably construct one using Net::SIP in perl, but I like to take the easy way out when possible :).
Thanks, Steve _______________________________________________ VoiceOps mailing list VoiceOps at voiceops.org https://puck.nether.net/mailman/listinfo/voiceops

We use this (check_sip): http://bashton.com/osprojects/nagiosplugins/ If you're growing your own without Net::SIP (it's not hard to do SIP using the socket library either, to be perfectly honest) you can look at 'sipsak' which has a number of useful CLI options, I don't know that any of them are specifically "OPTIONS" but you may be able to hack up something roughly equivalent with that. On 03/03/2011 10:16 AM, Steve Teti wrote:
I'm trying to find a way to monitor the status of the SIP service on some Asterisk servers. I had a situation the other day where the daemon was running, but hung, and would not respond to requests. ICMP pings to the machine worked, as did monitoring of the process list, but the machine would not respond to SIP requests. I found this draft during my research:
http://tools.ietf.org/html/draft-jones-sip-options-ping-02
Anyone know of a unix utility that can easily send a SIP OPTIONS request to a remote server and return the results in a useful format? I could probably construct one using Net::SIP in perl, but I like to take the easy way out when possible :).
Thanks, Steve _______________________________________________ VoiceOps mailing list VoiceOps at voiceops.org https://puck.nether.net/mailman/listinfo/voiceops

Steve Teti wrote:
I'm trying to find a way to monitor the status of the SIP service on some Asterisk servers. I had a situation the other day where the daemon was running, but hung, and would not respond to requests. ICMP pings to the machine worked, as did monitoring of the process list, but the machine would not respond to SIP requests. I found this draft during my research:
We use monitis.com to do external SIP monitoring for us. I don't know if it would have detected your specific failure. It makes a SIP connection but I don't know the specific data it sends and looks for. -- Carlos Alvarez TelEvolve 602-889-3003
participants (5)
-
carlos@televolve.com
-
gmina@connectfirst.com
-
paul@timmins.net
-
steti@monmouth.com
-
ujjval@simplesignal.com