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:108@192.168.30.10 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_name check_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:108@192.168.30.10 contact_groups admins max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 notification_interval 240 check_period 24x7 notification_period 24x7 notification_options c,r } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070411/56031ab1/attachment.htm
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:108@192.168.30.10 > 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_name check_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:108@192.168.30.10 > contact_groups admins > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 240 > check_period 24x7 > notification_period 24x7 > notification_options c,r > } >-- Alex Balashov <sasha@presidium.org>
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:108@192.168.30.10 > 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_name check_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:108@192.168.30.10 > contact_groups admins > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > notification_interval 240 > check_period 24x7 > notification_period 24x7 > notification_options c,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 >
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 ben@alkaloid.net http://projects.alkaloid.net
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 <bkruse@digium.com> 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:108@192.168.30.10 > > 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_name check_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:108@192.168.30.10 > > contact_groups admins > > max_check_attempts 4 > > normal_check_interval 5 > > retry_check_interval 1 > > notification_interval 240 > > check_period 24x7 > > notification_period 24x7 > > notification_options c,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 jonforrest.beck@gmail.com
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/ >
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 bkruse@digium.com 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 <bkruse@digium.com> 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:108@192.168.30.10 >> > 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_name check_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:108@192.168.30.10 >> > contact_groups admins >> > max_check_attempts 4 >> > normal_check_interval 5 >> > retry_check_interval 1 >> > notification_interval 240 >> > check_period 24x7 >> > notification_period 24x7 >> > notification_options c,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 >> > >
> 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. > > > > -bkruseI 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
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(<bkruse@digium.com>) 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 >
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(<bkruse@digium.com>) 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
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:108 at 192.168.30.10 > > 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_name check_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:108 at 192.168.30.10 > > contact_groups admins > > max_check_attempts 4 > > normal_check_interval 5 > > retry_check_interval 1 > > notification_interval 240 > > check_period 24x7 > > notification_period 24x7 > > notification_options c,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