forked from librenms/librenms-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/qq
2069 lines (1337 loc) · 61.8 KB
/qq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[33mcommit 3361bf4c3ae5868b00d09215e10359f58a36ac12[m
Author: SourceDoctor <sourcehhdoctor@googlemail.com>
Date: Wed May 1 14:55:54 2019 +0200
add mdadm support
[33mcommit d822c899a78bdfd1e7d9f4df2bd5cd512b1696bd[m
Merge: 8fbfbd5 544fd8b
Author: VVelox <vvelox-github@vvelox.net>
Date: Sun Mar 24 03:56:16 2019 -0500
Merge pull request #226 from VVelox/smart-update
SMART monitoring update adding RAID support
[33mcommit 544fd8bd6e525b3c29d9965c2b405b39ba49a98d[m
Author: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Date: Tue Mar 19 02:58:30 2019 -0500
update the date
[33mcommit 8fbfbd5b39bbc22ca606327813c4fe54b38e4d30[m
Merge: cb04f8c 38acc2b
Author: VVelox <vvelox-github@vvelox.net>
Date: Tue Mar 19 02:53:30 2019 -0500
Merge pull request #225 from VVelox/pa-fix
portactivity fixes
[33mcommit 503fb9f7389d8307074ed856f96a870a0d26dd72[m
Author: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Date: Tue Mar 19 02:25:17 2019 -0500
tested and it appears to work properly... documentation updated
[33mcommit bdfd0ceea948382684a2bd96659731f9ac5f15b1[m
Author: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Date: Tue Mar 19 00:40:06 2019 -0500
update the guessing to only use smartctl --scan-open and generate with more complex options
[33mcommit 38acc2bd3d8e81414b4bfc2cb2bb3e955877fbc1[m
Author: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Date: Mon Mar 18 03:39:17 2019 -0500
actually make this work on system not FreeBSD and deal with the bug where a connection may not have a protocol
[33mcommit cb04f8c0ac148cb2b250d0a408f672db22e99ed5[m
Merge: 147cb67 af32f56
Author: VVelox <vvelox-github@vvelox.net>
Date: Sun Mar 17 23:27:46 2019 -0500
Merge pull request #224 from VVelox/zfs-fix
ZFS-FreeBSD divide by zero fix
[33mcommit af32f56a74e0d9915b4beb419a28814e9bf058d8[m
Author: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Date: Sun Mar 17 06:07:59 2019 -0500
merge... and update version
[33mcommit 658c3c6ead712837bbb763c6b9ecdd782b043629[m
Merge: 6564128 147cb67
Author: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Date: Sun Mar 17 06:06:57 2019 -0500
Merge branch 'zfs-fix' of https://github.com/VVelox/librenms-agent into zfs-fix
[33mcommit 656412830564593cfefeee5dceeae89bfa371000[m
Author: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Date: Sun Mar 17 06:02:43 2019 -0500
remove unneeded else statement and re-apply patch
[33mcommit 3ce06d6defc63f200f2bbfec7718748c8ec9e832[m
Author: Zane C. Bowers-Hadley <vvelox@vvelox.net>
Date: Sun Mar 17 05:55:33 2019 -0500
freshly initilized ZFS pulls that are not in use don't have a $data_demand_total
[33mcommit 147cb67824b213045826677946166c8ee807f23c[m
Author: Tony Murray <murraytony@gmail.com>
Date: Tue Feb 12 20:33:05 2019 -0600
Use os-release whenever possible for the distro script (#220)
Except centos... https://bugs.centos.org/view.php?id=8359
[33mcommit c9a0d2893e44f89f7c8c9450a9d42438eff1404d[m
Author: Felicián Hoppál <felici@users.noreply.github.com>
Date: Mon Feb 11 23:06:57 2019 +0100
Fix: zpool list output changed, incorrect values (#219)
* 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
[33mcommit 3a407e3f721b7677fb2724af736ea87838d4dcc5[m
Author: Tony Murray <murraytony@gmail.com>
Date: Thu Jan 17 11:44:02 2019 -0600
Update powerdns script to json (#218)
[33mcommit ad300c035a2be4a55553c2994d5ce7ba69d57432[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Wed Jan 9 23:41:39 2019 -0600
various misc fixes for the postfix poller (#112)
* 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
[33mcommit c40606140114b9059409f17a21b06fe8655b760e[m
Author: Slashdoom <5092581+slashdoom@users.noreply.github.com>
Date: Thu Jan 10 18:40:40 2019 +1300
Fix: InnoDB stat support for MariaDB v10+ (#211)
* mariadb innodb support for v10+
* fix newer innodb insert buffers
* agent mysql to snmp extend
[33mcommit 6fdaffa1b2ba8c49ed8bd38fb6445335b3146329[m
Author: Mike Centola <mcentola@appliedengdesign.com>
Date: Thu Jan 10 00:35:28 2019 -0500
Added gpsd script for SNMP Extend (#217)
Fixed Typos
Fixed another typo
[33mcommit f54c442d06abd7d2112dc4dc5db315524030308c[m
Merge: 1b90904 107d72e
Author: CrazyMax <crazy-max@users.noreply.github.com>
Date: Sat Dec 29 22:17:13 2018 +0100
Merge pull request #216 from jasoncheng7115/patch-2
Added Proxmox VE Versoin support
[33mcommit 1b90904f61c6d4078f2b427e17c82cf1f8b926ba[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Fri Dec 28 20:10:13 2018 -0600
convert the FreeBSD NFS stuff over to JSON and add in lots of sanity (#190)
* 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
[33mcommit 5be1b168ba4e03ba3a58b3833a26587474ff7b29[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Fri Dec 28 20:08:46 2018 -0600
JSON SNMP extend for UPS-APC app. (#189)
* 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
[33mcommit 107d72e862c2e2a53870272859252a5d39bf8c72[m
Author: Jason Cheng <30381035+jasoncheng7115@users.noreply.github.com>
Date: Tue Dec 25 09:15:22 2018 +0800
Added Proxmox VE Versoin support
[33mcommit 433d744953fa800ce49fa060b141c10663c0b952[m
Author: Jason Cheng <30381035+jasoncheng7115@users.noreply.github.com>
Date: Sun Dec 16 22:21:00 2018 +0800
Added FreeNAS Version support (#215)
Hi,
I added FreeNAS version information support, as shown in the figure:
![2018-12-15 11 53 31](https://user-images.githubusercontent.com/30381035/50044886-2329a580-00c5-11e9-817c-b89a8374270d.png)
![2018-12-15 11 53 49](https://user-images.githubusercontent.com/30381035/50044887-2329a580-00c5-11e9-93b4-b140809f84a3.png)
[33mcommit 3c4511d987c2058bd6e8605bb0e87c6fc1d36861[m
Merge: ff124a1 dc3d267
Author: CrazyMax <crazy-max@users.noreply.github.com>
Date: Fri Dec 14 19:03:01 2018 +0100
Merge pull request #214 from dsgagi/patch-1
Fix Debian detection on Proxmox - lsb_release binary doesn't exist
[33mcommit dc3d2673ddc86d02ca2cd8d93bbf2fd53ca43c55[m
Author: dsgagi <dragan.savic@netcast.rs>
Date: Fri Dec 14 18:49:58 2018 +0100
Update distro
Remove extra white spaces.
[33mcommit 456d2e7672d8532af4df7f6da2b5c18b02778bf7[m
Author: dsgagi <dragan.savic@netcast.rs>
Date: Fri Dec 14 18:47:54 2018 +0100
Update distro
Minor changes to the code, for better output.
[33mcommit 5b53ab54c8a6d9f3b81abf42725b5da2b3ebec3d[m
Author: dsgagi <dragan.savic@netcast.rs>
Date: Wed Dec 12 16:09:25 2018 +0100
Update distro
[33mcommit ff124a1358755ceddc0ae6a4187d358da0d54d06[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Thu Nov 22 09:04:58 2018 -0600
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
[33mcommit a827734c0ec0e0cdf5e2a04730ec68dbad3fd477[m
Author: gardar <gardar@users.noreply.github.com>
Date: Thu Oct 25 19:19:20 2018 +0000
CloudLinux distro detection (#208)
Added CloudLinux distro detection, previously CloudLinux got identified as RedHat
[33mcommit 8d66211adc47d3bad5dd042e3ddbc59a23a28819[m
Author: sparknsh <38894705+sparknsh@users.noreply.github.com>
Date: Thu Oct 25 07:17:42 2018 -0400
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
[33mcommit d49fe954dfdeffbeee091051f1f0c515d020f281[m
Author: Félim Whiteley <felim@whiteleytech.ie>
Date: Tue Oct 23 17:46:54 2018 +0100
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
[33mcommit 381cc2466af521772607c682a9a707471a38ff4b[m
Author: sparknsh <38894705+sparknsh@users.noreply.github.com>
Date: Tue Oct 23 08:51:12 2018 -0400
fix nginx script indentation (#205)
[33mcommit 3dada041e433318592e137678d24c32dd1a134b4[m
Author: sparknsh <38894705+sparknsh@users.noreply.github.com>
Date: Thu Oct 18 10:37:10 2018 -0400
Fix binary operator expected error (#203)
[33mcommit ccb244aa09de36e4e4dd85120702580144e86383[m
Author: sparknsh <38894705+sparknsh@users.noreply.github.com>
Date: Wed Oct 17 12:28:39 2018 -0400
osupdate script clean up (#199)
- Change script name for simplify of configuration management orchestration scripts.
- Update code syntax.
[33mcommit f0f34b4a2d1a36836f6bffe4307d5d51524009b4[m
Author: sparknsh <38894705+sparknsh@users.noreply.github.com>
Date: Wed Oct 17 12:28:07 2018 -0400
phpfpmsf script clean up (#198)
- Change script name for simplify of configuration management orchestration scripts.
- Update code syntax.
[33mcommit e0dcd4a064cedb09241e4af17198bf61e8fd1bf3[m
Author: sparknsh <38894705+sparknsh@users.noreply.github.com>
Date: Wed Oct 17 12:27:21 2018 -0400
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.
[33mcommit 1c61a96344317c13fce90811c11c0fa4cb7efb36[m
Author: sparknsh <38894705+sparknsh@users.noreply.github.com>
Date: Wed Oct 17 12:26:45 2018 -0400
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.
[33mcommit 28a2f8ae55db7ca773f881560017b4890bc4bbce[m
Author: voxnil <14983067+voxnil@users.noreply.github.com>
Date: Mon Oct 15 13:00:16 2018 -0700
Update zfs-linux to use env for python
[33mcommit ca7a5cdafe6dd603538aad8f63bc624143f98377[m
Author: Brock Alberry <vowywowy@gmail.com>
Date: Wed Sep 19 09:09:04 2018 -0400
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
[33mcommit 7542bd26f4c883c7e622056a1a34909d1dc9aa2c[m
Author: Allison <acreely@outlook.com>
Date: Tue Sep 18 20:20:23 2018 -0700
Update distro (#194)
Adding full detection for ASUSWRT-Merlin
[33mcommit 7c173b160c5be401fa36d85edf15add61a3146d7[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Mon Aug 27 04:03:01 2018 -0500
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.
[33mcommit 99ad80740cb2fcea1c33e59caf1c05af5a53a14f[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Sun Aug 19 17:47:07 2018 -0500
update for the new json_app_get stuff (#179)
[33mcommit c772ac97d3f5b805c311fd13d924513b4561d10b[m
Author: crcro <crc@nuamchefazi.ro>
Date: Fri Aug 10 00:44:02 2018 +0300
added rockstor nas distro detection (#187)
[33mcommit c535b1286c7701a2cefcd10ffd799fba65e56dd2[m
Author: TheGreatDoc <32565115+TheGreatDoc@users.noreply.github.com>
Date: Thu Jul 19 22:39:08 2018 +0200
Asterisk Script (#183)
Asterisk App support.
- Channels
- Calls
- Total SIP Peers
- Monitored Online
- Monitored Offline
- Unmonitored Online
- Unmonitored Offline
[33mcommit 7e55d1cd5db04019de09aff7b134a85df71e901a[m
Author: István Sárándi <prog@istvansarandi.com>
Date: Mon Jun 25 16:10:00 2018 +0200
Update fail2ban extend script to new JSON format (#181)
As seen at [this location](https://github.com/librenms/librenms/blob/7fab99cfc13b80a543fb779d68c659b52fc074b1/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](https://github.com/librenms/librenms/blob/c3007b483a12758042e5d0c6009a8ef48e3e1a39/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.
[33mcommit b5d77f1a999c5e0f08bc02550fd24e7c37b759c7[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Mon May 28 07:22:09 2018 -0500
convert fail2ban-client to JSON (#172)
* convert to JSON
* add version return
* change the version number of the returned data to 1
[33mcommit 41d36dc97f6886bae4ae6e8ba928892ef9d3c8c3[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Fri Apr 27 16:46:57 2018 -0500
make using SN or device name selectable for SMART reporting (#168)
* make using SN or device name selectable
* change the default to SN
[33mcommit 385d466eee1adc06eecd4a84cfd6615f2e4ba2ec[m
Author: Sander Steffann <sander@steffann.nl>
Date: Fri Apr 13 17:42:27 2018 +0100
Add random entropy monitoring (#173)
[33mcommit a56adb467a1cdf9785f977420dd07a48335f41b3[m
Author: Serphentas <Serphentas@users.noreply.github.com>
Date: Wed Apr 11 10:39:32 2018 +0200
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
[33mcommit 8ec6017246edc9784e670d84bd8b52ec094dbb82[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Wed Apr 11 02:34:39 2018 -0500
correct arc size breakdown (#171)
[33mcommit 3ddb1d6be6b4a4a0cd006251b497bb1ccf8170e8[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Tue Apr 10 22:04:07 2018 -0500
correct arc size breakdown
[33mcommit 90fd6f60f3aed5f71140d23a8d022ae9909e7473[m
Author: Dylan Underwood <dylan@rebelmedia.io>
Date: Fri Mar 23 11:24:02 2018 -0500
Should be greater than or equal to (#167)
[33mcommit 3a8462461595535a53554b0ad66bc922118e83d1[m
Author: endofline <enilfodne@users.noreply.github.com>
Date: Tue Feb 27 23:10:35 2018 +0200
Replace disk identifier with disk serial in S.M.A.R.T snmp script (#164)
[33mcommit bbd3b1309aaa3ecaf6f502e92718719539715c58[m
Author: endofline <enilfodne@users.noreply.github.com>
Date: Sun Feb 18 22:33:42 2018 +0200
Fix Command_Timeout missing from SMART output (#163)
[33mcommit fd9fd178a4b43feafb414822167b3033693c8efc[m
Author: crcro <crc@nuamchefazi.ro>
Date: Sat Jan 6 22:06:45 2018 +0200
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
[33mcommit bacaca0be4104cc003222b941e433d5470cae76d[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Sat Dec 30 05:42:37 2017 -0600
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
[33mcommit c7cae0765e0f5072fdf3dd224f357290e2697fb5[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Sat Dec 30 05:39:36 2017 -0600
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.
[33mcommit 8920cd3f290e8c13a3bb7db96ceb8db05845869d[m
Author: Slashdoom <5092581+slashdoom@users.noreply.github.com>
Date: Wed Dec 13 16:13:10 2017 +1300
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
[33mcommit 3b9d632a8d6dbd6ac3f42f75ba36faa235ef4440[m
Author: arrmo <arrmo@users.noreply.github.com>
Date: Mon Dec 4 14:11:17 2017 -0600
hddtemp, ignore devices not supporting SMART (#153)
[33mcommit 7fb48df8579a8e113153c1439a4fa92829847d9f[m
Author: Daniel Bull <github@neonhorizon.co.uk>
Date: Fri Oct 27 06:41:05 2017 +0100
Fix: Apache SNMP extend IndexError (#116)
See issue for more information:
https://github.com/librenms/librenms-agent/issues/95
[33mcommit 2996ad88b00f24777c0e5629cb931b8b448dd515[m
Author: dragans <dragan.savic@netcast.rs>
Date: Fri Oct 27 07:39:09 2017 +0200
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.
[33mcommit d0762871b4cfb0a7cbfcc5ba99bc1fe0b0c51cf3[m
Author: Slashdoom <5092581+slashdoom@users.noreply.github.com>
Date: Tue Oct 10 08:02:05 2017 +1300
os-update.sh: back to package management based and count fixes (#149)
* Update os-updates.sh
* Update os-updates.sh
* Update os-updates.sh
[33mcommit 6a40ca1e9cc4319e6b7363541feb9681dcf5bc5f[m
Author: tomarch <tomarch@gagniere.me>
Date: Wed Sep 20 21:47:11 2017 +0200
fix munin agent (#148)
Without the full munin-scripts path, this script won't find munin file and return nothing.
[33mcommit 1b03d2f9f74ca29b177e596c0ff2ba13a0e1292d[m
Author: Uwe Arzt <mail@uwe-arzt.de>
Date: Wed Sep 6 20:42:58 2017 +0200
Add Oracle Linux Distribution to distro script (#146)
* Add Oracle Linux to distro script
* Revert local change
[33mcommit 45478555df856af51e707c3cd6ace716c709e0fb[m
Author: arrmo <arrmo@users.noreply.github.com>
Date: Sun Aug 27 14:59:15 2017 -0500
Update Distro, for Raspbian Support (#144)
[33mcommit 3380a85ff13f0dad706690b71b2bd8e9d9452926[m
Author: Zucht <Zucht@users.noreply.github.com>
Date: Sat Aug 12 17:30:02 2017 +0200
Update raspberry.sh (#143)
Fix state WMV9
[33mcommit a50e1dffb89738814a1183e2e0560ab86daaf3f0[m
Author: Neil Lathwood <neil@lathwood.co.uk>
Date: Thu Aug 3 17:11:26 2017 +0100
Update raspberry.sh (#140)
[33mcommit 584fd645d470e85e30607b8be3102292b4a7b54e[m
Author: drid <drid@users.noreply.github.com>
Date: Wed Jul 12 22:55:02 2017 +0300
C.H.I.P. power values (#134)
* C.H.I.P. power values
* Added attribution
* Fix ACIN current calculation
* Battery current fix
[33mcommit 3f9dc0f5f02c1590d6e84ac10c6f7c973d54f771[m
Author: RedChops <RedChops@users.noreply.github.com>
Date: Thu Jun 29 16:11:26 2017 -0400
Fix for bug https://github.com/librenms/librenms/issues/6821 (#138)
[33mcommit a4efb62466c58ee05b3c078283a2a9fecb7cd3ce[m
Author: Stefan Funke <stefan@stadtaffe.eu>
Date: Wed Jun 28 22:36:26 2017 +0200
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
[33mcommit cc6d7882dba89bce0a1f3a27d9fd3b399a2430b9[m
Author: einarjh <einar@haraldseid.net>
Date: Sat Jun 10 11:20:48 2017 +0200
Strip all non-ASCII characters from hddtemp output (#136)
[33mcommit 3903f431f7f56ef4f48bd50d28c05aec8e795bc0[m
Author: crcro <crc@nuamchefazi.ro>
Date: Tue Jun 6 01:00:29 2017 +0300
bash script for pi-hole app (#135)
[33mcommit 84630dfb84539936efa47bfe3b13638f809a82c5[m
Author: Félim Whiteley <felim@whiteleytech.ie>
Date: Wed May 31 22:23:38 2017 +0100
Fix for first line as localhost (#130)
An example output like below where the first line of output is just "localhost" so it causes the splitting to cause an out of index error.
Example:
cat /tmp/apache-snmp
localhost
ServerVersion: Apache/2.4.25 (Ubuntu) PHP/5.6.30-5+deb.sury.org~trusty+2
ServerMPM: prefork
Server Built: 2016-12-21T00:00:00
CurrentTime: Thursday, 18-May-2017 19:26:43 EDT
RestartTime: Thursday, 18-May-2017 11:35:48 EDT
ParentServerConfigGeneration: 2
ParentServerMPMGeneration: 1
ServerUptimeSeconds: 28255
ServerUptime: 7 hours 50 minutes 55 seconds
Load1: 0.04
Load5: 0.05
Load15: 0.10
Total Accesses: 5367
Total kBytes: 61432
CPUUser: 19.69
CPUSystem: 1.05
CPUChildrenUser: 0
CPUChildrenSystem: 0
CPULoad: .0734029
Uptime: 28255
ReqPerSec: .189949
BytesPerSec: 2226.38
BytesPerReq: 11721
BusyWorkers: 1
IdleWorkers: 6
Scoreboard: ___....._.__.W........................................................................................................................................
[33mcommit 16178c6ac31ed2511243ccfab5b25b69b031d3fa[m
Author: Aldemir Akpinar <aldemira@users.noreply.github.com>
Date: Thu Jun 1 00:23:07 2017 +0300
Added devuan support for os-updates.sh and removed code repitition (#131)
[33mcommit f473c5e30ca0649baa590dd5a7f041ce91f57e73[m
Author: BlackDex <black.dex@gmail.com>
Date: Tue May 23 14:44:05 2017 +0200
Added try-except checks for global values. (#107)
Fixed an error which prevented output.
It seems some ceph version probably use different values or something. This is a quick fix to have the script output the correct values.
[33mcommit 6fdcc91f7041ad49cbb906b814a1b5ecf8fd2e4c[m
Author: Karl Shea <karlshea@gmail.com>
Date: Thu May 4 02:06:32 2017 -0500
Fix bind config file read (#125)
[33mcommit e3dad6cfc9c6549e1f5cfef41ef2cf20a9827352[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Wed May 3 09:23:40 2017 -0500
BIND cleanup and expansion (#108)
* add BIND named SNMP extend
* nolonger piss the entire stats across the wire, but crunch them and return them
* more work on bind
* more misc. updates
* add proper agent support as well as optional zeroing
* add -m
[33mcommit 69eee9fb898bd521e3f4ab5d2d93cf5b34949e1d[m
Author: Aldemir Akpinar <aldemira@users.noreply.github.com>
Date: Tue May 2 12:22:19 2017 +0300
Added Devuan GNU/Linux support (#124)
[33mcommit eaa6af235978405418d8e6d6e0beb04f761a578b[m
Author: crcro <crc@nuamchefazi.ro>
Date: Thu Apr 27 22:54:55 2017 +0300
snmp-extend: sdfsinfo (#122)
* sdfsinfo app snmp extend
* rewrite script to bash
* more vars
[33mcommit 69e1ace889cfee6963cc6506a5e96fb30cabac1b[m
Author: RedChops <RedChops@users.noreply.github.com>
Date: Sat Apr 22 19:29:00 2017 -0400
Include missing SMART ids in the output (#120)
[33mcommit 705cc0f3fe62e4837ecf4be86dec95558ca07ff3[m
Author: Svennd <svennson@gmail.com>
Date: Tue Apr 18 22:34:05 2017 +0200
add support for SGE/rocks job tracker (#118)
[33mcommit d7085e001cebf0bf086b84ac0c65cad54f90ee38[m
Author: Chris Putnam <putnam@users.noreply.github.com>
Date: Tue Apr 18 13:32:41 2017 -0700
hddtemp: parallelize calls to hddtemp for performance (#117)
This poll script runs hddtemp with a list of all drives as arguments and reads the output. hddtemp scans each drive's SMART status serially, which scales poorly with a large number of drives.
In lieu of a patch to the actual hddtemp project, optionally use GNU parallel when available to parallelize the call to hddtemp.
In testing a machine with 58 drives I went from a runtime of about 5 seconds per run to 0.5s, a performance improvement of 10x.
[33mcommit 5f47aad492a679a81da0a19f2649f60d6637e199[m
Author: Chris Putnam <putnam@users.noreply.github.com>
Date: Fri Apr 7 01:45:56 2017 -0500
hddtemp: improve detection of drives (#115)
Previously, this script was only able to find 26 drives (sda-sdz) due to the use of globbing.
A better strategy for detecting drives would be to use lsblk on systems that support it, failing over to globbing.
This patch adds support both for lsblk and a more comprehensive glob solution with find that will at least catch 26^2 drives.
[33mcommit 67bae5a86cfe47c90ade541c1e613f7e5e788cfd[m
Author: Philip Rosenberg-Watt <PhilRW@users.noreply.github.com>
Date: Thu Apr 6 03:24:36 2017 -0600
fix: Update proxmox agent to use new Perl module (#88)
PVE::API2Client is deprecated in Proxmox 4.4-6. Agent now requires
installation of libpve-apiclient-perl via apt.
This commit fixes #81.
[33mcommit a7fe1f8e6f98640463a93f934ac2580311db09ca[m
Author: Tony Murray <murraytony@gmail.com>
Date: Wed Mar 29 19:11:23 2017 -0500
Copy powerdns-recursor to snmp and remove <<<powerdns-recursor>>> header (#111)
[33mcommit 74faec281c13928e60c140d85bb3138e7297fa79[m
Author: Florian Beer <fb@42dev.eu>
Date: Thu Mar 30 00:00:26 2017 +0200
Postfix app bug fixes (#105)
* Postfix app bug fixes
- add missing DS
- fix some totals
* Move new variable to end of output
[33mcommit 1e7762fb4eb832ed9d7530994804a284028c9c7c[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Wed Mar 22 09:28:57 2017 -0500
add SMART SNMP extend script (#101)
* add SMART SNMP extend
* cleanup default disk examples
* correct a small typo
* add option caching support
* add checking selftest log and nolonger zeros non-existent IDs
* now uses a config file
* add the ability to guess at the config
* properly remove device entries with partitions now and avoid adding dupes in a better manner
* now have smartctl scan as well to see if it missed anything
* note why ses and pass are ignored
* properly use the cache file in the config now
* actually use the cache now
[33mcommit 94aa0feacdfc71b6d8044c66992069538071ca39[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Sun Mar 19 13:03:59 2017 -0500
add unbound SNMP extend script (#102)
[33mcommit 495f46afb431a0ef29fe58c40a01c7f9d352c3d5[m
Author: Tony Murray <murraytony@gmail.com>
Date: Fri Mar 10 06:29:19 2017 -0600
Update mysql script to php7 version... (#104)
* Update mysql script to php7 version...
* Update mysql
[33mcommit 61579bf0ace0a963f6ffbf9ca263910c5f6614fe[m
Author: Tuxis Internet Engineering V.O.F <mark@tuxis.nl>
Date: Wed Mar 8 09:51:04 2017 +0100
Enable ipv6 in Xinetd (#100)
* Fix indenting and enable IPv6 in Xinetd
* Fix changelog
* Typo
[33mcommit 7f79fc4167adac967d89d0ee6277f78886a5c7b9[m
Author: Tony Murray <murraytony@gmail.com>
Date: Tue Mar 7 23:48:15 2017 -0600
Update mysql
[33mcommit 1b1d8b491f842edc3e04c5405ae13de4f60a6751[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Tue Mar 7 23:40:09 2017 -0600
clean up snmp/mysql_stats.php and make it a proper snmpd extend script now (#99)
* cleanup and make it something that can properly be invoked via cli
* blank the user/pass/host bits increasing the chances it will work out of the box
* Update mysql_stats.php
* Update mysql_stats.php
* Update mysql_stats.php
* Update mysql_stats.php
* Rename mysql_stats.php to mysql
[33mcommit e7c331070100290b3780ba6907add81be82165c6[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Fri Mar 3 14:41:38 2017 -0600
add Nvidia SNMP extend poller (#94)
* add Nvidia SNMP extend
* update the extend path
* now support more than 4 GPUs
this will now support how ever many GPUs are installed on a system...
Just double checked and it appears nvidia-smi dmon only reports up to 4 GPUs at a time... so if we have more than 4, begin checking they exist and if so print them
[33mcommit 2308481188f72bbad12d7d94ebd941a73fc97655[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Fri Mar 3 12:55:55 2017 -0600
add squid snmp extend (#93)
[33mcommit 2700598925c8481641def507a4bf902a27cb01af[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Fri Mar 3 08:49:15 2017 -0600
FreeBSD NFS extends (#90)
* add the FreeBSD NFS client and server extends
* white space cleanup
* white space cleanup
[33mcommit db3b5c7cec8fa35832739e742c84fa61e465bd9f[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Wed Mar 1 17:46:13 2017 -0600
add Postgres SNMP extend (#91)
* add Postgres SNMP extend
* minor comment cleanups
* use env for check_postgres.pl
* quote the string
[33mcommit 42e488743917fd39019ac9300caf391a5a8120c8[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Wed Mar 1 12:35:06 2017 -0600
add detailed Postfix poller (#92)
* add detailed postfix poller
* env perl
[33mcommit c4101c9ef2a8e8dffbfaee55f067c7c89fe18e27[m
Merge: bb4c67b 8343e7f
Author: Tony Murray <murraytony@gmail.com>
Date: Fri Feb 24 11:10:43 2017 -0600
Merge pull request #84 from VVelox/master
add a snmpd extend script for fail2ban
[33mcommit 8343e7f34e1c382051f65bb9d7cf5bad454b934e[m
Author: Tony Murray <murraytony@gmail.com>
Date: Fri Feb 24 11:09:21 2017 -0600
Update fail2ban
[33mcommit 4fcce9f01dd5b0c7979a2ebc95298ff40239bfd9[m
Author: Tony Murray <murraytony@gmail.com>
Date: Fri Feb 24 11:02:19 2017 -0600
Redefining $firewalled
[33mcommit 8bfbce68e503b2ddcdcc9619307d168b1c332df3[m
Author: VVelox <vvelox-github@vvelox.net>
Date: Thu Feb 23 09:54:38 2017 -0600