* fix zpool data, output of zpool list -pH changed in freebsd 11
* fix zpool data, output of zpool list -pH changed in freebsd 11
* bump version
* version dump to 2
* update postfix
* move a few things to reduce the number of changed lines
* move mself to the end
* white space cleanup and another small cleanup of $chr
* use $chrNew instead of $chrC when writing the current values
* more white space cleanup
* replace one more missed instance of iuoscp
* convert fbsdnfsclient over to JSON
* Convert the server stuff to JSON and fix the output of the client extend.
* misc. stuff
* lots of cleanup and sanity added to the FreeBSD NFS scripts
* fix the #! line
* update the docs at the top
* add snmp/ups-apcups, a Perl rewrite of snmp/ups-apcups.sh to support JSON
* finish documenting it
* add version and remove units from the returned values
* add portactivity SNMP extend in its initial form
* update for the current json_app_get
* add version to the returned JSON
* add basic POD documentation
* Fix package manager detection
* use release file for os detection
* Use command to to validate package manager type
* check if exists and the execute permission is granted
* make script more portable
On several servers (Ubuntu 18.04) DEMAND_DATA_TOTAL is 0 currently and is causing an error
Traceback (most recent call last):
File "/usr/local/bin/zfs-linux", line 178, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/local/bin/zfs-linux", line 76, in main
DATA_DEMAND_PERCENT = DEMAND_DATA_HITS / DEMAND_DATA_TOTAL * 100
ZeroDivisionError: division by zero
NTP was not displaying data right for linux servers. It was putting the frequency data into the offset data. This was giving bad graphs in the UI. Tested the correction on both RHEL and Debian based operating systems and all passes.
Remove the .sh to simplify for configuration management orchestration scripts.
As seen at [this location](7fab99cfc1/includes/polling/functions.inc.php (L768)) the JSON output needs to contain a `data` field. The poller php script actually also extracts this `data` field as one of the first steps, see at [this line](c3007b483a/includes/polling/applications/fail2ban.inc.php (L36)).
Before I changed these parts the graph didn't show up because the RRD files simply weren't generated as an exception occurred in the poller. This fixes this problem.
* add zfs support for linux
* fix pools and anon_hits_per
* strip percent sign for pool cap
* fix anon_hits json key typo
* fix demand_data_hits json key typo
* fix comparison as in #169
* fix min_size_percent