Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support HOW TO: Sound in Alert picture?

  • HOW TO: Sound in Alert picture?

    Posted by neverland on September 24, 2007 at 17:12

    Hi there, I am using Pandora FMS 1.3 beta 2 and now I want the alert picture ((dot_red.gif)) have alert sound….can i just change the picture to be video file ..I am not sure if this will work

    Point is in operation part>view agents>agent detail at Pandora Agents > Summary ,..I want Alerts column to have sound in the picture too.
    ..Anybody has any ideas
    thanks
    Mikan

    neverland replied 17 years, 5 months ago 3 Members · 7 Replies
  • 7 Replies
  • manu

    Member
    September 24, 2007 at 17:21
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi again, Mikan.

    Firstly I have moved the thread to the PandoraFMS forum.

    Secondly, and regarding to your question…
    You can use sounds alerts, it’s quite easy actually, just go to: manage alerts, and in alert type just set “sound alert” (in the agent menu; view agent->manage alerts)
    You should go also to “manage alerts” (in the menu on the left, that’s to say, “Administration:Manage alerts”, and click on the “Sound Alert” you will see by default:
    /usr/bin/play /usr/share/sounds/alarm.wav

    Change it to fit your needs.

    Hope this helps
    Manuel

  • neverland

    Member
    September 25, 2007 at 08:35
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    My pandora is set like what u said but it still not work

  • manu

    Member
    September 27, 2007 at 13:47
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    “still not work” doesn’t help too much actually, try to be more specific
    Are you able to run manually the entire command the alert is supposed to run?
    Try it and let us know the results

    Cheers
    Manuel

  • neverland

    Member
    September 27, 2007 at 14:25
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    hi manu i have try this /usr/bin/play /usr/share/sounds/alarm.wav
    manually but there is no sound appear what should i do ?

  • manu

    Member
    September 27, 2007 at 15:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Most likely you might need to check all that…
    Is that *your* path?
    Do you have alarm.wav there?
    What happen if you try with any other .wav file?

  • Sancho

    Administrator
    September 27, 2007 at 17:37
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    hi manu i have try this /usr/bin/play /usr/share/sounds/alarm.wav
    manually but there is no sound appear what should i do ?

    You’ve a problem with your audio system, not with Pandora :). Try to probe audio using another source mpg123 or a simple redirection like:

    cat /usr/bin/yes >> /dev/audio

    This should generate “noise” on your speakers, if not, you have a problem. Try to solve before launching an alert with Pandora. Check permissions of /dev/audio and make sure that user running pandora server is able to write to it.

  • neverland

    Member
    September 28, 2007 at 06:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    hi nil i have tried the below command as you said
    cat /usr/bin/yes >> /dev/audio
    and it generate no sound
    what should i do ? i think the computer might not have sound itself
    and i am newbie for linux how can i make it generate since i continue someone work
    thanks