Nagios and Festival
Terry L. Inzauro
tinzauro at ha-solutions.net
Tue Dec 16 18:40:25 CET 2008
TheCajun wrote:
> I have recently upgraded to Fedora10. It seems every release they
> decide to break something. Fedora9 was Video.
>
> I have Nagios working using my old configuration from Fedora9. But when
> a monitored service has a problem, I get no audio. Log shows this..
>
> Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: domino;(null);(null);(null);host-notify
> Dec 16 01:23:58 localhost nagios: SERVICE ALERT: zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65
> Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 1.65
> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied
> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1"): initialization failed.
> Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM device hw:0: Permission denied
> Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1"): initialization failed.
>
>
> If I su to nagios user and use festival directly, I get this..
>
> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
> I: caps.c: Dropping root privileges.
> I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
>
>
> Festival does work as root, and I can play music using xmms logged on as
> my normal user.
>
> During my searches, it was suggested to add nagios to certain pulseaudio
> groups which I did. This did nothing.
>
> Any one have any ideas?
>
> Thank you for any help.
>
> Durwin
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> 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
Try seeing what the group perms are for /dev/audiodevice and update your nagios user/group
accordingly. maybe they changed perms on you...lowlife bastards ;(
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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