RE: [Asterisk-Users] Nagios and Asterisk

2006-01-30 Thread Mimmus
I put a .call file under asteriskserver:/var/spool/asterisk/outgoing via scp
(with keys)


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Darrell Long
 
 Is anyone using Asterisk (and Festival) to make calls to 
 appropriate persons (techs, etc. ) when Nagios generates a 
 particular type of alert?
 
 If so, I would love to hear how people are doing 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 and Asterisk

2006-01-30 Thread Tzafrir Cohen
On Mon, Jan 30, 2006 at 10:08:00AM +0100, Mimmus wrote:
 I put a .call file under asteriskserver:/var/spool/asterisk/outgoing via scp
 (with keys)

There are chances asterisk will read the file before the sshd has
completed writing it. Normally you need to move it into the spool
directory.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend

___
--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 and Asterisk

2006-01-30 Thread Roy Sigurd Karlsbakk
Is anyone using Asterisk (and Festival) to make calls to  
appropriate persons (techs, etc. ) when Nagios generates a  
particular type of alert?


If so, I would love to hear how people are doing it.


yeah...
do that on ALL the services and hosts, and see how long it takes  
before your colleagues beat you to death :)


--
Roy Sigurd Karlsbakk
[EMAIL PROTECTED]
---
In space, loud sounds, like explosions, are even louder because there  
is no air to get in the way.



___
--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 and Asterisk

2006-01-28 Thread Michiel van Baak
On 09:20, Sat 28 Jan 06, James Harper wrote:
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:asterisk-users-
  [EMAIL PROTECTED] On Behalf Of Darrell Long
  Sent: Saturday, 28 January 2006 05:37
  To: Asterisk Users Mailing List - Non-Commercial Discussion
  Subject: [Asterisk-Users] Nagios and Asterisk
  
  Is anyone using Asterisk (and Festival) to make calls to appropriate
  persons (techs, etc. ) when Nagios generates a particular type of
 alert?
  
  If so, I would love to hear how people are doing it.
 
 I'm not doing that but dropping a call file in should do the trick
 shouldn't it?
 
 Along the same lines, does anyone know of any snpp servers that are
 compatible with app_sms? I have nagios on another server and would like
 to send pages via app_sms and so an snpp server running on the asterisk
 server would be a good way to go about it.

We stopped using asterisk for it and switched to bayham sms
:) They provide a perl agi that is easy to change so it
doesn't need asterisk to send sms :)
-- 
Michiel van Baak
http://michiel.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Why is it drug addicts and computer afficionados are both called 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 and Asterisk

2006-01-28 Thread Jon Pounder

 Is anyone using Asterisk (and Festival) to make calls to appropriate
 persons (techs, etc. ) when Nagios generates a particular type of alert?

 If so, I would love to hear how people are doing it.

I was using bigbrother to do something similar I used wget to read from
the status page, and detect colour changes to the status (like bbtray
does), on a good/bad or bad/good change I dropped a call file in the
callqueue directory that just played a canned wav file when the extension
was picked up.

since then changed to an email to sms gateway since it got too damn
annoying, especially the fact the calls queued and repeated when
unanswered



 Thanks,

 --
 Darrell S. Long
 BestWeb Corporation



 ___
 --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



Jon Pounder

   _/_/_/  _/_/  _/   _/_/_/  _/_/  _/_/_/_/
_/_/_/  _/  _/ _/_/_/  _/  _/_/
   _/_/  _/_/  _/ _/_/  _/_/  _/
_/_/_/  _/_/  _/_/_/_/ _/_/_/  _/_/  _/_/_/_/


Inline Internet Systems Inc.
Thorold, Ontario, Canada

Tools to Power Your e-Business Solutions
www.inline.net
www.ihtml.com
www.ihtmlmerchant.com
www.opayc.com
___
--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 and Asterisk

