playing short tune via beep
John Heim
jheim at math.wisc.edu
Wed Dec 19 15:53:07 UTC 2007
Thanks. That's pretty close to what I was hoping for.
I'm setting up a bunch of servers that I'll be monitoring via nagios and
snmp. The nagios server is in my office so i want it to beep distinctively
depending on what is wrong. I guess i'll have to experiment with beep until
I get what I want. I started doing that but it's kind of a pain. So examples
like yours help.
I've also been toying with the idea of connecting a modem to the nagios
server and having it call my cell if something is really, really wrong. I
could easily get it to dial the phone but I have no idea how to send some
kind of audio file. i would imagine that's possible since telemarketers do
it all the time.
----- Original Message -----
From: "Janina Sajka" <janina at rednote.net>
To: "Linux for blind general discussion" <blinux-list at redhat.com>
Sent: Tuesday, December 18, 2007 9:29 AM
Subject: Re: playing short tune via beep
> I'm cleaning out my mailbox and came across this somewhat old post ...
>
> John Heim writes:
>> I'm writing a script to alert me if a server gets too hot. I'd like it
>> to
>> play a couple of different short tunes via the beep command depending on
>> the temperature. Anybody have any beep recipes?
>>
>
> I define the following in my /etc/bashrc, then simply use wherever:
>
> alias beep0="beep -f 330 -l 100 -d1 -n -f 277 -l 100 -d1 -n -f 330 -l
> 100 -d 1 -n -f 440 -l 330"
> alias beep1="beep -f 55 -l 40 -d 1 -r 3"
> alias beep2="beep -f 988 -l 180 -d 33 -n -f 831 -l 110"
>
> hth
>
> Janina
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
>
>
More information about the Blinux-list
mailing list