Olivier
2006-Nov-29 04:02 UTC
[asterisk-users] Monitoring an asterisk server during off hours
Hi, During off hours, a server of mine simply forward incoming calls to an outside number, so that no user is locally available to report or notify downtimes. As availability is here a major requirement, I'm looking for a cost effective and reliable way to monitor this server. Should I simply call every 10 minutes, a dedicated extension to check PSTN lines and server availability or is there a smarter way to do it ? Setup: Nagios ----- Monitoring Asterisk ---------- PSTN ---------- Monitored Asterisk --------- VPN access ------www ------- Back to Monitoring Asterisk With this a single check would test PSTN lines, asterisk server and VPN access availability. I don't think it should be very difficult to trigger a call from Nagios. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061129/c2e93bed/attachment.htm
Mattias Andersson
2006-Nov-29 04:15 UTC
[asterisk-users] Monitoring an asterisk server during off hours
Somewhere did I see a test script. I will see if I can find it once more. With that information should you be able to write a simple script that monitor the server and then will notify you if the server stop responding. PING wold maybe also be a help. //Mattias On 29/11/06, Olivier <oza-4h07@myamail.com> wrote:> > Hi, > > During off hours, a server of mine simply forward incoming calls to an > outside number, so that no user is locally available to report or notify > downtimes. > As availability is here a major requirement, I'm looking for a cost > effective and reliable way to monitor this server. > > Should I simply call every 10 minutes, a dedicated extension to check PSTN > lines and server availability or is there a smarter way to do it ? > > Setup: > Nagios ----- Monitoring Asterisk ---------- PSTN ---------- Monitored > Asterisk --------- VPN access ------www ------- Back to Monitoring Asterisk > > With this a single check would test PSTN lines, asterisk server and VPN > access availability. > I don't think it should be very difficult to trigger a call from Nagios. > > Regards > > _______________________________________________ > --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 > > >-- Mattias Andersson -------------------------------- Storskiftesv?gen 6 145 60 Norsborg m. +46-70-799 44 41 h. +46-8-641 38 97 Email: eskes1@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061129/80ff3768/attachment.htm