Proxmox + NetData for Better Insights and Notifications
I've been using Proxmox for a year or so and my biggest complaint is that the reporting on it tends to only happen once per minute rather than in real time. I understand that is probably to reduce overhead and that sort of thing, but I like to see something closer to real time even at the cost of some overhead.
In this video I'll show how to install NetData in Proxmox so you can not only get much more detailed information, but also get notifications when things like your container's hard drive have filled up.
There are lots of options on how to get notifications from NetData about your Proxmox setup, but in this video we're going to focus primarily on Discord notifications.
Proxmox + NetData for Better Insights and Notifications
Install
curl https://get.netdata.cloud/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh
Notifications
cd /etc/netdata
nano ./health_alarm_notify.conf
Scroll down to Discord section
Edit to look like this:
# enable/disable sending discord notifications
SEND_DISCORD="YES"
# Create a webhook by following the official documentation -
# https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks
DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/your-discord-channel-webhook-url-goes-here"
# if a role's recipients are not configured, a notification will be send to
# this discord channel (empty = do not send a notification for unconfigured
# roles):
DEFAULT_RECIPIENT_DISCORD="discord-channel-name"
role_recipients_discord[sysadmin]="systems"
role_recipients_discord[domainadmin]="domains"
role_recipients_discord[dba]="databases systems"
role_recipients_discord[webmaster]="marketing development"
role_recipients_discord[proxyadmin]="proxy-admin"
role_recipients_discord[sitemgr]="sites"
Test Notifications
/usr/libexec/netdata/plugins.d/alarm-notify.sh test
Uninstall NetData
curl https://get.netdata.cloud/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh --uninstall