Ad Widget

Collapse

Syntex required to generate a beep/sound alert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tahir.bhatti
    Member
    • Dec 2006
    • 56

    #1

    Syntex required to generate a beep/sound alert

    hi all

    can any one tell me that how i can generate a beep or sound alert when any trigger become TRUE.
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,
    Originally posted by tahir.bhatti
    can any one tell me that how i can generate a beep or sound alert when any trigger become TRUE.
    Are you referring to the server making the beep / sound, or a web browser?

    If you are referring to a web browser, this is already semi-implemented in the UI. When you look at the tr_status page, it will play a sound when the number of true triggers changes. This is turned on by default for IE users, but firefox and opera users will need to configure their browsers to enable the audio tag.

    If you are referring to the server, I recommend using a simple action which calls a media type script. I used to have a similar script that played 'ode to joy' as soon as all of my triggers cleared. Is pretty simple to create. The script could be as simple as echoing CTRL+G a couple of times, or as complex as a console based mp3 player firing up 'All Along The Watchtower.mp3', or if you are an old SunOS hand like me, you could do something like 'cat inqusition.au > /dev/audio' to hear Monty Python doing their Spanish Inquisition skit.
    Unofficial Zabbix Developer

    Comment

    • tronite
      Senior Member
      • Jun 2007
      • 147

      #3
      Originally posted by James Wells
      Greetings,

      Are you referring to the server making the beep / sound, or a web browser?

      If you are referring to a web browser, this is already semi-implemented in the UI. When you look at the tr_status page, it will play a sound when the number of true triggers changes. This is turned on by default for IE users, but firefox and opera users will need to configure their browsers to enable the audio tag.

      If you are referring to the server, I recommend using a simple action which calls a media type script. I used to have a similar script that played 'ode to joy' as soon as all of my triggers cleared. Is pretty simple to create. The script could be as simple as echoing CTRL+G a couple of times, or as complex as a console based mp3 player firing up 'All Along The Watchtower.mp3', or if you are an old SunOS hand like me, you could do something like 'cat inqusition.au > /dev/audio' to hear Monty Python doing their Spanish Inquisition skit.
      Sounds like you know your stuff man, I commend you.

      Comment

      Working...