2016-08-24 08:12:20 +01:00
source: Extensions/Proxmox.md
2015-08-28 13:31:44 +02:00
# Proxmox graphing
2016-01-30 22:37:28 -05:00
It is possible to create graphs of the Proxmox **VMs** that run on your monitored machines. Currently, only traffic graphs are created. One for each interface on each VM. Possibly, IO graphs will be added later on.
2015-08-28 13:31:44 +02:00
The ultimate goal is to be able to create traffic bills for VMs, no matter on which physical machine that VM runs.
### Enabling Proxmox graphs
To enable Proxmox graphs, do the following:
In config.php, enable Proxmox:
```php
2015-11-21 17:36:01 +01:00
$config['enable_proxmox'] = 1;
2015-08-28 13:31:44 +02:00
```
2016-07-28 21:21:43 +01:00
Then, install [librenms-agent ](http://docs.librenms.org/Extensions/Applications/ ) on the machines running Proxmox and enable the Proxmox-script using:
2015-11-21 17:36:01 +01:00
2015-08-28 13:31:44 +02:00
```bash
2015-11-21 17:36:01 +01:00
cp /opt/librenms-agent/proxmox /usr/lib/check_mk_agent/local/proxmox
chmod +x /usr/lib/check_mk_agent/local/proxmox
2015-08-28 13:31:44 +02:00
```
2015-11-21 17:36:01 +01:00
Then, restart the xinetd service
```bash
/etc/init.d/xinetd restart
```
2015-08-28 13:31:44 +02:00
2015-11-21 17:36:01 +01:00
Then in LibreNMS active the librenms-agent and proxmox application flag for the device you are monitoring.
2015-08-28 13:31:44 +02:00
You should now see an application in LibreNMS, as well as a new menu-item in the topmenu, allowing you to choose which cluster you want to look at.