Commit Graph

153 Commits

Author SHA1 Message Date
Tony Murray
a83e126b40 refactor: Remove inappropriate usages of truncate() (#5028)
Where truncate() is used as substr(), replace with substr()
2016-11-20 11:12:25 +00:00
Aaron Daniels
a2563c5b67 feature: Added Cisco Integrated Management Console inventory and sensor support #4454 2016-10-06 01:40:37 +01:00
boudreau
ae9d36175b Create runtime.inc.php 2016-09-19 11:02:15 -04:00
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
crcro
96ed9c072c run rename only for ipmi type sensors, added the power usage sensors, updated rewrite for known hosts 2016-08-10 04:55:30 +03:00
crcro
d5b499bae3 ipmi sensors rewrite based on known hardware id 2016-08-10 00:20:51 +03:00
Tony Murray
8f00f49b79 Group sensors of the same type together, then order by index, oid 2016-07-22 18:36:10 -05:00
laf
f3ee9dcc2e Fixed php short tags 2016-05-02 18:43:06 +00:00
Daniel Preussker
975ddbc517 Revert "Fixed php short tags :/" 2016-05-02 20:19:18 +02:00
laf
a14ae0bc18 Fixed php short tags :/ 2016-05-02 18:09:58 +00:00
Aaron Daniels
4545aea28d - Services widget on device overview page was still displaying legacy status
while the database has been storing nagios style status.
  Modified to: 0=Ok, 1=Unknown, 2=Critical.
2016-04-26 07:04:22 +10:00
Tony Murray
46a0bbfc82 Add PoE state to Netonix devices
Allow for non-numeric states.  state_descr must match what is returned by the device.
2016-04-23 20:56:21 -05:00
Aaron Daniels
111a52d48c Merge branch 'master' into issue-2193 2016-04-12 07:34:40 +10:00
Neil Lathwood
f4073bd01f Merge pull request #3300 from dmelani/toner_width
Make toner overview line up with the rest
2016-03-30 08:26:14 +01:00
Daniel Melani
c2a2927894 Make toner overview line up with the rest 2016-03-29 16:14:53 +02:00
Paul Heinrichs
a13d148fb1 Added Signal Sensor 2016-03-22 10:37:07 -04:00
Aaron Daniels
0d6cfec589 Nagios Services
- Moved check-services.php to a poller module
    - Added performance data collection to the poller
    - Centralised DB functions to includes/services.inc.php
    - Created add/edit/delete functions off the device, services page
    - Removed legacy edit/delete interfaces.
    - Moved and modified check.inc scripts
    - Documentation Updates
    - Modified services table
2016-03-15 22:23:14 +10:00
Rosiak
eff7e18d4e Align tables
Something that bugged me for a while..
2016-02-28 02:29:51 +01:00
Rosiak
74db415404 Fixup 2016-02-28 01:27:23 +01:00
Rosiak
f298ccb30f Scrut fix 2016-02-27 19:12:13 +01:00
Rosiak
6923a32dbd A few things
ucwords = happy ocd

Basic state page

Allign order = happy ocd
2016-02-27 02:35:28 +01:00
Rosiak
ebe9154934 Added more sensors 2016-02-27 01:56:50 +01:00
Rosiak
928fd70ced Proper State Monitoring 2016-02-26 23:40:34 +01:00
Tony Murray
e3ec42c06d Deal with 0 value for sensor data better.
Issue #2883
2016-02-09 14:20:36 -06:00
Mike Rostermund
ac572e1558 Sort sensors by OID to more logically group sensors on device overview 2016-01-30 23:02:09 +01:00
Louis Bailleul
b40bd2f467 Rebase 2015-12-21 13:26:48 +00:00
Louis Bailleul
ee75091c44 Use browser width to scale cpu and bandwidth graphs on device overview 2015-12-21 13:25:23 +00:00
Louis Bailleul
a56344246a Cleanup and reorganize code
Make the average cpu the default
2015-11-23 09:37:58 +00:00
Louis Bailleul
439193c9fa Add the number of cpu between the type and percent graph 2015-11-20 15:53:02 +00:00
Louis Bailleul
ee99ee89d6 Replace tab by space 2015-11-20 15:48:44 +00:00
Louis Bailleul
8921c75d1e Fix formatting 2015-11-20 15:40:57 +00:00
Louis Bailleul
a2bc1a4513 Add possibility to merge all cpu in one graph in the device overview 2015-11-20 15:33:56 +00:00
Mike Rostermund
868e4d0920 Device overview: all headers are now bold and elements within are not. 2015-10-08 19:38:34 +02:00
Mike Rostermund
2da11dbe31 Make header for mempools section bold for consistency 2015-10-07 15:07:16 +02:00
Daniel Preussker
7832868dd6 Added generic memcached support to dbFacile.*
Remove now obsolete memcached code in:
  html/ajax_rulesuggest.php

Remove all the broken memcached code in:
  html/pages/device/health/mempool.inc.php
  html/pages/device/overview/generic/sensor.inc.php
  html/pages/device/overview/mempools.inc.php
  html/pages/device/port.inc.php
  html/pages/device/ports.inc.php
  html/pages/health/sensors.inc.php
  includes/polling/functions.inc.php
  includes/polling/mempools.inc.php
  includes/polling/ports.inc.php
  includes/polling/storage.inc.php
2015-09-27 19:33:17 +00:00
Mark Schouten
4fa88bb928 Remove all unneeded if($debug)-statements and replace them with d_echo . html dir.. 2015-08-21 16:10:01 +02:00
Mike Rostermund
0cc3e1a9e2 Remove php closing tags to fix scrut issues 2015-08-04 19:29:43 +02:00
laf
2e24c633c9 Added Syslog, Eventlog and Globe Map widgets 2015-08-01 15:36:15 +00:00
Daniel Preussker
6efe5b086c Merge pull request #1370 from travishegner/lazyload
Lazyload
2015-07-18 22:02:13 +02:00
laf
f98dce4f61 Shorten descriptions with interface names in 2015-07-18 18:55:24 +01:00
Clint Armstrong
b5e8998c70 apply lazyload patch 2015-07-16 12:42:58 -04:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Job Snijders
ebd0f6fc35 Apply "Squiz" code style on old (pre-2014) files 2015-07-11 16:12:35 +02:00
laf
44432c85e5 Added load and state to device overview 2015-06-24 16:53:10 +01:00
Paul Gear
b84b8de09f Merge pull request #1110 from laf/issue-279
Updated mysql DATE_FORMAT() and php date() to use $config variables
2015-06-13 10:15:23 +10:00
laf
6496e6ece4 Consistent date formatting from MySQL 2015-05-22 13:38:52 +01:00
laf
6e84535031 Dynamic config system 2015-05-14 21:54:33 +01:00
mchasteen
4013ca3a5a Fixed some formatting for generic sensors. 2015-03-03 17:06:49 -07:00
mchasteen
c1c26bf831 Added new sensor - Battery Charge. Added discover and polling for APC UPSes. 2015-02-26 19:30:49 +00:00
laf
50157a721c Fixed an issue with c6kxbar.inc.php 2014-02-27 18:43:39 +00:00