29 Commits
Author SHA1 Message Date
Jellyfrog 5e5128a558 Apply fixes from StyleCI (#12285) 2020-11-01 01:48:24 +01:00
DerTFL 1374c56ade Fixed display "Power Status" for libvirt vm's (#12283)
* Update print-vm.inc.php

virsh (libvirtd (libvirt) 4.5.0) displaying status of VMs:
```
shut off
running
paused
```

* Update libvirt-vminfo.inc.php
2020-11-01 01:26:00 +01:00
Jellyfrog 82f43cb98d Apply fixes from StyleCI (#12120) 2020-09-21 15:40:17 +02:00
Tony Murray 1c08c11a77 Remove Laravel helpers (#11428)
* Remove Laravel helpers

* Replace qualifier with import
2020-04-18 00:37:56 +02:00
Tony Murray b18c41b1a9 refactor: Use the Config class includes/discovery (#7299)
* refactor: use the Config class includes/discovery

* fix issue with $config variable not accessible in include-dir.inc.php

* improved whitespace

* Tidy up discovery_by_ip
2017-09-11 21:26:41 +01:00
Richard Mayhew e4f48e661e Add additional eventlog severity levels (#5879) 2017-02-13 22:32:02 +00:00
Richard Mayhew 5bfd23e7eb webui: New eventlog severity classification (#5830)
* New event log severity model

* Revert "New event log severity model"

This reverts commit 0783527af8.

* New event log severity model

* Fixed spaces vs tabs

* Learning the format requirements

* Learning the format requirements

* Moved the colours in to the stylesheet

* change SQL file to stop conflicting

* refactor log_event so severity isn't last, but reference is.

* keep having to move the file due to new PR conflicts

* Revert "keep having to move the file due to new PR conflicts"

This reverts commit f3030e7218.

* extended support to dashboard and eventlog page

* formatting
2017-02-12 22:41:05 +00:00
Søren Rosiak 414efb3539 refactor: Various Code Cleanup (#5777)
* refactor: Various Code Cleanup

* moar
2017-02-05 22:37:08 +00:00
Alexander Kratzsch 74f04fa83d Use the value of the memory element with appropriate unit conversion. For the amount of CPUs, use the current attribute of vcpu but fall back on its value if it does not exist. 2016-10-17 08:56:48 +02:00
Alexander Kratzsch 6fb43d4ee0 Make the parser read in the correct values (at least for my setup) 2016-10-17 08:56:21 +02:00
Alexander Kratzsch 6a876295f0 Add -r flag to virsh to connect in readonly mode. The script should only read information, not change anything. 2016-10-17 08:56:21 +02:00
Tony Murray 9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
laf 558dfb2344 Pretty up the discovery process output 2016-06-21 00:59:43 +01:00
Jurrian van Iersel a1c5a9dbeb Update libvirt-vminfo.inc.php 2016-01-17 15:42:31 +01:00
Jurrian van Iersel 93e76a2b5a Added username support for libvirt over SSH 2016-01-09 14:20:57 +01:00
Mark Schouten 677a4f3f5f Remove all unneeded if($debug)-statements and replace them with d_echo . discovery dir.. 2015-08-21 16:10:01 +02:00
Job Snijders d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Alexander Sosna 5a7988e2e4 chmod 0644 to php files not directly executed 2015-04-28 22:58:03 +02:00
laf 38918c9348 Fixes for dbInsert / dbUpdate queries 2014-06-10 22:21:10 +01:00
laf 02792176fa Updated most files to use dbFacile 2014-03-12 22:21:33 +00:00
Adam Amstrong b273e04241 /// -> //
git-svn-id: http://www.observium.org/svn/observer/trunk@3240 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 12:24:34 +00:00
Adam Amstrong cacf913a55 # -> / for phpdoc
git-svn-id: http://www.observium.org/svn/observer/trunk@3239 61d68cd4-352d-0410-923a-c4978735b2b8
2012-05-25 11:29:53 +00:00
Tom Laermans b118ea7062 cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@2785 61d68cd4-352d-0410-923a-c4978735b2b8
2011-12-15 16:34:13 +00:00
Tom Laermans d864ce234f kill a whole bunch of trailing spaces
git-svn-id: http://www.observium.org/svn/observer/trunk@2516 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-20 09:55:11 +00:00
Tom Laermans 95ab5ad3ac optimize libvirt ssh connections a bit
git-svn-id: http://www.observium.org/svn/observer/trunk@2141 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-22 20:45:39 +00:00
Tom Laermans 2b9cad302d add xen support to libvirt vm discovery
git-svn-id: http://www.observium.org/svn/observer/trunk@2111 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-20 16:48:33 +00:00
Tom Laermans 75c1111d9c fix eventlog for libvirt vm addition
git-svn-id: http://www.observium.org/svn/observer/trunk@2093 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-18 11:19:33 +00:00
Tom Laermans f4754c6fd5 libvirt discovery now should no longer block discovery runs
git-svn-id: http://www.observium.org/svn/observer/trunk@2050 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-10 19:56:24 +00:00
Tom Laermans e3f4361e15 libvirt VM listing support (qemu/kvm over ssh only for now), renamed vmware table to something a little more generic
git-svn-id: http://www.observium.org/svn/observer/trunk@2030 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-06 15:25:35 +00:00