librenms/tests
Fehler12 12c88f4af0
rework: Cisco SB Switch Temp and Fanspeed fix (#15225)
* rework

Sorry for the long waiting time. I've made some tests and found that the value 0 should be ignored anyway because some Cisco switches report a non-existing fan with a speed of 0 which causes several errors when adding e.g. a fanless switch. Therefore I would like to suggest to keep the skip_value for this case.

I've also seen no more fan flapping with the most recent switch firmware so maybe Cisco has fixed something internally.

* Fix Test Data sg350x-24p

* Corrected other ciscoSB-Test data

Corrected other ciscoSB-Test data

* Removed ciscosb generic test data

This snmprec behaves different for my test system and the git checks. In addition the model is missing.

* Reverted cbs250 testfile

For some reason the generated test file contains errors. Reverting

* Weired fix

* Fixed weired update

* Recreated snmp data for cbs250

Recreated snmp data for cbs250

* updatet test data

Reworked Test data with most recend version

* Removed unused SNMPsim-Data

the ciscosb_x snmpsim Data are not used. Most device types are covered with the other test data. SRW-Switch line is currently not fully working. I have such an old device I'll add test data in the future.

* Recaptured cbs250 Test Data

* Renamed cbs250 test data

I have the impression that the online test somehow does not reload the snmprec data correctly. Therefore I rename it to make sure it handles it as a new device

* Removed VLANs

* Removed Farenheit to Celsius conversion

It seems that with the most recent version cisco reports the temperature in C. https://community.librenms.org/t/cisco-cbs-350-reads-wrong-temperature/22038

* Fixed wrong copied data

* Altered warning limit to CLI-values

* Added snmprec data back

Added snmprec data back
2023-11-01 23:28:57 -05:00
..
Browser Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
data rework: Cisco SB Switch Temp and Fanspeed fix (#15225) 2023-11-01 23:28:57 -05:00
Feature Remove unused functions (#15371) 2023-10-04 10:17:34 -05:00
Mocks SnmpQuery runtime cache (#15512) 2023-10-29 22:46:04 -05:00
phpstan Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
snmpsim rework: Cisco SB Switch Temp and Fanspeed fix (#15225) 2023-11-01 23:28:57 -05:00
Traits Alert transport cleanup, no_proxy support and other proxy cleanups (#14763) 2023-05-23 09:25:17 -05:00
Unit Refactor MAC utilities into a single class (#15379) 2023-10-06 07:34:14 -05:00
__init__.py New python service for poller, discovery + more (#8455) 2018-06-30 12:19:49 +01:00
AddHostCliTest.php Migrate addhost.php to lnms device:add (#13870) 2022-04-04 10:41:18 -05:00
AlertingTest.php Alert transport cleanup, no_proxy support and other proxy cleanups (#14763) 2023-05-23 09:25:17 -05:00
AuthHTTPTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
AuthSSOTest.php Implement RBAC (only built in roles) (#15212) 2023-08-28 00:13:40 -05:00
BasicApiTest.php Implement RBAC (only built in roles) (#15212) 2023-08-28 00:13:40 -05:00
bootstrap.php Laravel 9.x Shift (#14504) 2023-04-17 06:51:35 -05:00
CommonFunctionsTest.php Remove unused functions (#15371) 2023-10-04 10:17:34 -05:00
ConfigTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
CreatesApplication.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
DBSetupTest.php Use Laravel schema migration command directly (#14039) 2023-08-03 19:26:48 -05:00
DBTestCase.php Improve trap testing (#14546) 2022-11-05 14:43:54 -05:00
DocsTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
DuskTestCase.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
FpingTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
FunctionsTest.php Refactor MAC utilities into a single class (#15379) 2023-10-06 07:34:14 -05:00
GitIgnoreTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
InMemoryDbTestCase.php lnms config:set ability to set os settings (#13151) 2021-08-19 18:34:19 -05:00
IpTest.php IP::fromHexString handle ascii (#15504) 2023-10-26 10:03:03 -05:00
MibTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
module_tables.yaml Add application metrics model and relationships (#15417) 2023-10-12 02:24:27 -05:00
OSDiscoveryTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
OSModulesTest.php Misc fixes 2 (#15190) 2023-08-13 18:43:52 +02:00
ProxyTest.php Alert transport cleanup, no_proxy support and other proxy cleanups (#14763) 2023-05-23 09:25:17 -05:00
QueryBuilderTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
RrdDefinitionTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
RrdtoolTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
SchemaTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
SmokepingCliTest.php Smokeping menu and title use device displayname (#15387) 2023-10-31 08:38:51 -05:00
SnmpsimHelpers.php Apply fixes from StyleCI (#13224) 2021-09-10 20:09:53 +02:00
SVGTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
SyslogTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
TestCase.php Test PHP 8.1 (#14109) 2022-07-20 15:27:57 +02:00
testing_config.yaml Speed up tests by reducing snmp timeout (#13725) 2022-01-28 12:07:05 -06:00
tests.py Format python code with Black (#12663) 2021-03-28 11:02:33 -05:00
YamlSchemaTest.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00