Re: [asterisk-users] nagios asterisk check SIP
On Fri, Jun 17, 2016 at 11:22:48AM +0200, Thomas wrote: > Iam loocking for an programm to check the SIP port of an Asterisk asterisk. > > Ome time ago I have used > #/usr/bin/sipsak > but it seemed that it is not working anymore? Hi Thomas, Maybe this links help you: http://fabian-affolter.ch/blog/nmap-scripts-for-voip-analyses/ Not for sipsak, but for great nmap. Cheers -- GnuPG Key ID: 0x39BCA9D8 https://www.github.com/mefhigoseth ...:::[ God Rulz ! ]:::... -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] nagios asterisk check SIP
On Fri, Jun 17, 2016 at 11:22:48AM +0200, Thomas wrote: > Iam loocking for an programm to check the SIP port of an Asterisk asterisk. > > Ome time ago I have used > #/usr/bin/sipsak > but it seemed that it is not working anymore? What is the problem with sipsak? /usr/bin/sipsak -s 'sip:10@somehostname' -r 5060 -vv -S -- Stefan Tichy ( asterisk3 at pi4tel dot de ) -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] nagios asterisk check SIP
Hello, you can use SIPPing: https://github.com/pbertera/SIPPing Best regards, 2016-06-17 11:22 GMT+02:00 Thomas: > Hi, > > Iam loocking for an programm to check the SIP port of an Asterisk asterisk. > > Ome time ago I have used > #/usr/bin/sipsak > but it seemed that it is not working anymore? > > Any ideas what I can use instead? > > > best regards > Thomas > > > -- > _ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: >http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users -- Bertera Pietro http://www.bertera.it -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios Asterisk
On Thu, Jun 18, 2009 at 12:04:26AM +0530, Sriram wrote: Hi I am trying to implement monitoring of asterisk (all 4 spans-i want to show them line by line Up or down) using nagios using below script, but i always get the status as down and red..can anyone let me know how to read an output from nagios plugin ? nagios etc is configured already and is working PATH=/bin:/sbin:/usr/bin:/usr/sbin FAILS= SPANS=$(asterisk -rnx pri show span 1 | grep -a PRI | awk '{print $3;}' | cut -d/ -f1) SPANS=$(ls /proc/dahdi /proc/zaptel 2/dev/null) -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios Asterisk
*FAILS= UP* should be *FAILS=UP* (without the space) it is a syntax error and if you test the script in console you will notice it immediately. On Wed, Jun 17, 2009 at 2:34 PM, Sriram d_r_sri...@hotmail.com wrote: Hi I am trying to implement monitoring of asterisk (all 4 spans-i want to show them line by line Up or down) using nagios using below script, but i always get the status as down and red..can anyone let me know how to read an output from nagios plugin ? nagios etc is configured already and is working PATH=/bin:/sbin:/usr/bin:/usr/sbin FAILS= SPANS=$(asterisk -rnx pri show span 1 | grep -a PRI | awk '{print $3;}' | cut -d/ -f1) STATUS=$(asterisk -rnx pri show span 1 | grep -a Status | awk '{print $3;}' | cut -d, -f1) if [ $STATUS == Up ]; then FAILS= UP else FAILS=Down fi if [ $FAILS != UP ]; then echo ISDN Lines down exit 2 fi echo ISDN OK exit 0 If anyone can share the above script for asterisk monitoring then i wud be grateful rgds Sriram ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
Brandon, I wanted to show my support this module as well. I would appreciate information on how to obtain the finished product and or help for beta testing. Kenny On Wed, 2007-04-11 at 14:11 -0500, Brandon Kruse wrote: I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse voip crazy wrote: Dear list, I am trying to configure the nagios plugin called check_sip. I just read the README file included with the plugin. I follow the readme steps to configure the plugin, without success. In the nagios web interface I can see (No output!) In the status information column. If I run the chech_sip plugin from a linux console, I get /usr/local/nagios/libexec# ./check_sip -u sip:[EMAIL PROTECTED] SIP 200 OK: 0.00 second response time I do not know why If I run the plugin from the consle it works ok, but if I run it from Nagios web interface it does not run. Anyone are using this plugin? Could you helpme to solve that? Any clue will be appreciated. Thanks for your time. VoipCrazy Here goes my nagios check_sip plugin configuration. define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ -H $HOSTADDRESS$ -w 5 } define service{ use generic-service host_name -PBX service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] contact_groups admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
Hi, Let me join all of you, interested in such monitoring tool. Cheers ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
brandon, engineers are BIB on monitoring... count me as one who wants to monitor!!! daveC Brandon Kruse wrote: Yes, I have actually written a resource module for asterisk and the gui to use rrdtool to make REAL pretty gradient shaded graphs based on asterisk data. So, if you want the cacti script, email me([EMAIL PROTECTED]) to get me motivated to rewrite it and make it awesome, and encouragement would be great. But, with a pbx not a pretty graph maker, I am now working on clientside graphing using svg(z) and doing httprequests to get manager information. Let me know if you are interested in that also, I didnt realize how much of a community was out there for monitoring :] -brandon Michael Collins wrote: On Wednesday 11 April 2007 03:11:38 pm Brandon Kruse wrote: I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse I did not appreciate how cool this was until I researched RRDTool and Cacti! I am definitely interested in this as well. I have a feeling that many in the * community will want to learn more about this. Thanks, MC ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Building Strong Relationships w/ Intelligent Customer Service -- Interlocking Business Solutions, LLC 856-380-0894 x5000 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
Hi, You might have to be a little more specific about what you mean when you say that it doesn't run from the web interface. Also, such errors might show up in /var/log/nagios.log. But all other things being equal, it sounds like it might be an execution permissions issue. More information would help! Thanks, -- Alex On Wed, 11 Apr 2007, voip crazy said something to this effect: Dear list, I am trying to configure the nagios plugin called check_sip. I just read the README file included with the plugin. I follow the readme steps to configure the plugin, without success. In the nagios web interface I can see (No output!) In the status information column. If I run the chech_sip plugin from a linux console, I get /usr/local/nagios/libexec# ./check_sip -u sip:[EMAIL PROTECTED] SIP 200 OK: 0.00 second response time I do not know why If I run the plugin from the consle it works ok, but if I run it from Nagios web interface it does not run. Anyone are using this plugin? Could you helpme to solve that? Any clue will be appreciated. Thanks for your time. VoipCrazy Here goes my nagios check_sip plugin configuration. define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ -H $HOSTADDRESS$ -w 5 } define service{ use generic-service host_name -PBX service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] contact_groups admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } -- Alex Balashov [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse voip crazy wrote: Dear list, I am trying to configure the nagios plugin called check_sip. I just read the README file included with the plugin. I follow the readme steps to configure the plugin, without success. In the nagios web interface I can see (No output!) In the status information column. If I run the chech_sip plugin from a linux console, I get /usr/local/nagios/libexec# ./check_sip -u sip:[EMAIL PROTECTED] SIP 200 OK: 0.00 second response time I do not know why If I run the plugin from the consle it works ok, but if I run it from Nagios web interface it does not run. Anyone are using this plugin? Could you helpme to solve that? Any clue will be appreciated. Thanks for your time. VoipCrazy Here goes my nagios check_sip plugin configuration. define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ -H $HOSTADDRESS$ -w 5 } define service{ use generic-service host_name -PBX service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] contact_groups admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
Hi Brandon, On Wednesday 11 April 2007 03:11:38 pm Brandon Kruse wrote: I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse I would be very interested in getting a copy of this for our Cacti install. Thanks, /BAK/ -- Ben Klang Alkaloid Networks 404.475.4850 [EMAIL PROTECTED] http://projects.alkaloid.net ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
I have a script as well. This actually may be yours Brandon. I found it through Google. It will just open a telnet session to the manager interface and count the ZAP and SIP channels. You just have to call the script through a OID in snmp.conf. Works really well with Cacti. I will forward it and how it is setup if you like. http://picasaweb.google.com/jonforrest.beck/AsteriskCLI/photo#5052274842733411794 On 4/11/07, Brandon Kruse [EMAIL PROTECTED] wrote: I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse voip crazy wrote: Dear list, I am trying to configure the nagios plugin called check_sip. I just read the README file included with the plugin. I follow the readme steps to configure the plugin, without success. In the nagios web interface I can see (No output!) In the status information column. If I run the chech_sip plugin from a linux console, I get /usr/local/nagios/libexec# ./check_sip -u sip:[EMAIL PROTECTED] SIP 200 OK: 0.00 second response time I do not know why If I run the plugin from the consle it works ok, but if I run it from Nagios web interface it does not run. Anyone are using this plugin? Could you helpme to solve that? Any clue will be appreciated. Thanks for your time. VoipCrazy Here goes my nagios check_sip plugin configuration. define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ -H $HOSTADDRESS$ -w 5 } define service{ use generic-service host_name -PBX service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] contact_groups admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- *** Forrest Beck IAXTEL: 17002871718 [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
K, I will be finishing it up this weekend if you want to help beta test. -brandon Ben Klang wrote: Hi Brandon, On Wednesday 11 April 2007 03:11:38 pm Brandon Kruse wrote: I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse I would be very interested in getting a copy of this for our Cacti install. Thanks, /BAK/ ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
thats the same idea forrest, correct. but if the need is great enough, I want to rewrite it with more features and default templates and other things like that. If anyone is interested in me rewriting it, send your feature request and a vote to [EMAIL PROTECTED] We will see how it turns out ;] -brandon Forrest Beck wrote: I have a script as well. This actually may be yours Brandon. I found it through Google. It will just open a telnet session to the manager interface and count the ZAP and SIP channels. You just have to call the script through a OID in snmp.conf. Works really well with Cacti. I will forward it and how it is setup if you like. http://picasaweb.google.com/jonforrest.beck/AsteriskCLI/photo#5052274842733411794 On 4/11/07, Brandon Kruse [EMAIL PROTECTED] wrote: I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse voip crazy wrote: Dear list, I am trying to configure the nagios plugin called check_sip. I just read the README file included with the plugin. I follow the readme steps to configure the plugin, without success. In the nagios web interface I can see (No output!) In the status information column. If I run the chech_sip plugin from a linux console, I get /usr/local/nagios/libexec# ./check_sip -u sip:[EMAIL PROTECTED] SIP 200 OK: 0.00 second response time I do not know why If I run the plugin from the consle it works ok, but if I run it from Nagios web interface it does not run. Anyone are using this plugin? Could you helpme to solve that? Any clue will be appreciated. Thanks for your time. VoipCrazy Here goes my nagios check_sip plugin configuration. define command{ command_namecheck_sip command_line$USER1$/check_sip -u $ARG1$ -H $HOSTADDRESS$ -w 5 } define service{ use generic-service host_name -PBX service_description SIP test check_command check_sip!sip:[EMAIL PROTECTED] contact_groups admins max_check_attempts 4 normal_check_interval 5 retry_check_interval1 notification_interval 240 check_period24x7 notification_period 24x7 notification_optionsc,r } ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Nagios asterisk monitoring
On Wednesday 11 April 2007 03:11:38 pm Brandon Kruse wrote: I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse I did not appreciate how cool this was until I researched RRDTool and Cacti! I am definitely interested in this as well. I have a feeling that many in the * community will want to learn more about this. Thanks, MC ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Nagios asterisk monitoring
Yes, I have actually written a resource module for asterisk and the gui to use rrdtool to make REAL pretty gradient shaded graphs based on asterisk data. So, if you want the cacti script, email me([EMAIL PROTECTED]) to get me motivated to rewrite it and make it awesome, and encouragement would be great. But, with a pbx not a pretty graph maker, I am now working on clientside graphing using svg(z) and doing httprequests to get manager information. Let me know if you are interested in that also, I didnt realize how much of a community was out there for monitoring :] -brandon Michael Collins wrote: On Wednesday 11 April 2007 03:11:38 pm Brandon Kruse wrote: I wrote a very extensive plugin for cacti to monitor asterisk. It uses the manager interface to poll and get statistics for 1.4 and 1.2. Let me know if you interested, ill post it, or email me directly. -bkruse I did not appreciate how cool this was until I researched RRDTool and Cacti! I am definitely interested in this as well. I have a feeling that many in the * community will want to learn more about this. Thanks, MC ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Nagios asterisk monitoring
Allow me to register my interest in any and all things that tie Asterisk information to Cacti. We use that here, and it's been on my to-do list for a lgg time. - Brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Kruse Sent: Wednesday, April 11, 2007 6:17 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Nagios asterisk monitoring Yes, I have actually written a resource module for asterisk and the gui to use rrdtool to make REAL pretty gradient shaded graphs based on asterisk data. So, if you want the cacti script, email me([EMAIL PROTECTED]) to get me motivated to rewrite it and make it awesome, and encouragement would be great. But, with a pbx not a pretty graph maker, I am now working on clientside graphing using svg(z) and doing httprequests to get manager information. Let me know if you are interested in that also, I didnt realize how much of a community was out there for monitoring :] -brandon The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] Nagios asterisk monitoring
Let me also add my interest, we've got a site using Nagios and haven't had time to work anything out yet related to Asterisk. Cheers, Joel. Joel Hill Support Engineer Asterisk IT On Wed, 2007-04-11 at 18:42 -0400, Watkins, Bradley wrote: Allow me to register my interest in any and all things that tie Asterisk information to Cacti. We use that here, and it's been on my to-do list for a lgg time. - Brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Kruse Sent: Wednesday, April 11, 2007 6:17 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Nagios asterisk monitoring Yes, I have actually written a resource module for asterisk and the gui to use rrdtool to make REAL pretty gradient shaded graphs based on asterisk data. So, if you want the cacti script, email me([EMAIL PROTECTED]) to get me motivated to rewrite it and make it awesome, and encouragement would be great. But, with a pbx not a pretty graph maker, I am now working on clientside graphing using svg(z) and doing httprequests to get manager information. Let me know if you are interested in that also, I didnt realize how much of a community was out there for monitoring :] -brandon The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users