[Nagiosplug-devel] Nagiosplug-devel Digest, Vol 58, Issue 2

Ellen Yang hanjuan at gmail.com
Sat Mar 26 21:24:24 CET 2011


Please unsubscribe me from your list, my email address: hanjuan at gmail.com,
ellen at ellenyang.com

Thanks,
Ellen

2011/3/24 <nagiosplug-devel-request at lists.sourceforge.net>

> Send Nagiosplug-devel mailing list submissions to
>        nagiosplug-devel at lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> or, via email, send a message with subject or body 'help' to
>        nagiosplug-devel-request at lists.sourceforge.net
>
> You can reach the person managing the list at
>        nagiosplug-devel-owner at lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nagiosplug-devel digest..."
>
> Today's Topics:
>
>   1. check_snmp ipv6 (???)
>   2. Re: Help! (lists)
>   3. Re: Help! (Dennis Kuhlmeier)
>   4. Re: Help! (Christine)
>   5. [ nagiosplug-Bugs-3003419 ] check_snmp converts   negative
>      values to positive (SourceForge.net)
>   6. Re: Building RPM on RHEL6 (Peter Ringe)
>   7. [ nagiosplug-Patches-3240541 ] Add support for
>      --ignore-missing for check_file_age (SourceForge.net)
>
>
> ---------- Forwarded message ----------
> From: 王世辉 <crane75 at 163.com>
> To: nagiosplug-devel at lists.sourceforge.net
> Date: Thu, 17 Mar 2011 09:27:00 +0800 (CST)
> Subject: [Nagiosplug-devel] check_snmp ipv6
> I have a network configured with IPv6  address (without IPv4), And I can
> know the switch is alive or not by using the check_ping plugin. But how can
> I get information about the switch with check_snmp plugin.
>
>
>
>
> ---------- Forwarded message ----------
> From: lists <lists at catsnest.co.uk>
> To: Nagios Plugin Development Mailing List <
> nagiosplug-devel at lists.sourceforge.net>
> Date: Thu, 17 Mar 2011 08:14:28 +0000
> Subject: Re: [Nagiosplug-devel] Help!
> 2011/3/16 Christine <chroll13 at hotmail.com>:
> > Bonjour, En fait je ne connais plus l'adresse pour se connecter à la
> tchat
> > de Nagios! Mais j'ai une question!
> > Je n'ai pas les plugins check_snmp et check_hpjd et je ne sais comment
> les
> > installer !
>
> Well a good starting point would be... http://nagios.org/download/plugins
> Depending on what operating system you are using there could be
> pre-built packages though.
>
> Ritchie,
> --
> <- -Only the lavender prairie dogs know the key to unlock the secret
> of the tumble-weeds. -->
>
>
> >
> ------------------------------------------------------------------------------
> > Colocation vs. Managed Hosting
> > A question and answer guide to determining the best fit
> > for your organization - today and in the future.
> > http://p.sf.net/sfu/internap-sfd2d
> > _______________________________________________________
> > Nagios Plugin Development Mailing List
> > Nagiosplug-devel at lists.sourceforge.net
> > Unsubscribe at
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> > ::: Please include plugins version (-v) and OS when reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
>
>
>
> ---------- Forwarded message ----------
> From: Dennis Kuhlmeier <kuhlmeier at riege.com>
> To: Nagios Plugin Development Mailing List <
> nagiosplug-devel at lists.sourceforge.net>
> Date: Thu, 17 Mar 2011 11:44:16 +0100
> Subject: Re: [Nagiosplug-devel] Help!
> Hi,
>
> On 17.03.2011 09:14, lists wrote:
> > 2011/3/16 Christine <chroll13 at hotmail.com>:
> >> Bonjour, En fait je ne connais plus l'adresse pour se connecter à la
> tchat
> >> de Nagios! Mais j'ai une question!
> >> Je n'ai pas les plugins check_snmp et check_hpjd et je ne sais comment
> les
> >> installer !
> >
> > Well a good starting point would be...
> http://nagios.org/download/plugins
> > Depending on what operating system you are using there could be
> > pre-built packages though.
> >
>
> problem could be build related, as I have difficulties building a
> Redhat RPM with these two plugins. Asked yesterday which
> pre-requisites have to be fulfilled apart from the obvious, got no
> answer though...
>
> Dennis
>
> --
> TheQL°
>
> Always remember to pillage before you burn.
>
>
> ..............................................................
> Riege Software International GmbH  Fon: +49 (2159) 9148 0
> Mollsfeld 10                       Fax: +49 (2159) 9148 11
> 40670 Meerbusch                    Web: www.riege.com
> Germany                            E-Mail: kuhlmeier at riege.com
> ---                                ---
> Handelsregister:                   Managing Directors:
> Amtsgericht Neuss HRB-NR 4207      Christian Riege
> USt-ID-Nr.: DE120585842            Gabriele  Riege
>                                   Johannes  Riege
> ..............................................................
>           YOU CARE FOR FREIGHT, WE CARE FOR YOU
>
>
>
>
>
> ---------- Forwarded message ----------
> From: "Christine" <chroll13 at hotmail.com>
> To: "Nagios Plugin Development Mailing List" <
> nagiosplug-devel at lists.sourceforge.net>
> Date: Fri, 18 Mar 2011 00:58:05 +0100
> Subject: Re: [Nagiosplug-devel] Help!
> Ok problem solved
>
> --------------------------------------------------
> From: "lists" <lists at catsnest.co.uk>
> Sent: Thursday, March 17, 2011 9:14 AM
> To: "Nagios Plugin Development Mailing List" <
> nagiosplug-devel at lists.sourceforge.net>
> Subject: Re: [Nagiosplug-devel] Help!
>
>  2011/3/16 Christine <chroll13 at hotmail.com>:
>>
>>> Bonjour, En fait je ne connais plus l'adresse pour se connecter à la
>>> tchat
>>> de Nagios! Mais j'ai une question!
>>> Je n'ai pas les plugins check_snmp et check_hpjd et je ne sais comment
>>> les
>>> installer !
>>>
>>
>> Well a good starting point would be... http://nagios.org/download/plugins
>> Depending on what operating system you are using there could be
>> pre-built packages though.
>>
>> Ritchie,
>> --
>> <- -Only the lavender prairie dogs know the key to unlock the secret
>> of the tumble-weeds. -->
>>
>>
>> ------------------------------------------------------------------------------
>>> Colocation vs. Managed Hosting
>>> A question and answer guide to determining the best fit
>>> for your organization - today and in the future.
>>> http://p.sf.net/sfu/internap-sfd2d
>>> _______________________________________________________
>>> Nagios Plugin Development Mailing List
>>> Nagiosplug-devel at lists.sourceforge.net
>>> Unsubscribe at
>>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>>> ::: Please include plugins version (-v) and OS when reporting any issue.
>>> ::: Messages without supporting info will risk being sent to /dev/null
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>> _______________________________________________________
>> Nagios Plugin Development Mailing List
>> Nagiosplug-devel at lists.sourceforge.net
>> Unsubscribe at
>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>> ::: Please include plugins version (-v) and OS when reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: "SourceForge.net" <noreply at sourceforge.net>
> To: noreply at sourceforge.net
> Date: Sat, 19 Mar 2011 13:49:32 +0000
> Subject: [Nagiosplug-devel] [ nagiosplug-Bugs-3003419 ] check_snmp converts
> negative values to positive
> Bugs item #3003419, was opened at 2010-05-18 17:59
> Message generated for change (Comment added) made by nobody42
> You can respond by visiting:
>
> https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3003419&group_id=29880
>
> Please note that this message will contain a full copy of the comment
> thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: Parsing problem
> Group: v1.4.14
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Matt Rose (oesor)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: check_snmp converts negative values to positive
>
> Initial Comment:
> When thresholds are defined, check_snmp converts negative integer snmp get
> values to positive:
>
> root at ops-00:/usr/local/nagios/libexec# ./check_snmp -V
> check_snmp v1.4.14 (nagios-plugins 1.4.14)
>
> root at ops-00:/usr/local/nagios/libexec# ./check_snmp -H 192.168.1.100 -o
> DEVICE-MIB::CurrentNoiseFloor.0 -w=~:-85 -c=~:-80 -vvvv
> /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] 192.168.1.100:161DEVICE-MIB::CurrentNoiseFloor.0
> DEVICE-MIB::CurrentNoiseFloor.0 = INTEGER: -97
> Processing line 1
>  oidname: DEVICE-MIB::CurrentNoiseFloor.0
>  response:  = INTEGER: -97
> SNMP CRITICAL - *97* | DEVICE-MIB::CurrentNoiseFloor.0=97
>
> root at ops-00:/usr/local/nagios/libexec# ./check_snmp -H 192.168.1.100 -o
> DEVICE-MIB::CurrentNoiseFloor.0 -vvvv
> /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] 192.168.1.100:161DEVICE-MIB::CurrentNoiseFloor.0
> DEVICE-MIB::CurrentNoiseFloor.0 = INTEGER: -97
> Processing line 1
>  oidname: DEVICE-MIB::CurrentNoiseFloor.0
>  response:  = INTEGER: -97
> SNMP OK - -97 | DEVICE-MIB::CurrentNoiseFloor.0=-97
>
> ----------------------------------------------------------------------
>
> Comment By: Nobody (nobody42)
> Date: 2011-03-19 14:49
>
> Message:
> The bug is located in line 404 of actual code
>
> 404                         ptr = strpbrk (show, "0123456789");
> should be changed to
> 404                         ptr = strpbrk (show, "-0123456789");
>
>
> 403                 if (thlds[i]->warning || thlds[i]->critical ||
> calculate_rate) {
> 404                         ptr = strpbrk (show, "0123456789");
> 405                         if (ptr == NULL)
>
> Can someone fix please ?
>
>
> ----------------------------------------------------------------------
>
> Comment By: Matt Rose (oesor)
> Date: 2010-05-18 18:20
>
> Message:
> s/thresholds are defined/thresholds are triggered/
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
>
> https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3003419&group_id=29880
>
>
>
>
> ---------- Forwarded message ----------
> From: Peter Ringe <Peter.Ringe at web.de>
> To: nagiosplug-devel at lists.sourceforge.net
> Date: Sat, 19 Mar 2011 20:23:07 +0100
> Subject: Re: [Nagiosplug-devel] Building RPM on RHEL6
> net-snmp-utils is a hint. configure is looking for snmpget, which is a
> utility shipped with net-snmp-utils.
>
> reards,
>
> Peter
>
>
> Am 16.03.2011 14:41, schrieb Dennis Kuhlmeier:
>
>> Hi,
>>
>> I know this is not quite the right place to ask, anyway maybe
>> someone could help, as this is less user oriented than development,
>> as I believe.
>>
>> Building all plugins can be a pain in the a**, there are several I
>> don't really need so I just ignore them, but I need check_snmp.
>>
>> What I currently get when building the RPM from source tarball is:
>>
>> $ rpmbuild -tb nagios-plugins-1.4.15.tar.gz
>>
>> .
>> .
>> configure: WARNING: Get snmpget from http://net-snmp.sourceforge.net
>> to make check_hpjd and check_snmp plugins
>> .
>> .
>> .
>>
>> Until now I have installed:
>> $ rpm -qa | grep -i snmp
>> perl-Net-SNMP-5.2.0-1.2.el6.rf.noarch
>> net-snmp-5.5-27.el6_0.1.x86_64
>> net-snmp-devel-5.5-27.el6_0.1.x86_64
>> net-snmp-libs-5.5-27.el6_0.1.x86_64
>>
>> Still not building. Any ideas?
>> Of course one might suggest just to use the pre-built package from
>> rpmforge but somehow I don't like that too much... At least it
>> breaks with our directory structure which of course comes from the
>> 32-bit aera.
>>
>> Thanks,
>>
>> Dennis
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Colocation vs. Managed Hosting
>> A question and answer guide to determining the best fit
>> for your organization - today and in the future.
>> http://p.sf.net/sfu/internap-sfd2d
>>
>>
>>
>> _______________________________________________________
>> Nagios Plugin Development Mailing List
>> Nagiosplug-devel at lists.sourceforge.net
>> Unsubscribe at
>> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>> ::: Please include plugins version (-v) and OS when reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: "SourceForge.net" <noreply at sourceforge.net>
> To: noreply at sourceforge.net
> Date: Thu, 24 Mar 2011 11:44:56 +0000
> Subject: [Nagiosplug-devel] [ nagiosplug-Patches-3240541 ] Add support for
> --ignore-missing for check_file_age
> Patches item #3240541, was opened at 2011-03-24 07:44
> Message generated for change (Tracker Item Submitted) made by vargok
> You can respond by visiting:
>
> https://sourceforge.net/tracker/?func=detail&atid=397599&aid=3240541&group_id=29880
>
> Please note that this message will contain a full copy of the comment
> thread,
> including the initial issue submission, for this request,
> not just the latest update.
> Category: Enhancement
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: vargo (vargok)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: Add support for --ignore-missing for check_file_age
>
> Initial Comment:
>  Please find attached a patch against v1.4.5 of check_file_age to provide
> for a -i | --ignore-missing option.  This allows files that don't exist to
> be monitored for without causing an error.  The use case is:
>
>  *  one process periodically pushes files to an "input" queue for a second
> process
>  *  the second process, when running cleanly will "consume" (process and
> remove) these files
>
> So the conditions to meet are:
>  1.  If the file doesn't exist, that's fine (OK)
>  2.  If the file exists, but is less than X seconds, that's fine (OK)
>  3.  If the file exists, but greater than X seconds, no good (CRITICAL)
>
>
> v1.4.5 doesn't permit this behavior, as a non-existent file is considered
> CRITICAL.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
>
> https://sourceforge.net/tracker/?func=detail&atid=397599&aid=3240541&group_id=29880
>
>
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________________
> Nagios Plugin Development Mailing List
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20110326/ce9f978a/attachment.html>


More information about the Devel mailing list