From notifications at github.com Tue Dec 1 20:37:52 2015 From: notifications at github.com (Jens Link) Date: Tue, 01 Dec 2015 11:37:52 -0800 Subject: check_ping and IPv4 / IPv6 address selection (#1397) Message-ID: When using check_ping to check a dual-stacked website (e.g. www.heise.de) from a host that has IPv6 enabled but no global IPv6 address check_ping will fail (Network unreachable). Please consider implementing RFC 6724 (Default Address Selection for Internet Protocol Version 6 (IPv6)) for check_ping. -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/issues/1397 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Tue Dec 1 21:30:46 2015 From: notifications at github.com (=?UTF-8?B?SG9sZ2VyIFdlacOf?=) Date: Tue, 01 Dec 2015 12:30:46 -0800 Subject: check_ping and IPv4 / IPv6 address selection (#1397) In-Reply-To: References: Message-ID: Does `ping www.heise.de` from the same host work? Does `check_ping -4 -H www.heise.de -w '200,20%' -c '500,50%'` solve the problem? Either way, you might want to use `check_icmp` (which currently doesn't support ICMPv6) to work around the issue (and because it's preferable for v4 checks anyway). -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/issues/1397#issuecomment-161086657 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Tue Dec 1 21:41:49 2015 From: notifications at github.com (Jens Link) Date: Tue, 01 Dec 2015 12:41:49 -0800 Subject: check_ping and IPv4 / IPv6 address selection (#1397) In-Reply-To: References: Message-ID: Holger Wei? writes: > Does ping www.heise.de from the same host work? Does check_ping -4 -H > www.heise.de -w '200,20%' -c '500,50%' solve the problem? Sure ping works. One has to use ping6 on Linux to ping via ICMPv6. And check_ping -4 also works as expected. > Either way, you might want to use check_icmp (which currently doesn't > support ICMPv6) to work around the issue (and because it's preferable > for v4 checks anyway). I know. I also reported that problem. ;-) Jens -- ---------------------------------------------------------------------------- | Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 | | http://blog.quux.de | jabber: jenslink at quux.de | --------------- | ---------------------------------------------------------------------------- --- Reply to this email directly or view it on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/issues/1397#issuecomment-161089285 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Wed Dec 2 08:23:11 2015 From: notifications at github.com (=?UTF-8?B?SmFubmUgSGXDnw==?=) Date: Tue, 01 Dec 2015 23:23:11 -0800 Subject: check_mailq: Fix per-domain settings (#1398) Message-ID: check_mailq allows checking per domain, but the parameters are never parsed. I also switched to case-sensitive getopt parsing, because otherwise --critical and --Critical would conflict. You can view, comment on, or merge this pull request online at: https://github.com/monitoring-plugins/monitoring-plugins/pull/1398 -- Commit Summary -- * check_mailq: Fix per-domain settings -- File Changes -- M plugins-scripts/check_mailq.pl (4) -- Patch Links -- https://github.com/monitoring-plugins/monitoring-plugins/pull/1398.patch https://github.com/monitoring-plugins/monitoring-plugins/pull/1398.diff -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1398 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Thu Dec 3 08:50:27 2015 From: notifications at github.com (daku3649) Date: Wed, 02 Dec 2015 23:50:27 -0800 Subject: [monitoring-plugin-perl] Performance.pm->perfoutput does not handle empty value correctly (#4) Message-ID: I use check_squid.pl developed by Cyril Feraudet in Version 1.1 That uses package Nagios::Plugin which is version 0.36 The script gives out invalid performance data because value is sometimes empty and that is not handleded correctly and leads to invalid performance data output. check_squid.pl creates a new Nagios::Plugin object and then adds the performance value with method add_perfdata pnp4nagios claims invalid performance data, which is true, because after the = sign comes directly the UOM: ``` `2015-11-27 11:45:06 [2996] [1] Found Performance Data for MYHOST / Squid_Cache ('Requests Hit Ratio 5min'=0.0%;; 'Requests Hit Ratio 60min'=0.2%;; 'Byte Hit Ratio 5min'=%;; 'Byte Hit Ratio 60min'=%;;) 2015-11-27 11:45:06 [2996] [1] Invalid Perfdata detected` ``` I did a workaround for this in Performance.pm perfoutput method like so: ``` sub perfoutput { my $self = shift; # Add quotes if label contains a space character my $label = $self->label; if ($label =~ / /) { $label = "'$label'"; } my $value = $self->value; if ($value eq '') { $value = 'U'; } my $out = sprintf "%s=%s%s;%s;%s;%s;%s", $label, $value, $self->_nvl($self->uom), $self->_nvl($self->warning), $self->_nvl($self->critical), $self->_nvl($self->min), $self->_nvl($self->max); # Previous implementation omitted trailing ;; - do we need this? $out =~ s/;;$//; return $out; } ``` So if value is empty, it is changed to value "U" which means that the value could not have been determined, according to Nagios Plugin development guidelines, section Performance data. -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugin-perl/issues/4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Thu Dec 3 11:41:19 2015 From: notifications at github.com (Sven Nierlein) Date: Thu, 03 Dec 2015 02:41:19 -0800 Subject: [monitoring-plugin-perl] Performance.pm->perfoutput does not handle empty value correctly (#4) In-Reply-To: References: Message-ID: Seems legit to me. Could you please open a pull request? -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugin-perl/issues/4#issuecomment-161593298 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Thu Dec 3 12:36:11 2015 From: notifications at github.com (daku3649) Date: Thu, 03 Dec 2015 03:36:11 -0800 Subject: [monitoring-plugin-perl] output empty values as "U" (#5) Message-ID: output empty performance data value as value "U" to "indicate that the actual value couldn't be determined" (defined in https://nagios-plugins.org/doc/guidelines.html#AEN200) and do valid output You can view, comment on, or merge this pull request online at: https://github.com/monitoring-plugins/monitoring-plugin-perl/pull/5 -- Commit Summary -- * output empty values as "U" -- File Changes -- M lib/Monitoring/Plugin/Performance.pm (9) -- Patch Links -- https://github.com/monitoring-plugins/monitoring-plugin-perl/pull/5.patch https://github.com/monitoring-plugins/monitoring-plugin-perl/pull/5.diff -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugin-perl/pull/5 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Mon Dec 7 09:14:19 2015 From: notifications at github.com (=?UTF-8?B?TWF0dGhpYXMgSMOkaG5lbA==?=) Date: Mon, 07 Dec 2015 00:14:19 -0800 Subject: Use GMT timezone in SSL certs (#1396) In-Reply-To: References: Message-ID: Why not use the existing Pull from #1337 ? -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1396#issuecomment-162445064 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Mon Dec 7 18:17:36 2015 From: notifications at github.com (Peter (pir)) Date: Mon, 07 Dec 2015 09:17:36 -0800 Subject: Use GMT timezone in SSL certs (#1396) In-Reply-To: References: Message-ID: Pull #1337 doesn't fix it doing two conversions into time_t and doesn't do the correct conversion of time_t in the right timezone (it should be using timegm() not mktime()) so I believe calculations can be incorrect for hosts in other timezones. Basically I don't think it is the right fix. -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1396#issuecomment-162597546 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Tue Dec 22 12:04:42 2015 From: notifications at github.com (Simon) Date: Tue, 22 Dec 2015 03:04:42 -0800 Subject: check_ide_smart: Invalid argument [sf#3343431] (#1104) In-Reply-To: References: Message-ID: If it helps I've got a newer better version that will work on devices on SAS buses (and behind SAS expanders). It doesn't use the archaic IDE ioctls, instead fires ATA commands embedded in SCSI at the storage device, relying on the SAT layer to decapsulate either in libata, the HBA or the SXP. Feel free to have a play with https://github.com/spjmurray/check_scsi_smart and once all the bugs are ironed out and things are at a state I'll submit it for inclusion in monitoring-plugins -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/issues/1104#issuecomment-166582099 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at github.com Mon Dec 28 12:06:36 2015 From: notifications at github.com (sirio81) Date: Mon, 28 Dec 2015 03:06:36 -0800 Subject: [monitoring-plugin-perl] Can't locate Monitoring/Plugin.pm (#6) Message-ID: Problem: when rinning 'bin/check_raidpl -S' I get this error
Can't locate Monitoring/Pluginpm in @INC (you may need to install the
Monitoring::Plugin module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5202 /usr/local/share/perl/5202
/usr/lib/x86_64-linux-gnu/perl5/520 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/520 /usr/share/perl/520
/usr/local/lib/site_perl ) at bin/check_raidpl line 2
BEGIN failed--compilation aborted at bin/check_raidpl line 2
Environment: debian 82 x86_64 and debian 78 x86_64 Steps: downloaded the plugin in /tmp and extracted the targz cd nagios-plugin-check_raid-master Following the readme I run bin/check_raidpl -S but I get the errore above I also tried to install libnagios-object-perl and libnagios-plugin-perl as suggested in this post http://wwwmonitoring-portalorg/wbb/indexphp?page=Thread&threadID=25251 In this other post they point out the issue about a path: https://viewsbywordpresscom/2014/02/20/perlnagios-cant-locate-utils-pm-in-inc/ I hope I'm not missing something trivial -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugin-perl/issues/6 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kai at kretschmann.email Sat Dec 5 16:15:52 2015 From: kai at kretschmann.email (Kai Kretschmann) Date: Sat, 05 Dec 2015 15:15:52 -0000 Subject: check_simap and SNI Message-ID: <5662FFA3.9090904@kretschmann.email> Hi, After having success with checking validity of http domains using "check_http -S --sni" for multiple certificates running under the same IP I tried that way for checking SIMAP with the same feature. It seems that the check_simap tool doesn't support "--sni" yet. As my dovecot installation uses different vertificates depending on the domain name I'm unable to verify the validity of the secondary certificates. http://wiki.dovecot.org/SSL/DovecotConfiguration states not all clients are able to use SNI yet, but someone must start, so the nagios plugin might be an easy try I think. Or are there any workarounds known?