107d72e862
Added Proxmox VE Versoin support
2018-12-25 09:15:22 +08:00
433d744953
Added FreeNAS Version support ( #215 )
...
Hi,
I added FreeNAS version information support, as shown in the figure:


2018-12-16 14:21:00 +00:00
3c4511d987
Merge pull request #214 from dsgagi/patch-1
...
Fix Debian detection on Proxmox - lsb_release binary doesn't exist
2018-12-14 19:03:01 +01:00
dc3d2673dd
Update distro
...
Remove extra white spaces.
2018-12-14 18:49:58 +01:00
456d2e7672
Update distro
...
Minor changes to the code, for better output.
2018-12-14 18:47:54 +01:00
5b53ab54c8
Update distro
2018-12-12 16:09:25 +01:00
ff124a1358
add portactivity SNMP extend ( #159 )
...
* 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
2018-11-22 09:04:58 -06:00
a827734c0e
CloudLinux distro detection ( #208 )
...
Added CloudLinux distro detection, previously CloudLinux got identified as RedHat
2018-10-25 14:19:20 -05:00
8d66211adc
Fix package manager detection ( #204 )
...
* 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
2018-10-25 06:17:42 -05:00
d49fe954df
Add divide by zero check ( #191 )
...
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
2018-10-23 11:46:54 -05:00
381cc2466a
fix nginx script indentation ( #205 )
2018-10-23 07:51:12 -05:00
3dada041e4
Fix binary operator expected error ( #203 )
2018-10-18 09:37:10 -05:00
ccb244aa09
osupdate script clean up ( #199 )
...
- Change script name for simplify of configuration management orchestration scripts.
- Update code syntax.
2018-10-17 17:28:39 +01:00
f0f34b4a2d
phpfpmsf script clean up ( #198 )
...
- Change script name for simplify of configuration management orchestration scripts.
- Update code syntax.
2018-10-17 17:28:07 +01:00
e0dcd4a064
nginx script clean up ( #197 )
...
- Change script name for simplify of configuration management orchestration scripts.
- Change 172.0.0.1 to localhost for better nginx handling.
2018-10-17 17:27:21 +01:00
1c61a96344
ntp-client data correction ( #196 )
...
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.
2018-10-17 17:26:45 +01:00
28a2f8ae55
Update zfs-linux to use env for python
2018-10-15 21:00:16 +01:00
ca7a5cdafe
PhotonOS distro detection ( #193 )
...
* PhotonOS distro detection
Detection before `/etc/os-release` since that is present yet missing the build number.
* awk detection
combining https://github.com/librenms/librenms-agent/pull/193 and https://github.com/librenms/librenms-agent/pull/194
2018-09-19 08:09:04 -05:00
7542bd26f4
Update distro ( #194 )
...
Adding full detection for ASUSWRT-Merlin
2018-09-18 22:20:23 -05:00
7c173b160c
convert all the NTP stuff to JSON ( #174 )
...
This requires https://github.com/librenms/librenms/pull/8571 and is for https://github.com/librenms/librenms/pull/8608 .
Also converted this to regular sh instead of bash, so it will work on more systems with less dependencies.
Has been tested as working on DD-WRT and FreeBSD.
2018-08-27 10:03:01 +01:00
99ad80740c
update for the new json_app_get stuff ( #179 )
2018-08-19 17:47:07 -05:00
c772ac97d3
added rockstor nas distro detection ( #187 )
2018-08-09 22:44:02 +01:00
c535b1286c
Asterisk Script ( #183 )
...
Asterisk App support.
- Channels
- Calls
- Total SIP Peers
- Monitored Online
- Monitored Offline
- Unmonitored Online
- Unmonitored Offline
2018-07-19 21:39:08 +01:00
7e55d1cd5d
Update fail2ban extend script to new JSON format ( #181 )
...
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.
2018-06-25 09:10:00 -05:00
b5d77f1a99
convert fail2ban-client to JSON ( #172 )
...
* convert to JSON
* add version return
* change the version number of the returned data to 1
2018-05-28 07:22:09 -05:00
41d36dc97f
make using SN or device name selectable for SMART reporting ( #168 )
...
* make using SN or device name selectable
* change the default to SN
2018-04-27 22:46:57 +01:00
385d466eee
Add random entropy monitoring ( #173 )
2018-04-13 17:42:27 +01:00
a56adb467a
add zfs support for linux ( #170 )
...
* 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
2018-04-11 09:39:32 +01:00
8ec6017246
correct arc size breakdown ( #171 )
2018-04-11 08:34:39 +01:00
90fd6f60f3
Should be greater than or equal to ( #167 )
2018-03-23 16:24:02 +00:00
3a84624615
Replace disk identifier with disk serial in S.M.A.R.T snmp script ( #164 )
2018-02-27 21:10:35 +00:00
bbd3b1309a
Fix Command_Timeout missing from SMART output ( #163 )
2018-02-18 20:33:42 +00:00
fd9fd178a4
extend: powerdns-dnsdist ( #158 )
...
* powerdns-dnsdist app
* fix script in help
* removed local data manipulation
* again name of file in script help
* removed personal api info
2018-01-06 20:06:45 +00:00
bacaca0be4
ZFS SNMP agent :3 <3 ( #156 )
...
* Add it as it currently is. Needs to be moved over to JSON
* rename it to zfs-freebsd as it is FreeBSD specific
now uses JSON
* misc. updates and document it all
* minor spelling correction
2017-12-30 11:42:37 +00:00
c7cae0765e
update the fail2ban stuff ( #155 )
...
Dropping firewall checking as the new fail2ban uses pf and anchors on
FreeBSD, which while esoteric as fuck works nicely and is reliable.
2017-12-30 11:39:36 +00:00
8920cd3f29
freeradius.sh: new agent for incoming main PR ( #151 )
...
* Update os-updates.sh
* Update os-updates.sh
* Update os-updates.sh
* Create freeradius.sh
* Update freeradius.sh
* Update freeradius.sh
2017-12-12 21:13:10 -06:00
3b9d632a8d
hddtemp, ignore devices not supporting SMART ( #153 )
2017-12-04 20:11:17 +00:00
7fb48df857
Fix: Apache SNMP extend IndexError ( #116 )
...
See issue for more information:
https://github.com/librenms/librenms-agent/issues/95
2017-10-27 07:41:05 +02:00
2996ad88b0
fix: Update mysql ( #127 )
...
Update mysql agent script based on updated changes in newest version of Percona Monitoring Plugins (Cacti template).
Changes enable correct parsing of status data for newer versions of MySQL/MariaDB database servers and should be backward compatible with older versions.
2017-10-27 07:39:09 +02:00
d0762871b4
os-update.sh: back to package management based and count fixes ( #149 )
...
* Update os-updates.sh
* Update os-updates.sh
* Update os-updates.sh
2017-10-09 20:02:05 +01:00
6a40ca1e9c
fix munin agent ( #148 )
...
Without the full munin-scripts path, this script won't find munin file and return nothing.
2017-09-20 20:47:11 +01:00
1b03d2f9f7
Add Oracle Linux Distribution to distro script ( #146 )
...
* Add Oracle Linux to distro script
* Revert local change
2017-09-06 19:42:58 +01:00
45478555df
Update Distro, for Raspbian Support ( #144 )
2017-08-27 20:59:15 +01:00
3380a85ff1
Update raspberry.sh ( #143 )
...
Fix state WMV9
2017-08-12 16:30:02 +01:00
a50e1dffb8
Update raspberry.sh ( #140 )
2017-08-03 17:11:26 +01:00
584fd645d4
C.H.I.P. power values ( #134 )
...
* C.H.I.P. power values
* Added attribution
* Fix ACIN current calculation
* Battery current fix
2017-07-12 20:55:02 +01:00
3f9dc0f5f0
Fix for bug https://github.com/librenms/librenms/issues/6821 ( #138 )
2017-06-29 21:11:26 +01:00
a4efb62466
unnecessary use of wc while already calling grep ( #137 )
...
* useless call of wc while already calling grep
* move grep count call to CMD_GREP to stay in project style
2017-06-28 21:36:26 +01:00
cc6d7882db
Strip all non-ASCII characters from hddtemp output ( #136 )
2017-06-10 10:20:48 +01:00
3903f431f7
bash script for pi-hole app ( #135 )
2017-06-05 23:00:29 +01:00