Proxmox application with Librenms

so in april i setup librenms, unfortunatly there was a problem with the proxmox snmp script but recently they fixed it. however i was still having problems running the snmp script as it needed to be run as root.

so after some googling i managed to find out that i need to edit the sudoers file on the proxmox server and add the following line.

snmp ALL=(ALL) NOPASSWD:ALL

this gives snmp root access to be able to run the script.

Source

Ninite Application Updater

Ninite is a service that lets users automatically install popular applications for their operating system. It allows users to make a selection from a list of applications and bundles the selection into a single installer package. There are currently two versions of the service, for Windows and Linux. It is free for personal use. A paid version, Ninite Pro, is available for business use. Ninite is developed by Patrick Swieskowski and Sascha Kuzins

Check it out Here

Assign applications to different sound outputs

so i have two sound cards on my pc.

one via the on-board sound card.
the other is via HDMI.

so i was intersted to find out if there was a way to assign applications to diffrent sound outputs and a quick google points out this awesome app called CheVolume
unfortunatly this app is not free so a little more googling i found Audio Router which is free.
links below.

CheVolume – Paid $24.99
Audio Router – Free

15/09/18 **Update** Microsoft has announced that they are going to release this feature in an upcoming version of windows 10

Hot Adding CPU’s to a linux Virtual Machine

so i wanted to add some more processing power to a vm i am running without restarting it but didnt know how.
a quick google search shows that vmware has created a script to do this for you, but i wanted to know how to do it my self.
so a quick check of the script and it does the following.

lists the idle cpu’s by running the following commmand
ls /sys/devices/system/cpu/ | grep cpu | grep -v idle
in my case this showed cpu2, cpu3
then activating those cpu’s by running
echo 1 > /sys/devices/system/cpu/cpu2
echo 1 > /sys/devices/system/cpu/cpu3
a quick run of htop shows all 4 processes now working correctly without restarting.

don’t you just love linux 🙂

Enjoy