Commit Graph

25 Commits

Author SHA1 Message Date
PipoCanaja
e1ede81d29 Fixed Cisco Catalyst9x00 support (#10862)
* missing OID

* version

* tests

* move CAT9k to IOSXE

* move CAT9k to IOSXE

* tests

* tests

* codeclimate
2019-11-22 05:16:02 +00: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
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
crcro
716441eeda fix: cisco 4948 device information 2017-03-21 09:11:42 -05:00
crcro
de13f453d6 fix: cisco hardware name detection (#5167) 2016-12-16 08:38:14 -06: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
Adam Winberg
5871681015 change from poller_module to include from os polling 2016-04-19 13:58:38 +02:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
laf
937869c8ac Function and use to get main cisco serial number 2015-06-18 22:20:50 +01:00
Alexander Sosna
5a7988e2e4 chmod 0644 to php files not directly executed 2015-04-28 22:58:03 +02:00
Tom Laermans
392d97bf73 syntaxer run
git-svn-id: http://www.observium.org/svn/observer/trunk@2966 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-05 16:37:46 +00:00
Adam Amstrong
7bfc8babbf fix ios version detection
git-svn-id: http://www.observium.org/svn/observer/trunk@2917 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-20 23:56:40 +00:00
Adam Amstrong
bd243db6dc potentially break all cisco versioning :P
git-svn-id: http://www.observium.org/svn/observer/trunk@2912 61d68cd4-352d-0410-923a-c4978735b2b8
2012-03-20 16:50:16 +00:00
Adam Amstrong
547a2151a7 updated MIB
git-svn-id: http://www.observium.org/svn/observer/trunk@2678 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-10 15:50:14 +00:00
Adam Amstrong
7932686fea fix os on old cisco kit. a bit.
git-svn-id: http://www.observium.org/svn/observer/trunk@2677 61d68cd4-352d-0410-923a-c4978735b2b8
2011-10-10 15:40:54 +00:00
Adam Amstrong
95a287baa7 migrate towards new URL format. slowly.
git-svn-id: http://www.observium.org/svn/observer/trunk@2491 61d68cd4-352d-0410-923a-c4978735b2b8
2011-09-17 19:14:44 +00:00
Adam Amstrong
00121fd3f8 fixes to new poller
git-svn-id: http://www.observium.org/svn/observer/trunk@2233 61d68cd4-352d-0410-923a-c4978735b2b8
2011-05-03 21:46:25 +00:00
Tom Laermans
722d912aa1 cleanup OS polling
git-svn-id: http://www.observium.org/svn/observer/trunk@1841 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-15 11:59:47 +00:00
Tom Laermans
d3d2ef5f67 Delta UPS support, also by generalising rfc1628 support; recognize some more hardware
git-svn-id: http://www.observium.org/svn/observer/trunk@1562 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-30 22:25:07 +00:00
Adam Amstrong
02bc873ace fixes to cras_sessions poller
git-svn-id: http://www.observium.org/svn/observer/trunk@1557 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-30 18:33:08 +00:00
Adam Amstrong
5bbad3c236 fixed ios fix :)
git-svn-id: http://www.observium.org/svn/observer/trunk@1479 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-25 18:42:01 +00:00
Adam Amstrong
2aac4d9bf4 oops no
git-svn-id: http://www.observium.org/svn/observer/trunk@1478 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-25 18:41:18 +00:00
Adam Amstrong
884141d8ee minor improvement to cisco version detection
git-svn-id: http://www.observium.org/svn/observer/trunk@1477 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-25 18:40:39 +00:00
Adam Amstrong
9052296c13 lots of cleanups to various things
git-svn-id: http://www.observium.org/svn/observer/trunk@1463 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-23 13:42:28 +00:00
Adam Amstrong
15cdf5c9fa add force10 mibs and os type detection. move per-os polling scripts from includes/polling/device-* to includes/polling/os/*
git-svn-id: http://www.observium.org/svn/observer/trunk@1442 61d68cd4-352d-0410-923a-c4978735b2b8
2010-07-20 13:49:36 +00:00