Commit Graph

4909 Commits

Author SHA1 Message Date
Tony Murray
1c43fecfa7 feature: New snmpwalk_group() function (#6865)
* feature: New snmpwalk_group() function
Intended to replace several other snmp functions, but may not behave exactly as they did.
Properly handles multi-line values.
Adds additional index data after the grouping so it isn't lost. Perhaps might make optional.
Might add $skip variable to support fully numeric oid indexes. Thoughts?

* Add e and t options.  If we want to specify, options, we can add that later.
2017-06-23 22:13:50 +01:00
Tony Murray
e40a7d7767 device: More succinct hardware description for Netonix (#6863) 2017-06-23 22:12:44 +01:00
dnapper
02a7949c5e newdevice: Added Support for Benu OS (#6857)
* Added Basic OS support for Benu

* Benu OS take 2

* Benu OS take 3

* Benu round 4 - this time for real

* added benu sensors

* reamed to benuos, renamed mibs, sensor rewrite pending

* upated sensors to use snmp_get_multi

* rename yaml

* rename yaml

* updated mempool discover to use multi get, fixed whitepaces, removed old commented out code from polling

* changed detection from sysDescr to sysObjectId

* Update benuos.yaml

* Update benuos.inc.php

* Update benuos.inc.php

* Update benuos.inc.php

* Update benuos.inc.php
2017-06-22 21:45:18 +01:00
Tony Murray
90aa485149 refactor: discovery code cleanups (#6856)
* Use foreach $key => value

* use get_port_by_ifIndex
get rid of the rest of the array_keys()

* improve hex_to_ip() function, add tests, use in more places

* Simplify can_skip_discovery logic
2017-06-22 21:08:20 +01:00
Lorenzo Zafra
62e2b83622 newdevice: Added support for Radwin 5000 Series (#6876) 2017-06-22 20:34:06 +01:00
Tony Murray
2f4efb2a43 fix tests (#6870)
Injecting into the dev_cache without having hostname set caused the code to run an sql query.
Fix undefined index errors.
2017-06-20 16:56:38 -05:00
Olen
b8452862af device: Fix for syslog-messages from zywall (USG series) (#6838)
* Fix for syslog-messages from zywall (USG series)

* Adding a test
2017-06-20 12:27:37 -05:00
Neil Lathwood
2e43adce37 newdevice: Improved Cisco Unified CM detection and renamed to ucos (#6813) 2017-06-18 20:56:31 -05:00
Lorenzo Zafra
283392c9a7 newdevice: Added support for Chatsworth PDU (legacy old pdus not sure model number) (#6833)
* newdevice: AXIS Audio Appliance

* newdevice: chatsworth pdus

* Renamed chatsworth to chatsworth-pdu
2017-06-17 15:31:01 +01:00
deepseth
bcc618a3ad feature: Added Syslog hooks for Oxidized integration (and more) (#6785)
* Creating syslog hooks with example script for Oxidized integration

* Corrected IOS-XR matching and stopped spurious calls to Oxidized
2017-06-17 15:21:21 +01:00
Lorenzo Zafra
5bcec9c7d3 newdevice: Added detection for Microsemi PowerDsine PoE Midspans (#6843)
newdevice: Added detection for Microsemi PowerDsine PoE Midspans (#6843)
2017-06-17 15:12:33 +01:00
Tony Murray
7a87f12380 fix: custom config.php os settings (#6850)
fixes: #6848
2017-06-16 14:08:38 +01:00
Tony Murray
f5931535b4 fix: Check HC counters individually (#6828)
* fix: Check HC counters individually
Vendors are very inconsistent returning ifXTable values.
Some only implement some of them (seemingly randomly).
Others return them, but they are always 0.

This attempts to fix that by checking each value individually.

* A couple of small cleanups

* Change the logic, The (if < hc) logic will be messed up when the counters roll.
Just make sure it is not 0 or an empty string.
2017-06-15 08:11:10 +01:00
Neil Lathwood
19cdf8f684 newdevice: Added support for Schneider PowerLogic (#6809) 2017-06-13 16:20:12 -05:00
FTBZ
3a62c83642 newdevice: Added additional sensors to Axis camera (#6827)
newdevice: Added additional sensors to Axis camera (#6827)
2017-06-13 21:37:01 +01:00
Lorenzo Zafra
be64546498 newdevice: Added detection for AXIS Audio Appliances (#6830) 2017-06-13 21:33:21 +01:00
Mark Guzman
a5cf0b720a newdevice: Added Quanta lb6m device support (#6816)
newdevice: Added Quanta lb6m device support (#6816)
2017-06-13 21:30:00 +01:00
Julian K
ffb20d9ee3 newdevice: Added hardware and version from AirOS 8.x (#6802)
newdevice: Added hardware and version from AirOS 8.x (#6802)
2017-06-13 20:55:42 +01:00
Neil Lathwood
5c58cc011a newdevice: Added support for processor and memory for 3com devices (#6823) 2017-06-13 08:11:09 +01:00
Neil Lathwood
32fa059c98 newdevice: Added state sensors to HP Procurve (#6814) 2017-06-12 19:37:25 +01:00
Neil Lathwood
51ccec94c5 fix: Strip " from rPi temp sensor discovery (#6815) 2017-06-10 17:46:00 +01:00
Neil Lathwood
3bf7e207a7 fix: Check for ifHCInOctets and ifHighSpeed before falling back to if… (#6777)
* fix: Check for ifHCInOctets and ifHighSpeed before falling back to ifEntry

* switched && to ||
2017-06-10 06:50:40 -05:00
pblasquez
a075997539 alerts: Emit tab field to elasticsearch to allow for data-driven URLs. (#6808) 2017-06-10 11:11:22 +01:00
Neil Lathwood
d5384f9256 fix: Updated Raspberry Pi Temp sensor discovery (#6804) 2017-06-08 22:11:42 -05:00
Neil Lathwood
6a581ab822 newdevice: Added more detection for Bintec smart devices (#6780) 2017-06-08 19:17:48 +01:00
Neil Lathwood
1d70d3e96a newdevice: Added detection for Atal Ethernetprobe (#6778)
* newdevice: Added detection for Atal Ethernetprobe

* updated to ethernetprobe2

* added temp and humidity sensors
2017-06-08 19:05:10 +01:00
SLMitch
7bd23946ad remove 'Wrong Type' string when we ask LocalAS to switch (#6745)
* remove 'Wrong Type' string when we ask LocalAS to switch (bug with at least Dell ON Switch)

* Only remove the MIB
2017-06-08 08:01:17 +01:00
Aldemir Akpinar
5581c40e19 webui: Order the list of devices in get_all_devices() (#6797) 2017-06-07 14:20:59 +01:00
crcro
d886086e78 newdevice: Updated vmware vcsa hardware/version detection (#6783)
* nicer vmware vcsa detection

* nicer vmware vcsa detection

* fix based on laf request
2017-06-07 14:20:09 +01:00
Neil Lathwood
2a2d78baa5 newdevice: Updated Cisco NX-OS detection (#6796) 2017-06-06 23:14:32 +01:00
Søren Rosiak
d5dd5c2da5 newdevice: Add Cisco ASR, Nexus, etc. PSU State sensor (#6790) 2017-06-06 22:47:39 +01:00
Søren Rosiak
cbe476ad2f fix: Fix bad Cisco dBm discovery on some IOS versions (#6789) 2017-06-06 22:46:29 +01:00
crcro
96f066189e feature: Added pi-hole application support (#6782)
* added data to webui

* added last step on docs

* fix scrutinizer issue

* fix blank lines
2017-06-05 23:00:09 +01:00
Olen
127c4b84bd feature: Added Irc ctcp support to IRCBot (#6766)
* Handle basic CTCP-support

* Add an option to toggle ctcp on and off in the config

* Fix whitespace-issue

* Fix null/NULL

* Updating docs, default config and fixing a few whitespace-issues

* Fixing the last whitespace-issues.  Now with "pre-commit.php" as a standard...
2017-06-05 22:45:18 +01:00
Neil Lathwood
c67424b4ef newdevice: Updated Oracle ILOM detection (#6779) 2017-06-05 06:45:28 -05:00
drid
f7c5aee25b newdevice: Added C.H.I.P. power monitor (#6763)
newdevice: Added C.H.I.P. power monitor (#6763)
2017-06-04 19:27:00 +01:00
Neil Lathwood
2371c6cc79 fix: Updated cisco-iospri to check for numeric + named ifType and included new cisco mibs (#6776) 2017-06-04 19:09:26 +01:00
CZ
f784228e93 newdevice: Added support for Adva FSP150CC and FSP3000R7 Series (#6696)
* ADVA device support
- sensors for temperature, voltage, current and dbm
- ADVA mibs for FSP150CC and FSP3000R7

* sysObjectId - changed to level above instead of two entries

* OS for FSP150 and FSP3000R7 now in two seperate OS definitions
- split the files
- removed sysObjectId check for each
- removed hardcoded sensor limits
- removed more generic MIBs

* standardized variables / corrected declarations

* added missing MIB, style check code

* - corrected 'current' readings by adding $devisor
- changed rrdfile names to sensorname+$index
- moved LLDP-V2 mibs to main mib directory
2017-06-02 21:07:55 +01:00
network-guy
dc498be4f0 newdevice: Added Current Connections Graph for Cisco WSA (#6734)
* Added current connections graph for AsyncOS devices

* Fixed issues with AsyncOS connections polling and add name to AUTHORS file

* Update 194.sql
2017-06-02 20:58:02 +01:00
Neil Lathwood
924137ebd8 fix: Updated the arista initial current value for dbm sensors (#6771)
* fixed spelling mistake in process_config

* fix: Updated the arista initial current value for dbm sensors
2017-06-02 07:29:49 -05:00
Neil Lathwood
3d953b37f0 fixed spelling mistake in process_config (#6769) 2017-06-02 08:00:32 +01:00
Maciej Kaczkowski
528350177d newdevice: Arris C4c (#6662)
* newdevice:  Arris C4c, convert arris.png to arris.svg, added temperature sensors

* removed debug

* converted snmp_walk to snmpwalk_cache_oid_num

* added test, fixed formatting

* fixed logo

* removed height and width from logo

* revert arris.svg
2017-06-01 18:46:13 -05:00
pblasquez
cc38930007 feature: Added elasticsearch transport and docs (#6687)
* Add elasticsearch transport and docs

* Fix formatting

* Fix formatting

* Remove librenms string from sql file

* Add missing states

* Use ifAlias not ifDescr

* Update Alerting.md

* Remove unused es_enabled flag

* Fix storage column names

* Fix processor columns

* Rename 194.sql to 193.sql
2017-06-01 12:16:39 +01:00
ospfbgp
f8aadf227b newdevice: Added Avaya VSP Temperature Support (#6692)
* Avaya VSP Temperature Support

Avaya VSP Operating System Software Temperature Support

* Update avaya-vsp.inc.php

* Update avaya-vsp.inc.php

* Update avaya-vsp.inc.php

* Update avaya-vsp.inc.php

* Update avaya-vsp.inc.php

* Update avaya-vsp.inc.php

* Update avaya-vsp.inc.php

* Update avaya-vsp.inc.php

New code for VSP Temperatures

* Update avaya-vsp.inc.php

* Update avaya-vsp.inc.php

I have unset my 1 snmp_walk

* small update to variable names and use
2017-05-31 21:45:54 +01:00
Chris A. Evans
8c8d591d67 newdevice: Add basic support for CradlePoint WiPipe Cellular Broadband Routers (#6695)
* Add basic support for CradlePoint Ceullular Broadband Rotuers

 	new file:   html/images/os/cradlepoint.png
 	new file:   includes/definitions/wipipe.yaml
 	new file:   includes/discovery/sensors/dbm/wipipe.inc.php
 	new file:   includes/discovery/sensors/pre-cache/wipipe.inc.php
 	new file:   includes/discovery/sensors/state/wipipe.inc.php
 	new file:   includes/polling/os/wipipe.inc.php

* Added snmprec test file

* Updated definitions file

* Updated copyright blocks and comments

* Added WIPIPE-MIB#

*  	renamed:    tests/snmpsim/wipipe.smmprec -> tests/snmpsim/wipipe.snmprec

*  	copied:     html/images/os/cradlepoint.png -> html/images/logos/cradlepoint.png
 	modified:   html/images/os/cradlepoint.png
 	modified:   includes/definitions/wipipe.yaml
 	modified:   includes/discovery/sensors/pre-cache/wipipe.inc.php
 	modified:   includes/polling/os/wipipe.inc.php

* Changes requested by laf

 	modified:   includes/discovery/sensors/dbm/wipipe.inc.php
 	modified:   includes/discovery/sensors/pre-cache/wipipe.inc.php
 	modified:   includes/polling/os/wipipe.inc.php

* Reworked devFWUpgradeStatus state sensor
 	modified:   includes/discovery/sensors/state/wipipe.inc.php

* Fixed hardware/OS version detection
 	modified:   includes/polling/os/wipipe.inc.php

* moved mib file to correct location
2017-05-31 21:45:31 +01:00
crcro
5af3048a76 fix: Ensure rrdtool web settings aren't overwrote by defaults (#6698)
* fix for web settings

* revert db config

* revert description

* ensure rrdtool path is set
2017-05-30 19:44:40 +01:00
Neil Lathwood
6d0e5794b2 fix: Strip " from memcached application + pass string to update_application() (#6725) 2017-05-25 07:35:20 -05:00
Neil Lathwood
f24751e231 fix: Added dell to mib_dir for windows / linux (#6726) 2017-05-25 07:40:56 +01:00
Søren Rosiak
3b45ea1b37 newdevice: Improve Aerohive Support (#6721)
fix #6670
2017-05-24 22:49:40 +01:00
Søren Rosiak
88a490a969 newdevice: Add support for Halon Gateway (#6716)
newdevice: Add support for Halon Gateway
2017-05-24 00:00:43 -05:00