No sound in GUI for cacti VM on ESXi 6.5

Addons for Cacti and discussion about those addons

Moderators: Moderators, Developers

Post Reply
Author
Message
kalamchi
Posts: 1
Joined: Wed Sep 07, 2016 8:19 am

No sound in GUI for cacti VM on ESXi 6.5

#1 Post by kalamchi » Fri Feb 02, 2018 6:00 am

Hi,

I have few Cacti virtual machines, deployed in ESXi 6.5 hosts. Monitor plugin is installed and working, however, I don't hear any alarm sounds when I test by shutting down one of the monitored machines.
There must be a trick to enable the sound somehow in the VM to be played via the GUI. I'm just not sure how ! I went and edited the Cacti VM settings in vSphere, adding a sound card, then rebooted the VM. That did not do the trick.

Any ideas please ?

Thanks

netniV
Cacti Guru User
Posts: 2667
Joined: Sun Aug 27, 2017 12:05 am

Re: No sound in GUI for cacti VM on ESXi 6.5

#2 Post by netniV » Fri Feb 02, 2018 2:58 pm

To clarify, are you saying that you have the cacti website open on a web browser ...
  • ... when connected to the VM?
    • What technology are you using to connect to the VM?
    • VNC?
    • RDP?
    • vmWare Remote Console?
  • ... from a client PC?
What OS are you browsing the site from?

cigamit
Developer
Posts: 2771
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: No sound in GUI for cacti VM on ESXi 6.5

#3 Post by cigamit » Sat Feb 03, 2018 12:05 am

What I have found in my normal day to day in the past (its been a while since I tested it though) is that a VM in VMWare will not play sounds unless the host esxi box actually has a Physical sound card in it, even if you add a virtual sound card to the VM.

User avatar
camerabob
Cacti User
Posts: 275
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: No sound in GUI for cacti VM on ESXi 6.5

#4 Post by camerabob » Thu Mar 22, 2018 6:40 am

Even if you have added the 'HD audio' component in the Virtual Machine Properties it won't play audio locally:
audio.png
audio.png (21.1 KiB) Viewed 754 times
My Dell PowerEdge 2950 does not have integrated audio and before I went to a bare metal Hypervisor, I couldn't get audio to play on that server with either Windows Server 2008 R2 nor Virtual Box running on top of that. My radio server is running in a Windows 7 virtual desktop and I stream all day long using Shoutcast (a WinAmp invention). When I am in the remote desktop session though, I do not get any audio as Cigamit has said.
See the Cacti 1.x templates I use at: http://www.camerabob.com/cacti

Live: Cacti 1.2.3 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Test: Cacti 1.2.4 @ CentOS 7-6.1810.2.el7 & PHP 5.4.16-46.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Post Reply