In case we try to filter the component by it's `id`, we ran into ambiguity issue because both `component` and `component_prefs` tables have column `id`. Fixed by filtering explicitly on `component` table.
* Add ECS4110 cpu usage
* Add cpu usage oid for ECS4110
* TESTED
* Fix EdgeCore ifOperStatus does not follow the Cisco convention
* Since EdgeCore use "lowerLayerDown" in ifOperStatus when port is unplugged
* On the other way, Cisco use briefly "down".
* So change "lowerLayerDown" to "down" to workaround the bug that will make port always show as up/up
* Refactor Edgecos cpu usage oid
* Codeclimate is unhappy about it maybe the refactor will make it happy.
* Add EgdeCore ECS4110 MIB
Just got MIB from EdgeCore
* Refactor Egdecos Mempool
* a bit refactor of Mempool discover and polling
* add support for ECS4110 via MIB
* Modify ECS-4110 MIB
* MODULE-IDENTITY change from ECS4110-52P-MIB to ECS4110-MIB
* strip off syntax error part(time range)
* Add EdgeCore ECS-4110 OS polling
* polling OS and Hardware via MIBs
* Fix typo
* Sorry that I am dazzled
* Fix Syntax Check
* Codeclimate is a bit aggressive
* Update edgecos.inc.php
* Update edgecos.inc.php
* Revert "Fix EdgeCore ifOperStatus does not follow the Cisco convention"
This reverts commit 27971b34a8.
* Add snmprec file for unit testing.
* Create edgecos_ecs4110-28t.json
* Added Cisco QFP processor discovery
* Fix QFP index loop variable name
* Add test data for IOS-XE processors (from ASR1001-HX)
* set the right variable
* Update showconfig.inc.php
Fix display for pfsense config files.
* Update showconfig.inc.php
Change from else if to elseif
* Update showconfig.inc.php
Decode special chars before syntax highlighting.
* Update pfsense.yaml
* Add config_highlighting device property
Add config_highlighting to device definition
Update showconfig.inc.php to use config_highlighting to set language.
* Update showconfig.inc.php
Fix incorrect code. Chose correct variable where config_highlighting is set.
* Update os_schema.json
Add property config_highlighting to schema
- used for language highlighting when displaying the config file
* Update showconfig.inc.php
* Fix creating device groups issue
Not being able to write the device relationships file should not be fatal
* remove @
* bootstrap.php calls this, Laravel isn't booted yet
* d_echo does not include \n
* list ungrouped devices on group management page
* some code changes
* some code changes
* change query to eager loading
* use url macro
* Update resources/views/device-group/index.blade.php
Co-Authored-By: Neil Lathwood <gh+n@laf.io>
* Title Case
* style fixes
* inline @if
* remove container
* revert force push
* Improve instructions
Documentation when open_basedir is set
Also gives list of packages when installing php-fpm
Fixes cron and logrotate files not being executed if umask is set
* Split dependencies universal / php
* Updated php doc
* Add more binaries to open_basedir
* do not discover dbm sensors on shutdown ports
* rename confusing name from $sensor_type to $sensor_class
* Revert "do not discover dbm sensors on shutdown ports"
This reverts commit 46963f746a.
* Fixed foreach loop throwing errors when no vlans present, community id post 9528
* Added extra else / debug statement for validation
The modified changes allow for clear information regarding the discovery of devices where no port<->L2 Access/Trunk association is seen.
* additional sensors, some cleanup in yaml
* re-add updated tests/data/enexus_smartpacks2.json
* some rework to avoid regression
* sensor grouping
* update test data
* fix a few bare URLs
* make mdl happy
* make Weathermap.md as mdl happy as possible
* make Varnish.md as mdl happy as possible
* make Two-Factor-Auth.md mdl happy
* touch one header for Syslog.md, but little can be done about the rest
* make Sub-Directory.md as mdl happy as possible
* make SNMP-Trap-Handler.md lint happy
* make SNMP-Proxy.md mdl happy
* make Smokeping.md as mdl happy as possible
* make Services.md mdl happy
* make RRDTune.md mdl happy
* cleanup RRDCached.md as much as possible
* make RRDCached-Security.md mdl happy
* make Rancid.md as mdl happy as possible
* make Proxmox.md mdl happy
* make Plugin-System.md as mdl happy as possible
* make PeeringDB.md mdl happy
* make Oxidized.md more lint happy
* make Network-Map.md mdl happy
* make MIB-based-polling.md as mdl happy as possible
* make Metric-Storage.md mdl happy
* make IRC-Bot.md as mdl happy as possible
* make IRC-Bot-Extensions.md as mdl happy as possible
* make
* make Graylog.md mdl happy
* make Gateone.md mdl happy
* make Fast-Ping-Check.md mdl happy
* make Distributed-Poller.md as mdl happy as possible
* make Dispatcher-Service.md as mdl happy as possible
* make Device-Groups.md mdl happy
* make Dell-OpenManage.md mdl happy
* make Dashboard.md mdl happy
* make Customizing-the-Web-UI.md as mdl happy as possible
* make Component.md mdl happy
* make Billing-Module.md mdl happy
* make Auto-Discovery.md mostly mdl happy
* make Authentication.md as mdl happy as possible
* tidy up a few lines in Applications.md
* make Agent-Setup.md as mdl happy as possible
* make metrics/OpenTSDB.md mdl happy
* spelling fix
* Add more Vigor series device support
* Update draytek.yaml
* Add more Vigor series device test data
* Update AUTHORS.md
* Update draytek.snmprec
* Create draytek_vigor3900.snmprec
* Catch exceptions generated by alert transports
The alert.php script would completely die if a single alert
transport generated an exception. For example the API transport
if CURL couldn't connect to the api endpoint. The script
should attempt to send alerts to all working transports and not
die because a single transport fails.
* Move alert transport creation into try block
Catch any potential exceptions during transport creation.
None of the transports currently implement __construct()
but the DB could throw and in the future there may be
a transport that does implement it.