hopefully doesn't break anything
Mostly issues with snmp oids and options containing spaces. Try to remove all of those.
DO NOT DELETE THIS TEXT
#### Please note
> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.
- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
* Add ability to get Freeswitch application data via snmp
On your Freeswitch server install the script from
https://github.com/librenms/librenms-agent/blob/master/agent-local/freeswitch
into /etc/snmp, make it executable and adjust it to your installation.
Configure your snmpd to use the sript as an extension. For example on Debian
add the following line to your /etc/snmp/snmpd.conf:
extend freeswitch /etc/snmp/freeswitch
Activate the Freeswitch application for your server on your LibreNMS server.
it should now start to receive data from your Freeswitch server via snmp.
* Graph "Calls" and "Channels" of Freeswitch agent
The Freeswitch agent sends Calls and Channels count and they weren't graphed
up to now. This is especially useful in settings where the Freeswitch
server does not act as a Gateway and thus the agent does not sent
Incoming and Outgoing Call numbers.
* Cleanup commented code and add myself to authors
* feature: Added app_state support for applications #5068
* moved schema file 173 -> 174
* Re-arrange code
* added device_id to dbUpdate call
* updated function + missing apps
* Rename 174.sql to 176.sql
* Remove $device, it is unneeded when updating. Rename update_applications() -> update_application()
* Some apps can return simply 0
* feature: Allow customisation of rrd step/heartbeat when creating new rrd files
* revert defaults
* added docs + webui config option
* Move RrdDefinition to an Object to make them easier to create and remove the possibility of typos.
* Fix style/lint issues and missing use statements
* 3 more missing use statements
* updated doc + moved schema file
* Added support for freeswitch via unix_agent
* Fixed display of graphs on apps overview
* Removed tab indents
* Fixed not sending port_descr_type (#4188)
* Removed / Updated version info to just be LibreNMS (#4193)
* Remove requirement for ['enable_printers'] (#4192)
* ricoh devices returning garbage as toner level (#4180)
* ricoh devices returning garbage as toner level
* ricoh toner extra check
* more ricoh rules
* Fix remote rrdtool_check_rrd_exists() calls (#4196)
It was comparing with the full name when rrdcached only printed out the relative name.
Thanks mikmak on irc for lots of troubleshooting.
* check for no motd line (#4200)
Fixes#4199
* Only push the toc down, not the content
the toc is on top when the header switches to two lines, so we only need to push that down.
* IRC bot - detect lost communication
Force reconnect if no data received from server for config['irc_conn_timeout'] seconds (that may happen when network/VPN goes down - in such case IRC bot won't get immediately notification that connection was lost, at least till it tries to send anything).
* Update irc.php
* Update irc.php
* Update irc.php
* Update irc.php
* fix ifName randomly defined, breaking influxdb updates (#4202)
* IRC bot - allow to disable ssl check
In PHP 5.6.x stream wrappers verify peer certificates and host names by default when using SSL. That fix allows to turn off that verification with config option $config['irc_disable_ssl_check'] = true;
It is useful when you want to use self generated certificate for your own IRC server.
* Update irc.php
* More more docs (#4197)
* Updated docs + some small code changes
* Added validating code doc for developers
* Doc updates
* Updates and improvements
* Add ntpd to the list of agentapps (#4194)
* Fix deprecated constructors
This small change should't prevent easy updates to libraries and fixes the lint check on php7
* Don't allow php7 failures anymore
* Fix defunct process issues: create Proc class (#4210)
* Proc class
Encapsulate processes in a class, when they go out of scope, we can use the __destruct() process to make sure the process terminates.
* Fix rrdtool_last checks failing
* Don't close rrdtool in rrd_graph
Try to start rrdtool process if they haven't been started yet
Remove some extra debug output
* phpdocs added
several cleanups
should still be functioning the same
Only open one rrdtool process for graph.php
* include common.php in definitions.inc.php (#4198)
definitions.inc.php makes a call to dbFetchRow, which uses c_echo()
It is safe to include common.php here as it only has function definitions.
* Use pre-commit.php in for travis-ci tests (#4212)