Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 696869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:06:34+00:00 2026-05-14T03:06:34+00:00

My team has a situation where an SNMP SET will fail once every two

  • 0

My team has a situation where an SNMP SET will fail once every two weeks or so. Since this set happens automatically, we don’t necessarily notice it immediately when it fails, and this can result in an inconsistent configuration and associated wailing and gnashing of teeth. The plan is to fix this by having our software automatically retry the SET when it fails.

The problem is, we aren’t sure why the failure is happening. My (extremely limited) knowledge of SNMP isn’t particularly helpful in diagnosing this problem, so I thought I’d ask StackOverflow for some advice. We think that every so often a spike in network traffic will cause the SET to fail. Since SNMP uses UDP for communication, I would think it would be relatively easy for a command to be drowned out if traffic was high for a short period of time. However, I have no idea how common this is. We have a small network with a single cisco router and there are less than a dozen SNMP controlled devices on that network. In addition to the SNMP traffic, there are some status web pages being loaded from the various devices. In case it makes a difference, I believe we are using the AdventNet SNMP API version 4.0.4 for Java.

Does it sound reasonable that there will be some SET commands dropped occasionally, or should we be looking for other causes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T03:06:34+00:00Added an answer on May 14, 2026 at 3:06 am

    SNMP was designed to be unreliable. It uses UDP as its transport protocol. Routers will drop SNMP packets when they’ve got high priority work to do. So yes, it sounds very reasonable that SET commands are dropped occasionally 🙂

    First upgrade to the newest version of the SNMP library if there is one.

    Then you can set up a retry mechanism: verify each SET with a GET. If this fails, queue the SET for a later attempt. This requires an elaborate queuing mechanism: a later SET for the same setting should be queued after, or over, an existing queued SET.

    Another option is to synchronize the entire state every hour; use GET for a setting, if it has changed, SET it. Changes that do not make it through for over 3 hours can be reported using an alerting system.

    There are many more options, but if you have just 1 failure per week average, I’d go with the simplest one: Verify a SET with a GET, retry for 5 times, if it still fails, email.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the situation : Our Dev Team has heterogeneous OS systems, scattered between
I'm a Windows developer, but my team counterpart on the Mac side has asked
The situation is as follow : Our company works two main production sites, communicating
I know that the same question has been asked many times on SO and
I am in the process of moving my team from TFS to GIT in
The Samsung Galaxy S comes with a propietary filesystem called RFS . This filesystem
Our team is in the process of switching over our media library storage engine
First, some basic details: I'm using Visual Studio 2008 Team Edition I'm using C#
Ever since I updated FF to 3.6.12 (or at least that's when I noticed
I have a rather loaded question regarding a library/framework my company uses to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.