* add privoxy
* various style fixes
* cleanup option bar
* save metrics for privoxy now
* add instructions for privoxy
* add privoxy test data
* regen the test data
* add a few missing depends to the instructions
* add apps.inc.php entry for privoxy
* note the required log settings for privoxy
* style fix
* APC Emu dry contacts
* EMU test files
* Added energy and power sensors
* Revert "Added energy and power sensors"
This reverts commit b27b4a3ac2.
* Total energy sensor
* code stuff done for Sneck
* whoops, correct the abs value post adding it post rrd update
* return a array for getting the sneck data and nicely print the raw return value
* add test stuff and freeze time at 1650911765 for tests
* move the freezeTime
* add use Illuminate\Support\Carbon;
* more test changes
* rework freezeTime a bit more
* more test stuff
* another test
* rework it a bit again
* correct variable spelling for $time_diff
* remove freezeTime as we are using a old version of Laravel
* finalize graphs
* misc
* finalize sneck page
* mve the sneck tests as it needs a newer version of laravel than we are using
* add documents for sneck
* finalize the poller
* formatting cleanup
* correct comment type
* correct the spelling of description
* more documentation
* save the check returns as metrics
* add some more examples
* fix some of the sneck alerts and add a few more examples
* turn off time to polling by default
* suggest using ntp if enabled
* since we are zeroing time_to_polling by default, this now works
* backout some suggested changes for once we change to larval 9
* remove del_sneck_data as it is no longer used
* add more docs on the metrics
* php-cs-fixer to fix a few things
* update and fix sneck tests
* remote a metric from the test
* another minor tweak to the test
* one more minor change
* ahh! derp! think I found it finally... hopefully hanging this for the last time...
* now use app data
* now logs check changes
* add a missing )
* add a missing )
* some style fixes
* update the sneck page use to the app data stuff
* update the poller to use the new app data
* misc
* update sneck to log check status changes
* correct alert log messages
* correct a comment
* fix metrics
* derp, another fix
* test fix
* re-order to avoid warning
* poller update
* update sneck graphs
* update sneck graphs
* remove a unneeded line
* test update for discovery
* minor tweaks to the test and fix update the polling a bit
* style fix
* fix return data printing
* fix the test data to include app data
* attempted test fix
* add config def to apps.sneck.polling_time_diff
* cleanup docs a bit
* minor config tweaks
* minor doc cleanup
* add linux_softnet_stat poller
* add graphs and app page for linux_softnet_stat
* fix polling
* rename a few items, clean up the app specific page, and add to the apps page
* convert from derive to counter
* save the budget and budget_usecs to app data
* display current value of the budgets
* now track budget values
* add tests data
* rename it
* add docs for Linux Softnet Stat
* re-order and add budget for app page graph order
* style fix
* correct data location
* fix metrics for the json
* add alerts for ZFS
* add initial l2 bits to the poller for zfs
* more minor tweaks to the ZFS poller
* more zfs bits
* add new ZFS graphs
* begin adding L2 stuff
* add linux_zfs-v3 bits
* update zfs app page
* style fix
* update the data for the zfs legacy test
* test update for zfs v1
* fix some zfs tests
* more zfs v3 test cleanup
* another zfs v3 test data fix
* more zfs v3 test data cleanup
* more test tweaks
* add sensor support for cefcModuleOperStatus
* add tests for cefcModuleOperStatus
* revert sensors/state/cisco.inc.php
* add sensor support for cefcModuleOperStatus using yaml
* update tests for cefcModuleOperStatus
* try adding tests again for cefcModuleOperStatus
* include CISCO-ENTITY-FRU-CONTROL mib for cefcModuleOperStatus sensor state discovery
* Add RoomAlert 12E Switch Sensors, fix Humidity Sensor
* Fix per murrant
* Revert port data generated on older install
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add support for Trellix NSP devices
- Add discovery for mlos NSP devices
- Monitor port statistics from non standard MIBs
- Add Trellix MIBs
- Add test data
* Fix StyleCI findings
* Rename MIB files to match MIB names, remove unused MIBs
* regenerate mlos-nsp_ns9500.json to account for changes from PR#14963
* Add support for Firebrick memory monitoring.
* Add mempool testing for Firebrick.
* We have to specify the OID by numeric, because otherwise it assumes it's some kind of indexed table.
* Specify by OID.
* Fix test result data for the FB mempools.x
* Firebrick reports in KB.
* Fix precision in the tests.
* Fix cisco dbm sensors port link on discovery (NCS55A2)
dBm sensors were not linked to port on Cisco NCS55A2 platform (iosxr)
causing false alarms triggered by optical modules in administratively shut down ports.
* Delete iosxr_ncs55a2.json
* Create iosxr_ncs55a2.json
* Renew test/data/iosxr_ncs55a2.json
* Delete and recreate test/data/iosxr_ncs55a2.json
With command :
./scripts/save-test-data.php -o iosxr -v ncs55a2 -m os,ports,processors,mempools,sensors
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Change ESXi port naming to be stable
Currently every time discovery runs against ESXi, the port names change generating a lot of log spam.
This is because ESXi uses this as the ifDescr:
```Device vmnic1000202 at 01:00.0 nmlx4_en```
The poller parses this, and extracts the interface name, whereas discovery does not, causing the interface names to flip every 6 hours.
https://github.com/librenms/librenms/blob/22.10.0/includes/polling/ports.inc.php#L578-L580
This change gives the discovery process the same behaviour, so the naming is now stable.
* Try to fix test data with a squash
* vcsa test data
* Synthesise VCSA ifName, use it in place of ifDescr
* Refresh test data
* Update ports.inc.php
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add support for Trellix ATD devices
- Add discovery for mlos ATD devices
- Monitor various OIDs related to ATD system health and status
- Add required MIBs
- Add test data
* add json test data
* Rename MCAFEE-SMI to MCAFEE-INTRUVERT-SMI
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Remove unused port fields
(and set vlan to default to null)
* Update test data for deleted fields
* update vlan to null
* missed field removals
* More correct migration
* Update new data
* restore accidental deletions
Was origionally intended to use the 1 minute values, but was discovering the one second value and polling the twoHour value
Was also restricted to only one CPU.
Now discovers and polls all CPUs at the oneMin avg
* Expand discovery of gigavue os
- Expand discovery so all Gigamon products are discovered
- Query for hardware version using GIGAMON-SNMP-MIB::model.0 OID if present
- Add more Gigamon gigavue test data
* Create gigavue_hc2.json
Looks like there was no json file before...
* update gigavue_hc2.json
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Update fortivoice.yaml
Add in pulling in device hardware and software info
* Add files via upload
* Add files via upload
* merge test data
* Delete fortivoice_fortivoice.snmprec
* Update fortivoice.json
* Update fortivoice.json
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add discovery of NVT Phybridge FLEX24
* Update phybridge-flex.yaml
Added FLEX-24 Switch under sysDescr
* Test Data phybridge-flex_flex-24 json and snmprec
* Add initial OS detection for LoadBalancer.org
* Match on Linux sysObjectID first for efficiency
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Add test for loadbalancer OS detection
* Add test for loadbalancer OS detection - fix author
* Add test for loadbalancer OS detection
* Add test for loadbalancer OS detection - fix author
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
Co-authored-by: Chris Ware <cjw26@bath.ac.uk>
* APC: Add support for Battery Recommended Days Remaining
* Extract number from string later during polling
Odd that this is different from the discovery process
* wip
* wip
* Apply fixes from StyleCI
* wip
* wip
* Apply fixes from StyleCI
---------
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Modify Avocent discovery so Avocent MergePoint Unity KVM switches are discovered
* Extract hardware model and version stored in sysDescr OID
* add avocent mpu snmprec
* add json dump test data
* update to not conflict with dell-rcs discovery
* fix styleci findings
* update Avocent.php
* update Avocent.php
* add support for avocent mp unity kvm switches
* add support for avocent mp unity kvm switches
* add support for avocent mp unity kvm switches
* add support for avocent mp unity kvm switches
* add support for avocent mp unity kvm switches
* add support for avocent mp unity kvm switches
* cleanup
* fix os name typo
* Add support for Vertiv Avocent MergePoint Unity
- Remove unnecessary sysdescr_regex in discovery file
- Only show device_bits graph in device header bar
- Use Vertiv icon
- Replace .png Vertiv icon and logo with .svg
- Disable unnecessary discovery and poller modules
- Add more snmpsim test data
* Update avocent-mp.yaml
Only disable poller and discovery modules if they cause problems
* Add Modified V-sol MIB
* Add Vsolution Discovery OS
* Add Vsolution Discovery OS
* Add os-logo
* Add snmp test data
* Add .json test data
* Add .json actual test data
* re-add it
* add cape app page
* add initial cape graphs
* now work for the general page
* more udpates
* add cape pending
* add pending and cleanup for if there are no packages(likely cuckoo, so don't add extra items)
* rework the lack of packages a bit more
* more cuckoo related cleanupgiot
* fix cape error logging
* minor cleanups
* add a new graph and use it with cape... also lots of cape cleanups
* misc cape updates
* add percentile values for stats
* add fix for weekly
* don't display 1 day average if under 17 hours
* zero timeslots of packages not used for this time slot
* add avg stat graphs for cape
* now use the average graphs and update the app page
* add a new graph
* add CAPEv2 docs
* add tests data
* lots of style cleanup
* another tweak for the test data
* fix misc style issues
* add cape to apps page
* add nicecase for cape
* case fix
* json fix for test data
* add a missing stat
* some more test data tweaking
* more misc test updates
* more test tweaking
* more test work...
* more test data work
* add what is hopefully the final test tweak