On Thu, 15 Dec 2005, Marcio Merlone wrote: > [EMAIL PROTECTED]:/etc/nagios# su - nagios -s /bin/bash > [EMAIL PROTECTED]:~ > $ /usr/bin/aplay /usr/share/nagios/htdocs/media/critical.wav > Playing WAVE '/usr/share/nagios/htdocs/media/critical.wav' : Unsigned 8 > bit, Rate 11025 Hz, Mono > [EMAIL PROTECTED]:~$ > > It made a sound! But: > > [EMAIL PROTECTED]:/etc/nagios# su - nagios -c > "/usr/bin/aplay /usr/share/nagios/htdocs/media/critical.wav" > [EMAIL PROTECTED]:/etc/nagios# > > This makes nothing. Anyway, it is clear that the nagios user is able to > access /dev/dsp, since it played the sound on the first attempt.
Frankly I would not be so sure. But why does it not report anything on the type of file? Seems like you need to check that first. Perhaps brush up a bit on unix filesystems and access rights. try to check that first (Hint: ls -l /usr/share/nagios/htdocs/media/critical.wav) Then check de dsp device and see if it is available and not claimed by some other process. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Nagios-users mailing list Nagios-users@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