Commit Graph
23 Commits
Author SHA1 Message Date
mchasteen 0df4a86a0a Cleaned up for scrutinizer. 2015-03-04 14:24:31 -07:00
mchasteen 4013ca3a5a Fixed some formatting for generic sensors. 2015-03-03 17:06:49 -07:00
mchasteen 0bb26b9800 Added temperature support for APC portable AC units. 2015-03-03 16:55:30 -07:00
mchasteenandlaf 984e4a8cab Fixed the global alert_rull add SQL. Added a default value for disabled (set to 0). This could probably be fixed in the schema if the default value is set. 2015-02-26 23:04:05 +00:00
mchasteenandlaf 9d3b866202 This probably should have been commited earlier. Added some logic to remove NULL values from sensor DB inserts. 2015-02-26 23:04:02 +00:00
mchasteenandlaf af291f4fc7 Added some logic to keep a mac address that has no associated port from being added to the ipv4_mac table. I found that a cisco device was trying to add a loop-back mac address (000000000000). 2015-02-26 23:03:59 +00:00
mchasteenandlaf dd55334293 Rethought this code. Added some logic to detect a temperature value that contains more than numbers. 2015-02-26 23:03:56 +00:00
mchasteenandlaf 7996686e53 Fixed SQL error relating to the temperature in the cisco-envmon.inc.php in discovery. 2015-02-26 23:03:54 +00:00
mchasteenandlaf 87bd0da996 Fixed polling ports so that NULL values don't break stuff. Basically I just have a foreach loop to unset any NULL values. Also fixed the NOW() SQL statements at the end of polling. 2015-02-26 23:03:50 +00:00
mchasteenandlaf d7ea7e71bf Fixed polling mempool thing so that NULL values don't break things. 2015-02-26 23:03:48 +00:00
mchasteenandlaf 4781e6d05e Fixed the discovered_last field update thing. 2015-02-26 23:03:45 +00:00
mchasteenandlaf c2ab3e1d0d Fixed the discover_links function so that it can not blow up with NULL values. 2015-02-26 23:03:43 +00:00
mchasteenandlaf 03ad4b7bc5 Fixed SQL statement so things don't go broke. 2015-02-26 23:03:28 +00:00
mchasteenandlaf d47952f69e Fixed mempools function. 2015-02-26 23:03:25 +00:00
mchasteenandlaf 469a06ae93 Fixed processor discovery. SQL correctly inserts and updates now. Also fixed usage field for cisco devices. 2015-02-26 23:03:23 +00:00
mchasteenandlaf f70989542b Fixed entity-physical. Fixed the ifindex logic. Also fixed the update and insert function calls. 2015-02-26 23:03:20 +00:00
mchasteenandlaf b73f642bc6 Fixed vlan discover so there isn't any more SQL errors. Will need further testing. 2015-02-26 23:03:17 +00:00
mchasteenandlaf 357af32654 Fixed UpadteDB function. It didn't seem to work. I fixed the syntax and hopefullt this won't break other things, but I guess as I test I'll find out. 2015-02-26 23:03:14 +00:00
mchasteenandlaf a1ef2e0f69 Fixed the mysql auth include and the db schema. I set the desc field to be a varchar(200) and set it to be NULL by default (this is a personal preference but since it was not set in the code...). I fixed adduser function in html/includes/authentication/mysql.inc.php. I added $description and $twofactor to the function argument with default values and added descr and twofactor elements in the array passed to the dbInsert function call. OpenSuSE 13.2 2015-02-26 23:03:05 +00:00
Micah Chasteenandlaf 98aba4307f Fixed the INSERT line in build.sql so that graph order is always an int value of 0. 2015-02-26 23:02:59 +00:00
mchasteenandlaf 4c4e140044 I agree to the conditions of the Contributor Agreement
contained in doc/General/Contributing.md.
2015-02-26 19:38:11 +00:00
mchasteenandlaf 5de5d9c251 Added support for non-high precision APC UPS devices. Tested with APC UPS 8000XL. 2015-02-26 19:31:08 +00:00
mchasteenandlaf c1c26bf831 Added new sensor - Battery Charge. Added discover and polling for APC UPSes. 2015-02-26 19:30:49 +00:00