Commit Graph

13 Commits

Author SHA1 Message Date
Tony Murray
1c08c11a77 Remove Laravel helpers (#11428)
* Remove Laravel helpers

* Replace qualifier with import
2020-04-18 00:37:56 +02:00
Tony Murray
fad0bffc43 Escape SNMP & IPMI shell commands (#9537)
hopefully doesn't break anything
Mostly issues with snmp oids and options containing spaces.  Try to remove all of those.

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2018-12-16 13:42:50 +00:00
Neil Lathwood
a10503b927 Ensure the checks for ASA context devices are strict (#9441) 2018-11-10 21:05:25 +00:00
Neil Lathwood
42e5819130 refactor: Updated discovery/poller to use numeric sysObjectID (#7922)
* refactor: Updated discovery to use a core module for sysDescr/sysObjectID use

* final update hopefully

* revert changes

* more changes + docs

* migrated poller to use numerical sysObjectID

* more updates for sysObjectID

* update any alert rules which might have enterprises. in

* moved schema file

* small updates

* updated getHostOS()

* scrut fixes

* updated sysObjectId -> sysObjectID

* updated sysObjectId -> sysObjectID

* updated remainder of sysObjectId -> sysObjectID

* another sysObjectId -> sysObjectID

* fixed secureplatform test data

* Fix tests: $device is not pulled from the database before polling
Also, update the db in the core discovery module.
2018-01-06 23:00:47 -06:00
Søren Rosiak
5cf779c60b refactor: Cisco ASA Polling Performance Improvements (#6139) 2017-03-22 00:22:48 -05:00
Søren Rosiak
f852d5cf7d fix: Ability to detect Cisco ASA version when polling a security context (#5098) 2016-12-01 19:50:56 +00: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
Rosiak
3595b37a20 Detect Cisco ASA-X Firewall Hardware 2016-07-28 22:50:11 +02:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Rosiak
8f54b612ec Adjust code to Best Practice
- Adjust the code I’ve introduced to Scrut and general Best Practice
2015-07-13 16:08:03 +02:00
Mike Rostermund
6029fdcf83 Added support for fetching model and software of Cisco ASA 5585-SSP40 2015-05-19 22:34:41 +02:00
Søren Rosiak
cda227bd51 Detect Cisco ASA HW and OS Ver
- Now detects Cisco ASA HW and OS Ver, somehow this went missing
- Code used from ciscowlc.inc.php, Copyright information included
- Tested against various 5505 and 5515 OS Versions.
2015-04-01 18:06:42 +02:00
laf
b4bc9ac864 Added serial number detection for Cisco ASA 2015-03-23 15:31:32 +00:00