mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* fix: Strip out " returned from Proxmox application * updated to str_replace
This commit is contained in:
committed by
Tony Murray
parent
42123010c8
commit
63569b5bbe
@@ -64,6 +64,7 @@ if ($proxmox) {
|
||||
$pmxcache = array();
|
||||
|
||||
foreach ($pmxlines as $vm) {
|
||||
$vm = str_replace('"', '', $vm);
|
||||
list($vmid, $vmport, $vmpin, $vmpout, $vmdesc) = explode('/', $vm, 5);
|
||||
print "Proxmox ($pmxcluster): $vmdesc: $vmpin/$vmpout/$vmport\n";
|
||||
|
||||
|
Reference in New Issue
Block a user