473,399 Members | 3,656 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Monitor SNMP Service

12
Hi,

I am trying to determine the SNMP status on remote machine.
I need to distinguish between two possible options, where the SNMP is not active:

1)When the SNMP listener is not active on a certain port (default is 161). This is caused when the SNMP service is off or when it listens to port other than 161.

2)When the communityString is incorrect.

I have been trying to use NET::SNMP and send a get request. The problem is that it cannot distinguish between the 2 options and it can only tells me whether it succeeded to connect or not.

By the way, the Microsoft application portQry.exe can distinguish between the two. When option1 it tells that SNMP is "NOT LISTENING" and when option2 it tells that SNMP is "FILTERRED".

I cannot rely on external application, but a script only.

Does anybody know how to figure this out? a workaruond? or how the portQry determines which options causes the SNMP to malfunction?

Thanks,

Ido.
Apr 7 '08 #1
1 2064
numberwhun
3,509 Expert Mod 2GB
Hi,

I am trying to determine the SNMP status on remote machine.
I need to distinguish between two possible options, where the SNMP is not active:

1)When the SNMP listener is not active on a certain port (default is 161). This is caused when the SNMP service is off or when it listens to port other than 161.

2)When the communityString is incorrect.

I have been trying to use NET::SNMP and send a get request. The problem is that it cannot distinguish between the 2 options and it can only tells me whether it succeeded to connect or not.

By the way, the Microsoft application portQry.exe can distinguish between the two. When option1 it tells that SNMP is "NOT LISTENING" and when option2 it tells that SNMP is "FILTERRED".

I cannot rely on external application, but a script only.

Does anybody know how to figure this out? a workaruond? or how the portQry determines which options causes the SNMP to malfunction?

Thanks,

Ido.

Sorry, I don't know the answer but hopefully one of our experts will be able to assist you.

My appologies for the delay in getting an answer to your question.

Regards,

Jeff
Apr 17 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Matthew Bell | last post by:
Hi, I'm looking for a high-performance SNMP manager toolkit (SNMPv1 / v2, GET / GETNEXT / GETBULK) I can use with Python on Windows2K/XP. I wonder if anyone has got any suggestions? Commercial...
3
by: Kevin Ingram | last post by:
Is it possible to connect to devices and read SNMP data with ASP? I did a search and all I could find was utilities for sale to do it, wondered if it can be done using straight ASP. We are using...
1
by: ZacBowling | last post by:
Does anyone have an idea of how to access the SNMP API or WMI SNMP provider in C#/.NET? I need to query a Ascend MAX's SNMP service with a custom MIB in .NET. I won't be modify anything on the MAX...
1
by: Christophe Helfer | last post by:
After many hours searching over the web I'll try to explain what I want. I want to build an application (or service) in VB.NET that can receive snmp traps and then perform some operation. There...
1
by: KDawg44 | last post by:
Hi, I am very new to Python and really just began studying and using it. I read that it was relatively easy to interact with Windows machines with Python and I am desperately looking for...
1
by: dipak5801 | last post by:
i want to know how to monitor services using SNMP protocol. what is MIB and how can i get this information. anyone provide me training mateiral or step by step process using snapshot . thanks in...
2
by: Dan Pavel | last post by:
Hi, I need to verify from my application if the SNMP Service on several computers have the Community set to "public" and the rights as "READ WRITE". I tried to do it by WMI but with no success....
1
by: Dirk Van de moortel | last post by:
{ OOPS, posted this to moderated group perl.cpan.discuss as well, so it can take a while to get through, if it gets through at all Otherwise sorry for duplicate posting } We need to set up a...
7
by: moon1 | last post by:
how will I change the code the 1st code according to the 2nd one? 1st code sub snmpGet(@) { # Assign arguments my ($deviceName)=$_; # Device name to read from my...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.