* Don't call clean() on the inputs to the SNMP settings form, it'll call
strip_tags() and break values with angle brackets in.
* Call htmlspecialchars when outputting DB values to HTML instead
* Escape other stuff that should have been validated elsewhere, just in case
* vrp FDB table corrected on CE switches
* sleep 5 in snmpsim to run tests.
* 6 seconds wait when snmpsim.fork is called from bootstrap
* rollback in Snmpsim Class
* Update bootstrap.php
* add package acl to required list
There are ways to install debian without the acl package. Add it to the
required list
* replace systemctl with more generic service
Debian does not require systemd. This makes calling systemctl to restart
processes a problem. The more generic way in Debian is to call service
* rm command allows multiple parameters
* use nginx config in a more Debian way
In Debian webservers are configured using -available and -enabled
directories. Make better use of this stucture.
* better snmpd.conf handling
Instead of overwriting snmpd.conf inform Debian of the change.
Because snmpd.conf contains sensitive info make it only user accessible
* replace nano with users preferred editor
* revert back to nano as editor
* remove dpkg-divert as per PR discussion
* Added ability to use JSON directly in Msteams Transport
* Update Transports.md
* Update Msteams.php
* Update Msteams.php
Added boolean to fix test transport button
* Update Templates.md
Added JSON example and modified titles slightly.
* Update Templates.md
Moved MS Teams examples under "Examples" header since they are no longer formatted in HTML
* Update Templates.md
* Update Templates.md
* Update Msteams.php
changed condition to use $obj['id'] rather than $obj['msg']
* Update Msteams.php
* Fix missing PoE port graphs for Cisco Catalyst 9K
* Reworked code: 2 assignments, added tests
* Simplify code
Checking the MIBs...
CISCO-POWER-ETHERNET-EXT-MIB: AUGMENTS { pethPsePortEntry }
POWER-ETHERNET-MIB: INDEX { pethPsePortGroupIndex , pethPsePortIndex }
This means cpeExtPsePortEntry is always indexed by exactly 2 values. No point in populating slot.subslot.port
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Make the Discord transport more formatted for Discord.
* Generate the fields using a function for cleaner code.
* Handle cases where the elapsed time does not exist in the object.
* Added discovery and graphing for JunOS (SRX) RPM probes
* Proposed changes for a percent based sensor type
* Fixed missing MIB declaration in JunOS YAML discovery file
* Updated Health-information.md to reflect the new percentage value type
* Added separate test data for junos_rpm type
* Update sensors.php
* Update sensors.php
* Update functions.inc.php
* test re-run
* Update junos_rpm.json
* percentage -> loss
* add ifSpeed prev test data
* mis-merge
* update sensors
* and bgp...
Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
Co-authored-by: Tony Murray <murraytony@gmail.com>
* Fix dynamic group membership rule for devices.status equal 0
* Fix dynamic group membership rule for devices.status equal 0 - moved code to right before running alerts
* Remove width from db schema
* Update to address DEFAULT_GENERATED validation, and push new schema
* Only remove width from integer types
* Build from fresh db
Co-authored-by: Tony Murray <murraytony@gmail.com>