forked from monitoring-plugins/monitoring-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
16156 lines (9750 loc) · 683 KB
/
ChangeLog
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
2013-01-23 Robin Sonefors <[email protected]>
* plugins/check_snmp.c: fix memory allocation if using >= 8 oids
2012-06-27 Holger Weiss <[email protected]>
* plugins/check_tcp.c: check_tcp: Print performance data even with
-D When using the 1.4.15 release of the Nagios Plugins, a command such
as check_tcp -H pop.example.com -p 995 -D 14 usually produced two lines of output, e.g.: OK - Certificate will expire on 12/13/2014 23:59. TCP OK - 0.009 second response time on port
995|time=0.008849s;;;0.000000;10.000000 The second line was removed by
4d06603060fc1233861b164870f0d3a2e0d8d2eb. However, as the old
two-line output is a valid (though in this case unintended) way to
spit out performance data, removing the second line might break
current setups. Therefore, we revert to the old behaviour, at least
for the moment. The issue was reported by Jochen Bern on the "nagiosplug-devel"
mailing list (Message-ID: <[email protected]>).
2012-06-27 Holger Weiss <[email protected]>
* BUGS: Update the BUGS file Remove the bug reports that were closed, and add two new items.
2012-06-27 Sven Nierlein <[email protected]>
* plugins/check_snmp.c, plugins/tests/check_snmp.t: check_snmp: use
single quotes for perf data labels
2012-06-26 Sven Nierlein <[email protected]>
* NEWS, THANKS.in, plugins/check_snmp.c, plugins/tests/check_snmp.t:
Fix performance data label containing spaces in check_snmp (Jochen
Bern) Add --perf-oids option for check_snmp to retain optional 1.4.14
compatibility
2012-06-26 Holger Weiss <[email protected]>
* THANKS.in: Remove team members from the THANKS file The (current and past) team members are listed in the AUTHORS file.
2012-06-26 Holger Weiss <[email protected]>
* AUTHORS, THANKS.in: Add Sven Nierlein to the list of AUTHORS
2012-06-25 William Leibzon <[email protected]>
* plugins/tests/check_http.t: added test case for certificate checs
with both warning and critical values
2012-06-25 Sven Nierlein <[email protected]>
* plugins/sslutils.c, plugins/t/check_http.t, plugins/t/check_tcp.t:
check_http: added test for warning thresholds fixed typo in sslutils
2012-06-25 Sven Nierlein <[email protected]>
* NEWS, THANKS.in: updated changelog
2012-05-21 William Leibzon <[email protected]>
* plugins/check_http.c, plugins/check_smtp.c, plugins/check_tcp.c,
plugins/netutils.h, plugins/sslutils.c: applied patch that adds both
critical and warning thresholds to certificate expiration checks of
check_tcp, check_http, check_smtp
2012-06-25 Holger Weiss <[email protected]>
* plugins/check_ping.c: check_ping: Add missing newline to die()
calls Our die() function expects the caller to append the trailing newline
character.
2012-06-25 Holger Weiss <[email protected]>
* NEWS: NEWS: Improve the wording a bit
2012-06-25 Holger Weiss <[email protected]>
* : Merge remote-tracking branch 'github/waja/master' Conflicts: NEWS
2012-06-23 Holger Weiss <[email protected]>
* NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl:
check_disk_smb: Add performance data (Debian #654259 - Charles-Henri Larose)
2012-06-22 Holger Weiss <[email protected]>
* plugins/t/check_by_ssh.t: Fix check_by_ssh test for non-Bash login
shells In the C shell and in the Z shell, the "?" character must be quoted
or backslash-escaped in order to use it verbatim. Therefore, a
command such as check_by_ssh -H test.example.com -l joe echo huh? might fail, depending on joe's login shell on test.example.com. Just to make sure, this commit removes most punctuation characters
from our test strings.
2012-06-14 Holger Weiss <[email protected]>
* THANKS.in, plugins-root/check_dhcp.c: check_dhcp: Don't
misinterpret the "siaddr" field RFC 2131 (2.) says: "DHCP clarifies the interpretation of the
'siaddr' field as the address of the server to use in the next step
of the client's bootstrap process." So, we shouldn't interpret this
field as the DHCP server's own address. (#3503921 - Jason Ellison)
2012-06-13 Holger Weiss <[email protected]>
* NEWS, plugins-root/check_dhcp.c: check_dhcp: Fix handling of "pad"
options Don't let "pad" options[*] terminate the parsing of DHCP options.
This bug was triggered by using check_dhcp against Windows 2003 DHCP
servers (see #3503921). [*] Cf. RFC 2132, 3.1.
2012-06-11 Holger Weiss <[email protected]>
* NEWS, THANKS.in, plugins/check_ping.c: Improve parsing of ping6(1)
output The ping6(1) implementation provided by Debian's iputils-ping
package may produce output such as the following: | 3 packets transmitted, 0 received, +3 errors, 100% packet loss,
time 2009ms There's a corresponding pattern in check_ping.c:458: | "%*d packets transmitted, %*d received, +%*d errors, %d%% packet
loss" Without this fix, the pattern in check_ping.c:456 matched first (as
sscanf(3) interprets "+3" as a match for "%d"): | "%*d packets transmitted, %*d received, %d%% loss, time" (#1894850 - Debian bug report #514588 - Matej Vela)
2012-06-11 Holger Weiss <[email protected]>
* plugins/sslutils.c: Fix whitespace and capitalization issues Fix indentation and whitespace issues, and correct some
capitalization errors in error messages. The behaviour is
unchanged.
2012-06-11 Holger Weiss <[email protected]>
* plugins/sslutils.c: Don't use SSLv2 when compiling against GnuTLS GnuTLS doesn't support SSL version 2.
2012-06-07 Holger Weiss <[email protected]>
* plugins/check_users.c: check_users: Whitespace fixes, etc.
2012-06-07 Holger Weiss <[email protected]>
* NEWS, THANKS.in: Update NEWS and THANKS w.r.t. check_users change
2012-04-17 M. Remy <[email protected]>
* plugins/Makefile.am, plugins/check_users.c: check_users: improve
performance This patch use the utxent function family to collect the user data.
It improve the check speed. Need a system conforming to
POSIX.1-2001.
2012-06-06 Sebastian Harl <[email protected]>
* plugins/sslutils.c: sslutils: Check if OpenSSL supports SSLv2. Recent versions/builds seem to disable that feature.
2012-05-29 Holger Weiss <[email protected]>
* NEWS, THANKS.in, plugins-scripts/utils.sh.in: Mention the
check_range function in NEWS, etc.
2012-04-18 Alex Griffin <[email protected]>
* plugins-scripts/utils.sh.in: Added check_range shell function to
utils.sh.in
2012-05-29 Holger Weiss <[email protected]>
* plugins/check_http.c: check_http: Fix -C/--certificate option
handling The support for specifying the desired SSL protocol version via an
optional -S/--ssl argument broke the -C/--certificate option. This
is fixed now.
2012-05-28 Holger Weiss <[email protected]>
* plugins/check_http.c: check_http: Don't ignore SSL initialization
errors SSL initialization errors are now handled properly by check_http
(#3095106 - Eric Schoeller).
2012-05-28 Holger Weiss <[email protected]>
* NEWS, THANKS.in, plugins/check_http.c, plugins/sslutils.c: Add
support for specifying SSL protocol version The check_http -S/--ssl option now takes an optional argument which
specifies the desired SSL/TLS protocol version (#3285367 - Jason
Lunn).
2012-05-07 Holger Weiss <[email protected]>
* NEWS, plugins/sslutils.c: Disable stateless SSL session resumption Some versions of OpenSSL fail to negotiate the SSL connection with
at least some versions of Tomcat if stateless SSL session resumption
support (see RFC4507) is enabled: | CRITICAL - Cannot make SSL connection |
140099330348712:error:140943F2:SSL routines:SSL3_READ_BYTES:sslv3
alert unexpected message:s3_pkt.c:1195:SSL alert number 10 The problem is reproducible with OpenSSL 1.0.0h, but not with
OpenSSL 0.9.8o-4squeeze12 (as shipped with Debian 6.0.4). We work
around it by disabling the RFC4507 functionality when using OpenSSL
versions which support it. Thanks to Dag Bakke for reporting the issue and for giving me access
to a server I could use to reproduce the problem.
2012-04-17 Holger Weiss <[email protected]>
* .gitignore: Add nagios-plugins.spec file to .gitignore The nagios-plugins.spec file is created from nagios-plugins.spec.in
and should be ignored by Git.
2012-04-17 Jan Wagner <[email protected]>
* NEWS, plugins/check_ping.c: Fix check_ping where output of ping6
when unreachable (Debian #662638)
2012-04-10 Matthias Eble <[email protected]>
* : commit 8c7e2b636c601dd05a6881c84cc95136ecf9323e Author: Holger
Weiss <[email protected]> Date: Mon Apr 9 23:04:55 2012
+0200
2012-04-09 Sven Nierlein <[email protected]>
* plugins/check_by_ssh.c, plugins/t/check_by_ssh.t: check_by_ssh:
added -F config file to specify alternative ssh config
2012-04-06 Eric Stanley <[email protected]>
* : commit 9cdd9a149c1c0213802d15cc204d60b3199a9653 Author: Eric
Stanley <[email protected]> Date: Fri Apr 6 10:18:47 2012 -0500
2012-02-24 Holger Weiss <[email protected]>
* plugins/check_http.c: Clarify that check_http won't verify
certificates Add a note to the --help output which clarifies that check_http
doesn't perform certificate verification (beyond what the "-C"
option does). (Suggested by Michael Renner in Debian bug report #644627, forwarded
by Jan Wagner.)
2012-02-24 Holger Weiss <[email protected]>
* plugins/check_snmp.c: Cosmetic change Replace all occurrences of "strstr(s, "c") == s" with "s[0] == 'c'".
2012-02-24 Holger Weiss <[email protected]>
* plugins/check_snmp.c: Accept multiple labels specified with "-l" Fix the code which accepts a comma-separated list of labels
specified via the "-l" option. (Spotted by Oskar Liljeblad in Debian bug report #647020, forwarded
by Jan Wagner.)
2012-02-10 Eric Stanley <[email protected]>
* configure.in, plugins/common.h: Enable compiling on AIX 6.1
2012-01-20 Eric Stanley <[email protected]>
* Makefile.am, pkg/solaris/solpkg: Added pst3 to Solaris package.
2011-12-25 Holger Weiss <[email protected]>
* NEWS: Updated Nagios::Plugin library
2011-12-16 Eric Stanley <[email protected]>
* Makefile.am, pkg/solaris/pkginfo.in, pkg/solaris/solpkg: Commit
files which were inadvertently omitted from the previous commit.
2011-12-16 Eric Stanley <[email protected]>
* pkg/solaris/preinstall: Updated Solaris package creation to newer
standards The Solaris package creation has been updated to newer standards to
match those of the NRPE package. The following changes have been
made: - the plugins now install under /opt/nagios - the name of package is now NGOSplugin - the files installed are now owned by the nagios user - the package includes a pre-installation script that creates a
nagios user and a nagios group if one did not previously exist
2011-12-16 Eric Stanley <[email protected]>
* m4/np_mysqlclient.m4: Fixed issue for compiling mysql plugin on
Solaris On Solaris, in the case where the mysql libraries were compiled
using a non-gcc compiler, but the plugins are being compiled with
gcc, the configure process would incorrectly determine the
MYSQLCFLAGS. This has been corrected in the m4/np_mysqlclient.m4
file.
2011-09-07 Holger Weiss <[email protected]>
* plugins-scripts/check_sensors.sh: check_sensors: Use symbolic exit
codes Specify the exit codes by using the constants from utils.sh.
2011-09-07 Holger Weiss <[email protected]>
* plugins-scripts/check_sensors.sh: check_sensors: Minor whitespace
fixes
2011-09-07 Holger Weiss <[email protected]>
* NEWS, plugins-scripts/check_sensors.sh: check_sensors: Detect
FAULT status Return an UNKNOWN status if a faulty sensor is detected. This can
be suppressed with the new "--ignore-fault" option. (Fixes Debian bug #615133, patch suggested by Jan Wagner.)
2011-09-06 Thomas Guyot-Sionnest <[email protected]>
* plugins/check_radius.c: Make GCC happy It won't trust us about msg containing no format string, and fail
miserably when compiled with -Werror=format-security. Reported by
spy6 on IRC.
2011-08-13 Matthias Eble <[email protected]>
* plugins/check_ldap.c: Fix: check_ldap now correctly handles the
long option --hostname for -H The undocumented --host has been changed to --hostname which is
actually mentioned in --help. Thanks to lgarrett (#3191388)
2011-07-15 Ton Voon <[email protected]>
* NEWS, plugins/check_smtp.c, plugins/check_tcp.c: Fix check_smtp
and check_tcp where duplicate messages were displayed for
certificate errors (Opsview team)
2011-07-15 Ton Voon <[email protected]>
* NEWS, plugins/check_smtp.c: New option to check_smtp to ignore
failures when sending QUIT (#3358348 - Duncan Ferguson)
2011-04-28 Sebastian Harl <[email protected]>
* NEWS, THANKS.in, plugins-root/check_icmp.c: check_host: Allocate a
large-enough buffer for the host table. When specifying a host-name on the command line, each of its IPs is
added to the host table (and each one is pinged). So, the buffer has
to be large enough to hold all of the respective host objects. (argc
- 1) only fits hosts with a single IP. Thanks to Max Kosmach <[email protected]> for reporting this in Debian bug
#623702.
2011-03-26 Thomas Guyot-Sionnest <[email protected]>
* NEWS, THANKS.in, plugins/check_ssh.c: Add perfdata to check_ssh
(#3244097 - Marco Beck)
2011-02-08 Holger Weiss <[email protected]>
* plugins/check_smtp.c: check_smtp: Abort on missing/unexpected
greeting Abort immediately if we don't receive a server greeting or if the
greeting doesn't contain the "--expect"ed string (by default: "220")
instead of blindly sending the EHLO/HELO line. Spotted by Daniel Piddock, see Debian bug report #611914.
2011-02-04 Thomas Guyot-Sionnest <[email protected]>
* NEWS, THANKS.in, plugins/sslutils.c, plugins/t/check_http.t,
plugins/tests/check_http.t: check_http: check for and print the
certificate cn This patch adds a check for the certificate cn (hostname) to normal
certificate checks. It returns CRITICAL if th cn is missing,
otherwise it prints it in the normal output. Patch by Stéphane Urbanovski
2011-01-21 Ton Voon <[email protected]>
* NEWS, plugins/check_procs.c, plugins/tests/check_procs.t: Fix for
regex input of '|', being output causing problems with Nagios'
parsing of performance data. Now replaced with ','
2011-01-05 Thomas Guyot-Sionnest <[email protected]>
* plugins/t/check_snmp.t, plugins/tests/check_snmp.t,
plugins/tests/check_snmp_agent.pl: Test updates... 1. Timetick test could fail with uptime > 115 days. Thresholds are
double type, so it's safe to put a large number even for 32bit
systems. 2. Add a test based on an invalid bug report, worthy anyway.
2011-01-01 Thomas Guyot-Sionnest <[email protected]>
* tools/sfsnapshot-upload: Update the README text
2011-01-01 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins/check_http.c: Make check_http use standard threshold
functions This enables floating point and ranges, and make the code more
standard.
2010-12-23 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins/check_ldap.c: Fix check_ldap overriding the port
when --ssl was specified after -p
2010-11-30 Thomas Guyot-Sionnest <[email protected]>
* plugins/tests/check_http.t, plugins/tests/check_snmp.t: Fix minor
test issues My Test::More wouldn't print the total number of tests anymore,
moving the plan at the top appears to fix it. At the same time I made check-http.t eval the special modules so it
can skip the tests instead of failing.
2010-11-30 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t: Revert
"check_snmp now considers strings returned by SNMP that contain
just" This reverts commit 896962a1ad1b7d7c75d42c565b06cc799feb0a7c. Conflicts: NEWS plugins/tests/check_snmp.t Notes: Reverting because I rebased a patch that was doing the same thing,
plus fixing more related regressions, and both didn't work
together. I kept the tests intact except for one that wouldn't pass
on 1.4.14 either
2010-11-30 Thomas Guyot-Sionnest <[email protected]>
* plugins/tests/check_snmp.t: State-based tests enhancements - Use /var/tmp for state if no state dir environment variable is
set, this avoid the need for a writable localstatedir during tests. - Use "rm -f", mostly to avoid printing out garbage of the directory doesn't exists
2010-11-30 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins/check_snmp.c, plugins/t/check_snmp.t: check_snmp:
Remove that is_numeric madness Original patch to make Timeticks works as in check_snmp v1.4.14, it
turns out is_numeric isn't so useful and treating all types as
numeric works best for backwards-compatibility. This is how it used
to work in 1.4.14. As a special case, I also make calculate_rate look up for numeric
values as it would otherwise return the last value instead.
2010-11-28 Matthias Eble <[email protected]>
* plugins-scripts/t/check_disk_smb.t: add test cases for
check_disk_smb
2010-11-28 Matthias Eble <[email protected]>
* NEWS, plugins-scripts/check_disk_smb.pl: check_disk_smb now
handles NT_STATUS_ACCESS_DENIED properly (Debian #601696)
2010-11-28 Matthias Eble <[email protected]>
* NEWS, plugins-scripts/check_disk_smb.pl: Make check_disk_smb
accept spaces in share names (#990948, #1370031, Debian #601699)
2010-11-15 Matthias Eble <[email protected]>
* NEWS, lib/utils_disk.c, lib/utils_disk.h, plugins/check_disk.c:
Fix check_disk free space calculation if blocksizes differ within a
disk group (Bekar - #2973603) Various values (dused_pct, dfree_pct, inodes_free, inodes_total,
...) are now carried in the parameter_list structure. Assignments
have been moved to a subroutine preventing code redundancies. Group
metrics are now calculated based on units rather than blocks. This
fixes freespace calculation when blocksizes differ within a group.
2010-11-15 nagios <nagios@opsviewdev32.(none)>
* NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t,
plugins/tests/check_snmp_agent.pl: check_snmp now considers strings
returned by SNMP that contain just numbers (according to strtod) to
be a numeric value for threshold and performance data
2010-10-16 Thomas Guyot-Sionnest <[email protected]>
* NEWS: Update NEWS for last commit
2010-10-13 Thomas Guyot-Sionnest <[email protected]>
* THANKS.in, plugins/check_nt.c: check_nt: make UPTIME accept
warning/critical levels Patch originally by Ryan Kelly
2010-10-11 Thomas Guyot-Sionnest <[email protected]>
* tools/sfsnapshotgit: sfsnapshotgit: Better handling of remote refs This commit allow to track branches from unusually-named remote refs
and makes possible using external remotes (other than origin) for
snapshots.
2010-10-05 Thomas Guyot-Sionnest <[email protected]>
* contrib/check_linux_raid.pl: Patch for check_linux_raid with on
linear/raid0 arrays Fixes bug #3049988, Debian bug #579049
2010-08-31 Ton Voon <[email protected]>
* plugins/check_http.c: Fix typos in -f help text
2010-07-27 Holger Weiss <[email protected]>
* COPYING: Update the COPYING file to the GPLv3 We switched to the GPLv3 early in 2008, but we forgot to update the
COPYING file accordingly.
2010-07-27 Ton Voon <[email protected]>
* BUGS, ChangeLog, NEWS, NP-VERSION-GEN, configure.in, package.def:
1.4.15 prep
2010-07-14 Ton Voon <[email protected]>
* : commit 9bab433981f6c67b40776d1916baae28a0243124 Author: Ton Voon
<[email protected]> Date: Wed Jul 14 14:22:04 2010 +0100
2010-07-09 Thomas Guyot-Sionnest <[email protected]>
* plugins/check_snmp.c, po/de.po, po/fr.po, po/nagios-plugins.pot:
Fix --help output when MAX_OIDS is altered.
2010-07-07 Ton Voon <[email protected]>
* NEWS, plugins/check_disk.c: Fix examples in check_disk, where it
implied was possible to suffix unit values to warn/crit parameters
2010-07-07 Ton Voon <[email protected]>
* NEWS, THANKS.in, plugins-scripts/check_ifstatus.pl: Allow
check_ifstatus to accept version=2c
2010-07-02 Thomas Guyot-Sionnest <[email protected]>
* NEWS, lib/utils_cmd.c: Fix cmd_run overwriting the environment Some commands need the environment to function properly. One such
example is check_ssh and check_by_ssh when a SOCKS proxy is
required. This patch use setenv and extern char **environ to alter and pass
the new environment to the child process Those modules have been
added to Gnulib for portability.
2010-07-02 Thomas Guyot-Sionnest <[email protected]>
* gl/Makefile.am, gl/m4/gnulib-cache.m4: Import the environ module
from gnulib (86ba51)
2010-07-02 Holger Weiss <[email protected]>
* tools/git-notify: git-notify: Be careful with "--no-merge" The "-X" option (which asks git-notify to not report merge commits)
was implemented by setting the "--no-merge" option on each
invocation of git-rev-list(1). However, we do not only use
git-rev-list(1) to get the list of new commits, but also to check
whether the old branch head (or tag) is a parent of the new branch
head (or tag). For this latter check, the "--no-merge" option
should not be set; otherwise, git-notify would be fooled to believe
that the branch has been rewritten if the old head was a merge
commit.
2010-06-30 tonvoon <[email protected]>
* plugins/check_snmp.c, plugins/tests/check_snmp.t: Corrected
rate_multiplier calculation
2010-06-30 tonvoon <[email protected]>
* plugins/check_snmp.c, plugins/tests/check_snmp.t: Removed suffix
of "-rate" and let user decide label via --label
2010-06-30 tonvoon <[email protected]>
* plugins/check_snmp.c, plugins/tests/check_snmp.t: Tests for
--rate-multiplier option
2010-06-30 Ton Voon <[email protected]>
* : commit 6805fecd620e4f2c2fa53f2a331e7c6a005ea9c4 Author: Ton Voon
<[email protected]> Date: Wed Jun 30 09:01:14 2010 +0100
2010-06-25 tonvoon <[email protected]>
* lib/tests/Makefile.am: Add test file directory
2010-06-24 Ton Voon <[email protected]>
* lib/tests/test_utils.c, lib/utils_base.c: Cleanup some warnings
displayed from IRIX tinderbox server
2010-06-24 Ton Voon <[email protected]>
* gl/Makefile.am, gl/m4/eealloc.m4, gl/m4/environ.m4,
gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4, gl/m4/malloca.m4,
gl/m4/setenv.m4, gl/malloca.c, gl/malloca.h, gl/malloca.valgrind,
gl/setenv.c, gl/unsetenv.c: Added unsetenv and setenv from gnulib
2010-06-24 Ton Voon <[email protected]>
* gl/Makefile.am, gl/m4/gnulib-cache.m4, gl/m4/gnulib-comp.m4,
gl/m4/strsep.m4, gl/strsep.c: Added strsep to gnulib, for
check_snmp.c
2010-06-23 tonvoon <[email protected]>
* NEWS, plugins/check_snmp.c, plugins/tests/check_snmp.t,
plugins/tests/check_snmp_agent.pl, po/de.po, po/fr.po,
po/nagios-plugins.pot: Added option to invert search results
2010-06-23 tonvoon <[email protected]>
* NEWS, plugins/check_http.c, plugins/tests/check_http.t: Display
missing search string and URL when failed (Duncan Ferguson #2999924)
2010-06-17 Ton Voon <[email protected]>
* NEWS, build-aux/c++defs.h, build-aux/warn-on-use.h,
gl/Makefile.am, gl/alloca.c, gl/config.charset, gl/error.c,
gl/getopt.c, gl/getopt_int.h, gl/localcharset.c,
gl/m4/asm-underscore.m4, gl/m4/getopt.m4, gl/m4/gettext.m4,
gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4,
gl/m4/gnulib-comp.m4, gl/m4/iconv.m4, gl/m4/intl.m4,
gl/m4/lib-link.m4, gl/m4/netdb_h.m4, gl/m4/onceonly.m4,
gl/m4/po.m4, gl/m4/printf.m4, gl/m4/sha1.m4, gl/m4/sockpfaf.m4,
gl/m4/stdint.m4, gl/m4/stdio_h.m4, gl/m4/string_h.m4,
gl/m4/strnlen.m4, gl/m4/time_h.m4, gl/m4/unistd_h.m4,
gl/m4/vasnprintf.m4, gl/m4/visibility.m4, gl/netdb.in.h,
gl/regex_internal.c, gl/regex_internal.h, gl/sha1.c, gl/sha1.h,
gl/stdbool.in.h, gl/stdio-write.c, gl/stdio.in.h, gl/strerror.c,
gl/string.in.h, gl/sys_stat.in.h, gl/time.in.h, gl/unistd.in.h,
gl/vasnprintf.c, gl/verify.h, gl/wchar.in.h, lib/Makefile.am,
lib/tests/Makefile.am, lib/tests/test_utils.c,
lib/tests/var/.gitignore, lib/tests/var/baddate,
lib/tests/var/missingdataline, lib/tests/var/oldformat,
lib/tests/var/statefile, lib/utils_base.c, lib/utils_base.h,
plugins/Makefile.am, plugins/check_snmp.c,
plugins/tests/check_snmp.t, plugins/tests/check_snmp_agent.pl: Added
state retention APIs. Implemented for check_snmp with --rate option. See http://nagiosplugin.org/c-api-private for more details on the
API. Also updated check_snmp -l option to change the perfdata label.
2010-06-18 Thomas Guyot-Sionnest <[email protected]>
* NEWS: NEWS entry for last commit
2009-08-05 Thomas Guyot-Sionnest <[email protected]>
* configure.in: Attempt at detecting 64bit compilation flags between
gcc, old, and new versions of sun cc Gcc accepts -m64, just as newer version of Suncc. Older Suncc
required -xarch=v9 (SPARC) or -xarch=amd64 (x86-64) to generate
64bit code.
2010-05-08 Thomas Guyot-Sionnest <[email protected]>
* plugins/check_smtp.c: Add missing --fqdn help (Jan Wagner)
2010-04-28 Thomas Guyot-Sionnest <[email protected]>
* plugins/utils.h, po/de.po, po/fr.po, po/nagios-plugins.pot: Update
extra-opts help text based on ML agreement
2010-04-28 Thomas Guyot-Sionnest <[email protected]>
* .gitignore, tools/distclean: tools/distclean: use git-clean when
possible git-clean is much faster and more reliable... Also add confdefs.h in gitignore, although this file is normally
removed at the end of the configure script.
2010-04-28 Thomas Guyot-Sionnest <[email protected]>
* build-aux/ltmain.sh, gl/m4/libtool.m4, gl/m4/ltoptions.m4,
gl/m4/ltsugar.m4, gl/m4/ltversion.m4, gl/m4/lt~obsolete.m4: Update
libtool Nagios-plugins wouldn't compile on Ubuntu 10.04 (Lucid) with the old
libtool
2010-04-22 Thomas Guyot-Sionnest <[email protected]>
* plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/check_apt.c, plugins/check_by_ssh.c,
plugins/check_cluster.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide_smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c,
plugins/check_nt.c, plugins/check_ntp.c, plugins/check_ntp_peer.c,
plugins/check_ntp_time.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c,
plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c,
plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c,
plugins/check_users.c, plugins/negate.c, plugins/urlize.c: Add
newline after "Usage:" in --help
2010-04-22 Thomas Guyot-Sionnest <[email protected]>
* plugins/check_cluster.c: Split long line in check_cluster --help
2010-04-21 Thomas Guyot-Sionnest <[email protected]>
* po/de.po, po/fr.po, po/nagios-plugins.pot: Update French
translations with extra-opts change
2010-04-21 Thomas Guyot-Sionnest <[email protected]>
* plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/check_apt.c, plugins/check_by_ssh.c,
plugins/check_cluster.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_fping.c, plugins/check_game.c,
plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide_smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c,
plugins/check_nt.c, plugins/check_ntp.c, plugins/check_ntp_peer.c,
plugins/check_ntp_time.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c,
plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c,
plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c,
plugins/check_users.c, plugins/utils.h: Standardize the extra-opts
notes
2010-04-21 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins/tests/check_snmp.t: Fix tests and update NEWS file
2010-04-15 Thomas Guyot-Sionnest <[email protected]>
* plugins/check_snmp.c: Replace the lousy multiline parser with a
robust one. This one counts double quotes and backslashes so it should handle
any level of escaping.
2009-09-17 Thomas Guyot-Sionnest <[email protected]>
* plugins/check_snmp.c, plugins/tests/check_snmp_agent.pl: Attempt
at fixing check_snmp multiline output: This patch tries to detect and output nicely multi-line strings.
This method is broken by design; only a count of double-quotes and
escapes could work in every situation.
2010-04-15 tonvoon <[email protected]>
* NEWS: Updated Nagios::Plugin library
2010-04-14 Holger Weiss <[email protected]>
* tools/git-notify: git-notify: Fix the ordering of commits If notifications for multiple commits are created, sort them
chronologically instead of in reverse chronological order.
2010-04-14 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins-root/check_dhcp.c, plugins-root/check_icmp.c,
plugins/check_apt.c, plugins/check_by_ssh.c,
plugins/check_cluster.c, plugins/check_dig.c, plugins/check_disk.c,
plugins/check_dns.c, plugins/check_dummy.c, plugins/check_fping.c,
plugins/check_game.c, plugins/check_hpjd.c, plugins/check_http.c,
plugins/check_ide_smart.c, plugins/check_ldap.c,
plugins/check_load.c, plugins/check_mrtg.c,
plugins/check_mrtgtraf.c, plugins/check_mysql.c,
plugins/check_mysql_query.c, plugins/check_nagios.c,
plugins/check_nt.c, plugins/check_ntp.c, plugins/check_ntp_peer.c,
plugins/check_ntp_time.c, plugins/check_nwstat.c,
plugins/check_overcr.c, plugins/check_pgsql.c,
plugins/check_ping.c, plugins/check_procs.c,
plugins/check_radius.c, plugins/check_real.c, plugins/check_smtp.c,
plugins/check_snmp.c, plugins/check_ssh.c, plugins/check_swap.c,
plugins/check_tcp.c, plugins/check_time.c, plugins/check_ups.c,
plugins/check_users.c, plugins/negate.c, plugins/urlize.c,
plugins/utils.h, po/POTFILES.in, po/de.po, po/fr.po,
po/nagios-plugins.pot: Fix translations when extra-opts aren't
enabled Bug #2832884 reported problem with translations outputting pot file
headers. This is caused by "" matching the header of the translation
files. This patch moves gettext macros inside utils macros and update some
french translations.
2010-04-14 Thomas Guyot-Sionnest <[email protected]>
* plugins/check_ntp.c, plugins/negate.c, po/de.po, po/fr.po,
po/nagios-plugins.pot: Update french translation (fix all fuzzy's)
2010-04-14 Thomas Guyot-Sionnest <[email protected]>
* NEWS, THANKS.in, plugins/check_radius.c: Fix check_radius
returning OK on unexpected results REJECT_RC is defined on some radiusclient versions and
differenciates between auth errors and bad responses. This patch
will affect only the behaviour of those clients exporting REJECT_RC. In addition, unexpected return codes are now handled properly and
return UNKNOWN.
2010-04-14 Thomas Guyot-Sionnest <[email protected]>
* NEWS: Typo
2010-04-08 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins-root/Makefile.am, plugins-root/pst3.c: pst3.c must
not use nagiosplug/gnulib includes
2010-04-07 Thomas Guyot-Sionnest <[email protected]>
* .gitignore, build-aux/arg-nonnull.h, build-aux/c++defs.h,
build-aux/config.rpath, build-aux/mkinstalldirs,
build-aux/warn-on-use.h, gl/Makefile.am, gl/alignof.h, gl/alloca.c,
gl/alloca.in.h, gl/arpa_inet.in.h, gl/asnprintf.c, gl/asprintf.c,
gl/base64.c, gl/base64.h, gl/basename-lgpl.c, gl/basename.c,
gl/btowc.c, gl/c-strtod.c, gl/c-strtod.h, gl/cloexec.c,
gl/cloexec.h, gl/close-hook.c, gl/close-hook.h, gl/config.charset,
gl/creat-safer.c, gl/dirname-lgpl.c, gl/dirname.c, gl/dirname.h,
gl/dup-safer.c, gl/dup2.c, gl/errno.in.h, gl/error.c, gl/error.h,
gl/exitfail.c, gl/exitfail.h, gl/fcntl--.h, gl/fcntl-safer.h,
gl/fcntl.c, gl/fcntl.in.h, gl/fd-safer.c, gl/float+.h,
gl/float.in.h, gl/floor.c, gl/floorf.c, gl/fsusage.c, gl/fsusage.h,
gl/full-read.c, gl/full-read.h, gl/full-write.c, gl/full-write.h,
gl/gai_strerror.c, gl/getaddrinfo.c, gl/getdtablesize.c,
gl/gethostname.c, gl/getloadavg.c, gl/getopt.c, gl/getopt.in.h,
gl/getopt1.c, gl/getopt_int.h, gl/gettext.h, gl/inet_ntop.c,
gl/intprops.h, gl/langinfo.in.h, gl/localcharset.c,
gl/localcharset.h, gl/locale.in.h, gl/m4/00gnulib.m4,
gl/m4/alloca.m4, gl/m4/arpa_inet_h.m4, gl/m4/base64.m4,
gl/m4/btowc.m4, gl/m4/c-strtod.m4, gl/m4/cloexec.m4,
gl/m4/codeset.m4, gl/m4/dirname.m4, gl/m4/dos.m4,
gl/m4/double-slash-root.m4, gl/m4/dup2.m4, gl/m4/errno_h.m4,
gl/m4/error.m4, gl/m4/exitfail.m4, gl/m4/extensions.m4,
gl/m4/fcntl-o.m4, gl/m4/fcntl-safer.m4, gl/m4/fcntl.m4,
gl/m4/fcntl_h.m4, gl/m4/float_h.m4, gl/m4/floorf.m4,
gl/m4/fstypename.m4, gl/m4/fsusage.m4, gl/m4/getaddrinfo.m4,
gl/m4/getdtablesize.m4, gl/m4/gethostname.m4, gl/m4/getloadavg.m4,
gl/m4/getopt.m4, gl/m4/gettext.m4, gl/m4/glibc2.m4,
gl/m4/glibc21.m4, gl/m4/gnulib-cache.m4, gl/m4/gnulib-common.m4,
gl/m4/gnulib-comp.m4, gl/m4/gnulib-tool.m4, gl/m4/hostent.m4,
gl/m4/iconv.m4, gl/m4/include_next.m4, gl/m4/inet_ntop.m4,
gl/m4/inline.m4, gl/m4/intdiv0.m4, gl/m4/intl.m4, gl/m4/intldir.m4,
gl/m4/intlmacosx.m4, gl/m4/intmax.m4, gl/m4/intmax_t.m4,
gl/m4/inttypes-pri.m4, gl/m4/inttypes_h.m4, gl/m4/langinfo_h.m4,
gl/m4/lcmessage.m4, gl/m4/lib-ld.m4, gl/m4/lib-link.m4,
gl/m4/lib-prefix.m4, gl/m4/localcharset.m4, gl/m4/locale-fr.m4,
gl/m4/locale-ja.m4, gl/m4/locale-zh.m4, gl/m4/locale_h.m4,
gl/m4/lock.m4, gl/m4/longlong.m4, gl/m4/ls-mntd-fs.m4,
gl/m4/malloc.m4, gl/m4/math_h.m4, gl/m4/mbrtowc.m4,
gl/m4/mbsinit.m4, gl/m4/mbstate_t.m4, gl/m4/memchr.m4,
gl/m4/mktime.m4, gl/m4/mmap-anon.m4, gl/m4/mode_t.m4,
gl/m4/mountlist.m4, gl/m4/multiarch.m4, gl/m4/netdb_h.m4,
gl/m4/netinet_in_h.m4, gl/m4/nl_langinfo.m4, gl/m4/nls.m4,
gl/m4/onceonly.m4, gl/m4/open.m4, gl/m4/po.m4,
gl/m4/printf-posix.m4, gl/m4/printf.m4, gl/m4/progtest.m4,
gl/m4/regex.m4, gl/m4/safe-read.m4, gl/m4/safe-write.m4,
gl/m4/servent.m4, gl/m4/size_max.m4, gl/m4/snprintf.m4,
gl/m4/sockets.m4, gl/m4/socklen.m4, gl/m4/sockpfaf.m4,
gl/m4/ssize_t.m4, gl/m4/stat.m4, gl/m4/stdbool.m4,
gl/m4/stddef_h.m4, gl/m4/stdint.m4, gl/m4/stdint_h.m4,
gl/m4/stdio_h.m4, gl/m4/stdlib_h.m4, gl/m4/strdup.m4,
gl/m4/strerror.m4, gl/m4/string_h.m4, gl/m4/strndup.m4,
gl/m4/strnlen.m4, gl/m4/strstr.m4, gl/m4/sys_socket_h.m4,
gl/m4/sys_stat_h.m4, gl/m4/threadlib.m4, gl/m4/time_h.m4,
gl/m4/time_r.m4, gl/m4/timegm.m4, gl/m4/uintmax_t.m4,
gl/m4/unistd-safer.m4, gl/m4/unistd_h.m4, gl/m4/vasnprintf.m4,
gl/m4/vasprintf.m4, gl/m4/visibility.m4, gl/m4/vsnprintf.m4,
gl/m4/warn-on-use.m4, gl/m4/wchar.m4, gl/m4/wchar_h.m4,
gl/m4/wchar_t.m4, gl/m4/wcrtomb.m4, gl/m4/wctype.m4,
gl/m4/wctype_h.m4, gl/m4/wint_t.m4, gl/m4/write.m4,
gl/m4/xalloc.m4, gl/m4/xsize.m4, gl/m4/xstrndup.m4, gl/malloc.c,
gl/math.in.h, gl/mbrtowc.c, gl/mbsinit.c, gl/memchr.c,
gl/memchr.valgrind, gl/mktime-internal.h, gl/mktime.c,
gl/mountlist.c, gl/mountlist.h, gl/netdb.in.h, gl/netinet_in.in.h,
gl/nl_langinfo.c, gl/open-safer.c, gl/open.c, gl/pipe-safer.c,
gl/printf-args.c, gl/printf-args.h, gl/printf-parse.c,
gl/printf-parse.h, gl/ref-add.sin, gl/ref-del.sin, gl/regcomp.c,
gl/regex.c, gl/regex.h, gl/regex_internal.c, gl/regex_internal.h,
gl/regexec.c, gl/safe-read.c, gl/safe-read.h, gl/safe-write.c,
gl/safe-write.h, gl/size_max.h, gl/snprintf.c, gl/sockets.c,
gl/sockets.h, gl/stat.c, gl/stdbool.in.h, gl/stddef.in.h,
gl/stdint.in.h, gl/stdio-write.c, gl/stdio.in.h, gl/stdlib.in.h,
gl/str-two-way.h, gl/strdup.c, gl/streq.h, gl/strerror.c,
gl/string.in.h, gl/stripslash.c, gl/strndup.c, gl/strnlen.c,
gl/strstr.c, gl/sys_socket.in.h, gl/sys_stat.in.h, gl/time.in.h,
gl/time_r.c, gl/timegm.c, gl/unistd--.h, gl/unistd-safer.h,
gl/unistd.in.h, gl/vasnprintf.c, gl/vasnprintf.h, gl/vasprintf.c,
gl/verify.h, gl/vsnprintf.c, gl/w32sock.h, gl/wchar.in.h,
gl/wcrtomb.c, gl/wctype.in.h, gl/write.c, gl/xalloc-die.c,
gl/xalloc.h, gl/xmalloc.c, gl/xsize.h, gl/xstrndup.c,
gl/xstrndup.h, tools/setup: Sync with the latest Gnulib code
(177f525) Signed-off-by: Thomas Guyot-Sionnest <[email protected]>
2010-04-13 Holger Weiss <[email protected]>
* plugins/check_ntp_peer.c: Fix typo
2010-04-12 Holger Weiss <[email protected]>
* contrib/check_linux_raid.pl: Fix Debian bug #574612: Return
WARNING on rebuild Let check_linux_raid return a WARNING instead of an OK state during
volume recovery. See: http://bugs.debian.org/574612 (Fixed by Christoph Martin, forwarded by Jan Wagner.)
2010-04-12 Holger Weiss <[email protected]>
* contrib/check_linux_raid.pl: Fix Debian bug #534604: Checking md10
and above | check_linux_raid malfunctions if system has software RAID devices
with | two or more digits. For example, for system having
/dev/md10, | /dev/md11 etc, the plugin returns 'UNKNOWN' in
automatic mode (if RAID | devices are manually specified it works).
Also, if system has both | one-digit, and two-digit RAID devices,
the two-digit devices are | silently ignored in checks, which is
even more problematic. [ http://bugs.debian.org/534604 ] (Fixed by Matija Nalis, forwarded by Jan Wagner.)
2010-04-12 Holger Weiss <[email protected]>
* NEWS, plugins-scripts/check_ircd.pl: Fix Debian bug #545940:
Failure when run via ePN If Perl's "shift" function is called outside of a subroutine and
without any argument, it usually shifts @ARGV. However, if a plugin
is executed via ePN, such a call will shift @_ instead, so we must
explicitly specify @ARGV for this to work as expected. This fixes Debian bug #545940, see: http://bugs.debian.org/545940 Commit de7191e3424e02ba278a39b86e8b1906a25d0362 fixed the same issue
for check_disk_smb. (Reported by Hendrik Jaeger, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* NEWS, plugins/check_radius.c: Fix Debian bug #482947: No
--nas-ip-address option | check_radius doesn't seem to provide any way to modify the |
NAS-IP-Address attribute that it uses in the packets it sends, but
it | does so for NAS-Identifier. | | Instead, it hardcodes the IP
address that it gets from the | rc_own_ipaddress() library call, and
that in turn translates into | calling gethostbyname() on the result
of uname(). This call can easily | fail, and its result can easily
be unsuitable - for example when the | Nagios instance uses its own
virtual host, and you don't want the | original system hostname
leaked to the RADIUS servers you monitor with | this. | |
Furthermore, this behaviour is inconsistent with RFC 2865, which |
defines the two attributes as analogous and never suggests
hardcoding | the value of either of them in client software. Therefore, this commit adds the "-N, --nas-ip-address" option which
allows for specifying the value of the NAS-IP-Address attribute. | I've also noticed that the original code for NAS-IP-Address
hardcoding | is broken in its error handling - it does "return
(ERROR_PC)", which | is meaningless in the context of
check_radius.c. That actually seems | to be copy&waste from
radiusclient-0.3.2/src/radexample.c. :) I fixed | that. | | While
debugging, I also took the opportunity to decouple the |
nas-identifier rc_avpair_add() instance from the initial three, |
because this is just bad practice to lump a fourth optional
attribute | into the same block with the required attributes, the
error handling | for which is throwing the same daft message "Out of
Memory?"... [ http://bugs.debian.org/482947 ] (Contributed by Josip Rodin, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* NEWS, plugins/check_ldap.c: Fix Debian bug #479984: Allow empty
LDAP base The check_ldap plugin did not allow for specifying an empty LDAP
base. See: http://bugs.debian.org/479984 (Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* plugins/check_http.c: Fix Debian bug #460097: check_http -M broken See: http://bugs.debian.org/460097 One instance of this bug has already been fixed in commit
888358122004b9571c8fbdfa52ceee1ba5e5f4f2. (Fixed by Hilko Bengen, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* plugins-scripts/check_disk_smb.pl: Fix Debian bug #478942: Fragile
argument passing Fix some problems regarding the way check_disk_smb passes command
line arguments to smbclient(1). | It runs: | | $res = qx/$smbclient "\/\/$host\/$share" $pass -W
$workgroup \ | -U $user $smbclientoptions -I $address -c
ls/; | | [...] | | The documentation says that if the password is
not passed, it | defaults to "". That is not true above, as $pass
expands to | nothing which leaves no argument at all (instead of an
empty | argument) so is different from providing with an empty
password | or with the -N option. | | Also, if the password starts
with "-", you're in trouble, that's | why -U $user%$pass may be
prefered. | | Also, the doc says that if $user is not provided,
then it | defaults to "guest" but the problem is that if it is
provided | but empty, it is changed to "guest" as well, which
prevents us | from querying hosts that don't do user authentication. [ http://bugs.debian.org/478942 ] (Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl: Fix Debian bug
#478906: Failure when run via ePN | When perl plugin scripts are run with the embedded perl
interpreter in | nagios3, the "shift" perl command doesn't shift
@ARGV, but @_ (which | happens to contain the same thing as @ARGV at
the time the script was | started). | | [...] | | A fix is to
replace all the instances of "shift" with "shift @ARGV". [ http://bugs.debian.org/478906 ] (Fixed by Stephane Chazelas, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* THANKS.in, plugins/check_ldap.c: Fix Debian bug #463322: Use
deprecated libldap API | Our automated build log filter[1] detected a problem that is
likely to | cause your package to segfault on architectures where
the size of a | pointer is greater than the size of an integer, such
as ia64 and | amd64. | | This is often due to a missing function
prototype definition. For | more information, see [2]. | |
Function `ldap_init' implicitly converted to pointer at |
check_ldap.c:124 | | [1]
http://people.debian.org/~dannf/check-implicit-pointer-functions |
[2] http://wiki.debian.org/ImplicitPointerConversions | | The
libldap API has been updated and many functions used by the ldap |
plugin are now deprecated. This package should either update to the
| new API or define LDAP_DEPRECATED to continue using the deprecated
| interfaces. | | This patch implements the lazy solution. [ http://bugs.debian.org/463322 ] (Contributed by Dann Frazier, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* NEWS, THANKS.in, plugins-scripts/check_disk_smb.pl: Fix Debian bug
#425129: SMB guest mode won't work | The check_disk_smb plugin purports to support guest users, but it
| doesn't work out, because it doesn't specify the -N command line |
option to smbclient when no password is specified, making smbclient
| stop and ask. [ http://bugs.debian.org/425129 ] (Fixed by Josip Rodin, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* plugins/check_game.c: Fix Debian bug #307905: Incorrect usage
output The usage output of check_game was wrong, see: http://bugs.debian.org/307905 (Fixed by Sean Finney, forwarded by Jan Wagner.)
2010-04-11 Holger Weiss <[email protected]>
* NEWS, plugins-scripts/check_disk_smb.pl: check_disk_smb: Allow for
specifying an IP address Add the "-a, --address option" which allows for specifying the IP
address of the server to connect to. If this option is used, the IP
address will be handed over to smbclient(1)'s "-I" option.
(Contributed by Sean Finney, forwarded by Jan Wagner.)
2010-04-06 Thomas Guyot-Sionnest <[email protected]>
* NEWS: check_http: Add warning about SNI not enabled by default
anymore
2010-04-05 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins/check_http.c: Fix regression in check_http ssl
checks on some servers The fix is making SNI an option.
2010-03-31 Thomas Guyot-Sionnest <[email protected]>
* plugins/check_snmp.c: check_snmp: Update last patch to copy value
verbatim Rework last patch, copying the converted portion of the string
rather than re-converting it. This is safer for
backwards-compatibility as the value is never modified.
2010-03-30 Thomas Guyot-Sionnest <[email protected]>
* NEWS, plugins/check_snmp.c: check_snmp: Fix regression introduced
in #1867716 Bug #1867716 fixed what it meant to fix: broken perfdata strings.
Unfortunately some users relied on half-broken perfdata string where
at least the first token was OK. This patch do a two-way conversion
(string to double then back to string) instead and use the
conversion result for the performance data. A possible caveat is that the string may change where it normally
shouldn't but the result should be somewhat similar.
2010-03-27 Thomas Guyot-Sionnest <[email protected]>
* NEWS, THANKS.in, plugins/check_ide_smart.c: Fix compilation with
GCC 2.96 (Konstantin Khomoutov - #2977105)
2010-03-18 Holger Weiss <[email protected]>
* NEWS, plugins/check_ntp_peer.c, plugins/t/check_ntp.t: Let
check_ntp_peer check the number of truechimers Add support for checking the number of usable time sources (i.e.,
the number of peers which are classified as so-called "truechimers"
by NTP's intersection algorithm). The new "-m" and "-n" options
allow for specifying the according WARNING and CRITICAL thresholds
(and thereby activating the truechimers check), respectively.
2010-03-16 Thomas Guyot-Sionnest <[email protected]>
* NEWS: Typo in NEWS
2010-03-15 Ton Voon <[email protected]>
* doc/developer-guidelines.sgml: Corrected example