This queue is for tickets about the Net-SNMP CPAN distribution.

Report information
The Basics
Id:
123709
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
dtown [...] cpan.org
Requestors:
samuel.mutel [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
(no value)
Fixed in:
(no value)



MIME-Version: 1.0
X-Spam-Status: No, score=-1.333 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_SOFTFAIL=0.665] autolearn=no
X-Cpan.org: This message routed through the cpan.org mail forwarding service. Please use PAUSE pause.perl.org to configure your delivery settings.
X-Spam-Flag: NO
Content-Type: multipart/alternative; boundary="001a1135308271f8e8055e8ea3ae"
Message-ID: <CAA3rH8Y2uPWJabGrWbmFHVPpnsHRv3kodiJWn0LqVS-JOo0BpA@mail.gmail.com>
X-Received: by 10.202.77.75 with SMTP id a72mr12396682oib.204.1511341604073; Wed, 22 Nov 2017 01:06:44 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -1.333
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 7FABD2401A4 for <cpan-bug+Net-SNMP@hipster.bestpractical.com>; Wed, 22 Nov 2017 04:06:57 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4jxbtqD6-dnZ for <cpan-bug+Net-SNMP@hipster.bestpractical.com>; Wed, 22 Nov 2017 04:06:56 -0500 (EST)
Received: from xx1.develooper.com (xx1.develooper.com [207.171.7.115]) by hipster.bestpractical.com (Postfix) with ESMTPS id 2206724009A for <bug-Net-SNMP@rt.cpan.org>; Wed, 22 Nov 2017 04:06:55 -0500 (EST)
Received: from localhost (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with ESMTP id 174E711F32A for <bug-Net-SNMP@rt.cpan.org>; Wed, 22 Nov 2017 01:06:55 -0800 (PST)
Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id 81D3866FF9 for <bug-Net-SNMP@rt.cpan.org>; Wed, 22 Nov 2017 01:06:52 -0800 (PST)
Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id 5781411F2CC for <bug-Net-SNMP@rt.cpan.org>; Wed, 22 Nov 2017 01:06:45 -0800 (PST)
Received: by mail-oi0-f41.google.com with SMTP id f135so10480675oib.0 for <bug-Net-SNMP@rt.cpan.org>; Wed, 22 Nov 2017 01:06:45 -0800 (PST)
Received: by 10.74.138.91 with HTTP; Wed, 22 Nov 2017 01:06:43 -0800 (PST)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i=@gmail.com
X-Google-SMTP-Source: AGs4zMbMlUcde5sPw09uarGm15z1sqc4kzcOJ8fW/Bry1XUmpAIV0eIpsCovALT8/6NygLJ9+R0dJdixHvRJaEmGRvU=
Delivered-To: cpan-bug+Net-SNMP@hipster.bestpractical.com
Subject: get_table is hanging on a specific server
Return-Path: <samuel.mutel@gmail.com>
X-RT-Mail-Extension: net-snmp
X-Original-To: cpan-bug+Net-SNMP@hipster.bestpractical.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zQ6lii2RU1KR8x3IUsdc3+KEFn5vZyeRIENqZRgDBtY=; b=Reb4SQAHZphsYIxNLMIhIqj5IRD3/EZpL00QRFpz7eZB73s4MqkHNQMvxRV23hqR2x mE5q6w8mWZ7M1lsWpGleJC2swSAsDyVOs0XdQKaIN9Sl/t+YQ+iJHOKKCbKn6bA/7k6f wEp1/8w7aWlKE7vCvmSsSbh6Yw5W4251Wsdusu98J15BFO/eybKCByZVYAvhBYrANE5k fRytMCkgenv9IGsAUA+LIVemOZd5nMMiOYdly2yE36rYkvA4/SjCCuWl55ZAXeMZIzrB SEthFgBCFHudKcngfk2Sj82kK0ZhjyulWUPccDTr6Ec99b6Gw3PTHdYZiy/WjdO2yFF1 ZXvA==
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zQ6lii2RU1KR8x3IUsdc3+KEFn5vZyeRIENqZRgDBtY=; b=WP+CxHJMbOBrrosBnRMjN1E3sHzPdfQagPHxmWoqCyNkvX3mYnNRYUKv8pNQVjUVKR P2n/KFq5/hX0aY+hIHcynmBlK38Sing4/PqqUA8DjBqDztJpRgkHzukuzAn0azg52CaI ejAdU3Vc4Gp0iTgZgYOICD4HtRu9r9UZrUo/GJ/VhzfOaEojmto5Y3EJsuUFbSMWXlDh FR2ABdgV72DUcv4rVvBkobyylHBbm/C6FZGMuaiYKHblk4HkDbpHHd1DwridqnjWdVQl u3tsDYpJcOZHoubxWEHaWJ6GZZzQN+MSFVcbhDZOr+u96OyFI8VQk/D+cLap2JcZJ/QZ GMvQ==
X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_NO_HTTP 0.1, BODYTEXTH_SIZE_10000_LESS 0, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DKIM_SIGNATURE 0, NO_CTA_URI_FOUND 0, NO_URI_FOUND 0, NO_URI_HTTPS 0, SPF_PASS 0, WEBMAIL_SOURCE 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FRAUD_MONEY_CURRENCY 0, __FRAUD_MONEY_CURRENCY_DOLLAR 0, __FRAUD_WEBMAIL 0, __FRAUD_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HELO_GMAIL 0, __HEX28_LC_BOUNDARY 0, __HTML_TAG_DIV 0, __MIME_HTML 0, __MIME_TEXT_H 0, __MIME_TEXT_H1 0, __MIME_TEXT_H2 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_TEXT_P2 0, __MIME_VERSION 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __PHISH_SPEAR_STRUCTURE_1 0, __RDNS_GMAIL 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __YOUTUBE_RCVD 0, __zen.spamhaus.org_ERROR '
Date: Wed, 22 Nov 2017 10:06:43 +0100
X-Spam-Level:
X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2017.11.22.90017
To: bug-Net-SNMP@rt.cpan.org
From: Samuel Mutel <samuel.mutel@gmail.com>
X-GM-Message-State: AJaThX5Zd2ImYQxJRwBjx3AxW9Qu03sNiaCBJIn0U+lTCMp1tgZbzt6m VChUrP88KVx4LW8ctuvzKQFCBzZA2v2/8JE51oDzyBb5
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 1372
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1764
Hello,

I have a perl script with this piece of code.

my $mntBase = '.1.3.6.1.2.1.25.3.8.1';
$oid = $mntBase . ".2";
my $result = $session->get_table(-baseoid => $oid);

This works fine for one server (named SERVER01) but does not work for server two (named SERVER02). The script is hanging and exit in timeout.

shell> snmpwalk -On -v2c -c openview SERVER01 .1.3.6.1.2.1.25.3.8.1.2
.1.3.6.1.2.1.25.3.8.1.2.1 = STRING: "/"
.1.3.6.1.2.1.25.3.8.1.2.2 = STRING: "/boot"
.1.3.6.1.2.1.25.3.8.1.2.3 = STRING: "/home"
.1.3.6.1.2.1.25.3.8.1.2.4 = STRING: "/var"
.1.3.6.1.2.1.25.3.8.1.2.11 = STRING: "/dev/shm"
.1.3.6.1.2.1.25.3.8.1.2.13 = STRING: "/run"
.1.3.6.1.2.1.25.3.8.1.2.14 = STRING: "/sys/fs/cgroup"
.1.3.6.1.2.1.25.3.8.1.2.31 = STRING: "/var/lib/docker"
.1.3.6.1.2.1.25.3.8.1.2.32 = STRING: "/var/lib/docker/overlay"

shell> snmpwalk -On -v2c -c openview SERVER01 .1.3.6.1.2.1.25.3.8.1.2
.1.3.6.1.2.1.25.3.8.1.2.1 = STRING: "/"
.1.3.6.1.2.1.25.3.8.1.2.2 = STRING: "/boot"
.1.3.6.1.2.1.25.3.8.1.2.3 = STRING: "/home"
.1.3.6.1.2.1.25.3.8.1.2.4 = STRING: "/var"
.1.3.6.1.2.1.25.3.8.1.2.11 = STRING: "/dev/shm"
.1.3.6.1.2.1.25.3.8.1.2.13 = STRING: "/run"
.1.3.6.1.2.1.25.3.8.1.2.14 = STRING: "/sys/fs/cgroup"
.1.3.6.1.2.1.25.3.8.1.2.31 = STRING: "/var/lib/docker"
.1.3.6.1.2.1.25.3.8.1.2.32 = STRING: "/var/lib/docker/overlay"

Is-it a bug or a mistake of my code?

Thanks.
MIME-Version: 1.0
In-Reply-To: <CAA3rH8Y2uPWJabGrWbmFHVPpnsHRv3kodiJWn0LqVS-JOo0BpA@mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CAA3rH8Y2uPWJabGrWbmFHVPpnsHRv3kodiJWn0LqVS-JOo0BpA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-18304-1526590893-828.123709-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 304
Based on the limited information, it is hard to tell what is going on. Can you provided the output produced when you turn on debugging [ snmp_debug(0xff); ] and attempt the query that fails? Have you tried to increaasing the timeout period and see if the host itself is taking a longer time to respond?


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.