2006-01-27 Thread Joseph Tanner
I have used both, just not together.  I have a possible idea though.
If they're running on separate servers, you can have nagios send an
email that the asterisk server receives.  Have different email aliases
for different alerts, or have a script parse the email to see what
kind of alert it is.  Have this script generate a .call file in
/var/spool/asterisk/outgoing based on the type of alert.  If they're
running on the same server you might be able to skip having to send an
email (but if not, then just have it send an email to a local user,
it'll work the same).

Personally, I just had Nagios send an email whenever there was a
problem.  If the tech is in front of their workstation, they'll get a
notice immediately.  If not, you could have a text message sent
instead.  Worked great for me.

On 1/27/06, Darrell Long [EMAIL PROTECTED] wrote:
 Is anyone using Asterisk (and Festival) to make calls to appropriate
 persons (techs, etc. ) when Nagios generates a particular type of alert?

 If so, I would love to hear how people are doing it.

 Thanks,

 --
 Darrell S. Long
 BestWeb Corporation



 ___
 --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 and Asterisk

2006-01-27 Thread JP Carballo

Darrell Long wrote:

Is anyone using Asterisk (and Festival) to make calls to appropriate 
persons (techs, etc. ) when Nagios generates a particular type of alert?


If so, I would love to hear how people are doing it.

Thanks,

It's as simple as defining a host or service notification command 
consisting of a .call file generating script.

The context it drops to will contain your festival routine.
You'll find the pertinent info on voip-info.org

You then give Nagios the proper contact host or service notification 
options so that voice won't nag you when everything's fine.


I admit I no longer have festival running.
It's a good idea at first but after you hear the voice one too many 
times for an error message you will find yourself switching to email/sms :)
I just keep the option activated for the possibility that my internet 
provider will fail, but I use my own recorded message now.


--
JP Carballo

http://www.netfone2x.com
Bringing the world closer.

It might look like I'm doing nothing, but at the cellular level, I'm really quite busy. 


___
--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 and Asterisk

2006-01-27 Thread James Harper
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] On Behalf Of Darrell Long
 Sent: Saturday, 28 January 2006 05:37
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: [Asterisk-Users] Nagios and Asterisk
 
 Is anyone using Asterisk (and Festival) to make calls to appropriate
 persons (techs, etc. ) when Nagios generates a particular type of
alert?
 
 If so, I would love to hear how people are doing it.

I'm not doing that but dropping a call file in should do the trick
shouldn't it?

Along the same lines, does anyone know of any snpp servers that are
compatible with app_sms? I have nagios on another server and would like
to send pages via app_sms and so an snpp server running on the asterisk
server would be a good way to go about it.

Thanks

James
___
--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 and Asterisk

2006-01-27 Thread Patrick
On Sat, 2006-01-28 at 09:20 +1100, James Harper wrote:
[snip]
 Along the same lines, does anyone know of any snpp servers that are
 compatible with app_sms? I have nagios on another server and would like
 to send pages via app_sms and so an snpp server running on the asterisk
 server would be a good way to go about it.

I'm in Europe and pagers died here (if they ever lived) when bellbottoms
went out of style but perhaps this link is of help:
http://www.qpage.org/

Regards,
Patrick

___
--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 and Asterisk

2006-01-27 Thread JP Carballo

Patrick wrote:
snip


I'm in Europe and pagers died here (if they ever lived) when bellbottoms
went out of style but perhaps this link is of help:
http://www.qpage.org/

Regards,
Patrick
 


Lol!
Pagers were being improved upon and were still pretty much in use in 
Asia 4 years ago.
The last one I played with had mp3 capabilities and games and a tiny 
thumbpad.
Their extinction was caused by the widespread adoption of prepaid SIM 
cards for cellphones and SMS.


It's funny though that the last time I saw a bellbottom there was about 
the same time.


--
JP Carballo

http://www.netfone2x.com
Bringing the world closer.

It might look like I'm doing nothing, but at the cellular level, I'm really quite busy. 


___
--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 and Asterisk

2004-12-30 Thread Lyle Giese
Look for sipsak.

 http://sipsak.berlios.de 

Lyle

- Original Message - 
From: Matt Schulte [EMAIL PROTECTED]
To: asterisk-users@lists.digium.com
Sent: Thursday, December 30, 2004 9:54 AM
Subject: [Asterisk-Users] Nagios and Asterisk


Does anyone have some decent Nagios scripts out there that do more than
monitor the proc itself? Rather than reinvite the wheel, figured I'd
ask. I already saw the one on the wiki.

Matt
___
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

___
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