Sound Alerts and Nagios2.0b2
Sean Dilda
agrajag at dragaera.net
Mon Apr 4 22:29:29 CEST 2005
Chris Stankaitis wrote:
>
>>
>>
>> No, I wouldn't do it as an event handler. I'd do it as a contact.
>> I'd go into misccommands.cfg, create a command called
>> notify-by-email-and-sound, then I'd create a shell script on the
>> system that did the normal email notification and also played the
>> sound. Then I'd change my contact entry to use that as the
>> notification_command.
>>
>> In other words, I would use the existing notification setup in nagios
>> to play the sound. Then it can have different sounds for
>> acknowledgments, etc.
>>
>>
>
> That won't work, the nagios server that generates the e-mail and serves
> the web pages is located in a colo about 20 minutes away from the
> office, that will not help the NOC guys here in the office.
I fail to see how configuring an event handler to ssh to a local box and
play a sound will work, but writing a notification script to ssh to a
local box and play a sound will not work. You're writing essentially
the same script in both cases. Its just a question of how you're
hooking it into nagios.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list