* 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
* 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 <[email protected]>
Co-authored-by: Tony Murray <[email protected]>
* Allow agent to run against windows os
* Display processes from windows check_mk agent
* Replace tabs with spaces
* Fix indent
* Add documentation for windows agent
* Add missing python3 modules from repo, remove pip
Added missing python3 modules from official debian repos and thus removing the need for pip
* Add python3-setuptools
* Added note about having same APP_KEY value
As per discussion in discord all pollers belonging to the same LNMS environment, will need to have the same APP_KEY set in future. Updating docs now already to ensure users knows this and fixes their installs where needed.
* Update Distributed-Poller.md
Co-authored-by: Tony Murray <[email protected]>
I personally have no problem with them, but after a recent discussion in discord about a user asking which Repo, it got me thinking that maybe we should also stick to what the OS providers have to say? I see that (obviously) SCL and remi is on the trusted list, so shouldn't the install docs rather stick with them?
https://wiki.centos.org/AdditionalResources/Repositories
* Add php-opcache settings to Performance Tuning
* Updated according to comment made by @murrant
* Changed the content based on discussions in Discord.
* Fixed space.
* Incorporated all changes as per ongoing discussions
* My recommendations.
* My reply to recommendations.
Co-authored-by: Tony Murray <[email protected]>
* Add support for sending events to Sensu
Sensu is an alerting and monitoring service (and much more) that has a
nagios compatible check API.
This transport translates LibreNMS alerts into Sensu events, and sends
them to the agent API running on the same host as the poller.
The transport has a few options, but none of them are required - if the
Sensu agent is correctly configured, alerts will be sent as soon as the
transport is enabled.
There's a fair amount of code, as I've tried to translate as much data as
possible between LibreNMS and Sensu.
* Update Transports.md
* If alerted is 0, send an "ok" alert dated rrd.step / 2 seconds ago
This makes Sensu aware of the last time the check ran successfully (ish).
If we don't send the initial "ok", Sensu will either display 'unknown',
or an incorrectly high duration for the incident.
Alerted gets set to 1 after the first alert is sent.
We choose rrd.step / 2 as:
* rrd.step is the maximum time ago the check could have succeeded
* we halve it, so that if a check is flapping, it is not masked
Basically, we guess that the check fails around halfway through the time
since the poller last ran.
* Add additional metadata
* Improve codeclimate slightly
* Consider names that are 2 or 3 components long
* added functionality to set sysLocation override in $os.inc.php files
* php styling fixes
* updated docs for location override in $os.inc.php
* patch poweralert.inc.php to use $location override
* added location override for enexus (Eltek)
* update phpdoc for set_device_location()
* converged location code in core.inc.php to use set_device_location()
* added new snmprec test data for enexus os
* Travis test data
* remove enexus_smartpacks2 test data
* Revert "remove enexus_smartpacks2 test data"
This reverts commit 36c8fc7036.
* updated enexus_smartpacks2 test data with generic syslocation
* kick travis CI
* kick travis CI