I've got a nagios plugin making sure the * box is up, but I would like to do more than that. I need to make sure the PRIs connected to my box stay up and I need to make sure calls are not failing for any reason. Are there any * monitoring packages like this? -Daniel
Daniel Corbe wrote:>I've got a nagios plugin making sure the * box is up, but I would like >to do more than that. > >I need to make sure the PRIs connected to my box stay up and I need to >make sure calls are not failing for any reason. Are there any * >monitoring packages like this? > >-Daniel >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >http://www.voip-info.org/wiki-Example+Argus+Config
On Mon, 21 Feb 2005 08:00:40 -0500, Daniel Corbe <daniel.junkmail@gmail.com> wrote:> I need to make sure the PRIs connected to my box stay up and I need to > make sure calls are not failing for any reason. Are there any * > monitoring packages like this?There aren't any specific tools that do exactly what you want afaik. It wouldn't take much to taylor a few things yourself though. As for the PRI processing calls. You could always drop a call file in from the cron every 10 minutes that makes a call out and back in. Then you you can run a script that looks over your CDR to verify that the call was received. Have it call a specific context or application to look for. As for calls "failing" this could be a challange. What do you consider failing? You could use something like my-swatch to tail the log file looking for certain patterns. PRI alarms would be an obvious. Might take you a day or so to get these things going, but it would be well worth your time and piece of mind. -Chuji
On Mon, 2005-02-21 at 08:00 -0500, Daniel Corbe wrote:> I've got a nagios plugin making sure the * box is up, but I would like > to do more than that. > > I need to make sure the PRIs connected to my box stay up and I need to > make sure calls are not failing for any reason. Are there any * > monitoring packages like this?Interesting you should ask this today... I got to work this morning and was wondering why some of my calls were still diverting to my mobile. Eventually I realised that they were diverting on no answer. A restart of asterisk, reload of modules etc made no differences, I couldn't do anything with the line. Eventually I worked out it was a telco problem (no dialtone/etc) so I logged the fault. I looked at zttool and it showed a red alarm... In around 10-20 minutes I hacked zttool.c and converted it into a very basic cli version (which doesn't need newt) and would just dump the current status of all the spans. Similar to what you see on screen when you first start zttool. Then, I threw together some simple shell scripting to analyse/send the report to BigBrother (www.bb4.org). So far it is working nicely, by tomorrow night (yes, 27 hours after reporting it) hopefully my line should come back, and the alarm should change to OK... I'll put the package etc onto www.deadcat.net (BB addons website) and drop a post here when it is done. Will also put it onto www.websitemanagers.com.au/asterisk/ BTW, I did need to suid the zttool-cli command to root, as the normal BB user doesn't have the needed permissions. I haven't looked into this, but if anyone has a suggestion on a better way to do this, feel free to let me know. Regards, Adam -- -- Adam Goryachev Website Managers Ph: +61 2 9345 4395 adam@websitemanagers.com.au Fax: +61 2 9345 4396 www.websitemanagers.com.au