473,692 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SNMP Trap

Hi I'd like help writing a c# console app that can send an SNMP trap. I've
seen some documents on writng an SNMP server, but I don't want to receive
traps, I only want to send them.

Thanks
Ben
Nov 15 '05 #1
10 10191
>

Hi I'd like help writing a c# console app that can send an SNMP trap. I've seen some documents on writng an SNMP server, but I don't want to
receive traps, I only want to send them.
Thanks
Ben


To send traps,
look for a trap or agent component. IP*Works! Contains managed SNMPMgr and
SNMPAgent components, as well as complete manager and agent demo applications,
supporting SNMPv3 funtionality.

Regards,
Lance R.
/n software - IP*Works!
Internet Toolkit http://www.nsoftware.com/

-

Nov 15 '05 #2
>

Hi I'd like help writing a c# console app that can send an SNMP trap. I've seen some documents on writng an SNMP server, but I don't want to
receive traps, I only want to send them.
Thanks
Ben


To send traps,
look for a trap or agent component. IP*Works! Contains managed SNMPMgr and
SNMPAgent components, as well as complete manager and agent demo applications,
supporting SNMPv3 funtionality.

Regards,
Lance R.
/n software - IP*Works!
Internet Toolkit http://www.nsoftware.com/

-

Nov 15 '05 #3
I was hoping that I would be able to use system.manageme nt or
system.manageme nt.instrumentat ion...

I just need to find better docs or something. Seems like sending a trap
should be simple!

Perhaps I should find an SNMP RFC and just create a send myself...
<la****@nsoftwa re.removeme.com > wrote in message
news:uZ******** *****@TK2MSFTNG P12.phx.gbl...


Hi I'd like help writing a c# console app that can send an SNMP trap.
I've seen some documents on writng an SNMP server, but I don't want to

receive traps, I only want to send them.

Thanks
Ben


To send traps,
look for a trap or agent component. IP*Works! Contains managed SNMPMgr

and SNMPAgent components, as well as complete manager and agent demo applications, supporting SNMPv3 funtionality.

Regards,
Lance R.
/n software - IP*Works!
Internet Toolkit http://www.nsoftware.com/

-

Nov 15 '05 #4
I was hoping that I would be able to use system.manageme nt or
system.manageme nt.instrumentat ion...

I just need to find better docs or something. Seems like sending a trap
should be simple!

Perhaps I should find an SNMP RFC and just create a send myself...
<la****@nsoftwa re.removeme.com > wrote in message
news:uZ******** *****@TK2MSFTNG P12.phx.gbl...


Hi I'd like help writing a c# console app that can send an SNMP trap.
I've seen some documents on writng an SNMP server, but I don't want to

receive traps, I only want to send them.

Thanks
Ben


To send traps,
look for a trap or agent component. IP*Works! Contains managed SNMPMgr

and SNMPAgent components, as well as complete manager and agent demo applications, supporting SNMPv3 funtionality.

Regards,
Lance R.
/n software - IP*Works!
Internet Toolkit http://www.nsoftware.com/

-

Nov 15 '05 #5
Actually you can use the System.Manageme nt classes, all you need is an snmp
WMI provider, I guess only W2K3 has it installed per default. Check
following URL for details on set-up.

http://msdn.microsoft.com/library/de...nvironment.asp
Willy.

"Bennett F. Dill" <benat@spam_no. dillfamily.org> wrote in message
news:R0******** ********@fe3.co lumbus.rr.com.. .
I was hoping that I would be able to use system.manageme nt or
system.manageme nt.instrumentat ion...

I just need to find better docs or something. Seems like sending a trap
should be simple!

Perhaps I should find an SNMP RFC and just create a send myself...
<la****@nsoftwa re.removeme.com > wrote in message
news:uZ******** *****@TK2MSFTNG P12.phx.gbl...
>
>
> Hi I'd like help writing a c# console app that can send an SNMP trap.

> I've seen some documents on writng an SNMP server, but I don't want to
>

receive traps, I only want to send them.
>
> Thanks
> Ben


To send traps,
look for a trap or agent component. IP*Works! Contains managed SNMPMgr

and
SNMPAgent components, as well as complete manager and agent demo

applications,
supporting SNMPv3 funtionality.

Regards,
Lance R.
/n software - IP*Works!
Internet Toolkit http://www.nsoftware.com/

-


Nov 15 '05 #6
Actually you can use the System.Manageme nt classes, all you need is an snmp
WMI provider, I guess only W2K3 has it installed per default. Check
following URL for details on set-up.

http://msdn.microsoft.com/library/de...nvironment.asp
Willy.

"Bennett F. Dill" <benat@spam_no. dillfamily.org> wrote in message
news:R0******** ********@fe3.co lumbus.rr.com.. .
I was hoping that I would be able to use system.manageme nt or
system.manageme nt.instrumentat ion...

I just need to find better docs or something. Seems like sending a trap
should be simple!

Perhaps I should find an SNMP RFC and just create a send myself...
<la****@nsoftwa re.removeme.com > wrote in message
news:uZ******** *****@TK2MSFTNG P12.phx.gbl...
>
>
> Hi I'd like help writing a c# console app that can send an SNMP trap.

> I've seen some documents on writng an SNMP server, but I don't want to
>

receive traps, I only want to send them.
>
> Thanks
> Ben


To send traps,
look for a trap or agent component. IP*Works! Contains managed SNMPMgr

and
SNMPAgent components, as well as complete manager and agent demo

applications,
supporting SNMPv3 funtionality.

Regards,
Lance R.
/n software - IP*Works!
Internet Toolkit http://www.nsoftware.com/

-


Nov 15 '05 #7
Correction, did not read your original posting, the WMI's snmp provider is a
snmp client only provider, so you can only receive snmp mib's.

Willy.
"Bennett F. Dill" <benat@spam_no. dillfamily.org> wrote in message
news:R0******** ********@fe3.co lumbus.rr.com.. .
I was hoping that I would be able to use system.manageme nt or
system.manageme nt.instrumentat ion...

I just need to find better docs or something. Seems like sending a trap
should be simple!

Perhaps I should find an SNMP RFC and just create a send myself...

Nov 15 '05 #8
Correction, did not read your original posting, the WMI's snmp provider is a
snmp client only provider, so you can only receive snmp mib's.

Willy.
"Bennett F. Dill" <benat@spam_no. dillfamily.org> wrote in message
news:R0******** ********@fe3.co lumbus.rr.com.. .
I was hoping that I would be able to use system.manageme nt or
system.manageme nt.instrumentat ion...

I just need to find better docs or something. Seems like sending a trap
should be simple!

Perhaps I should find an SNMP RFC and just create a send myself...

Nov 15 '05 #9
Thanks for the follow-up. The thing that is causing me problems here is
that in looking at this page:
http://msdn.microsoft.com/library/de...asp?frame=true

It seems to say that WMI includes several built-in providers. An SNMP
provider being one of them, and then the page goes on to demonstrate how
SNMP has messages and one of the messages is a notify or a trap.

This lead me to believe that maybe, just maybe WMI did what I was looking
for.

Thanks again,
Ben
"Willy Denoyette [MVP]" <wi************ *@pandora.be> wrote in message
news:eU******** ********@tk2msf tngp13.phx.gbl. ..
Correction, did not read your original posting, the WMI's snmp provider is a snmp client only provider, so you can only receive snmp mib's.

Willy.
"Bennett F. Dill" <benat@spam_no. dillfamily.org> wrote in message
news:R0******** ********@fe3.co lumbus.rr.com.. .
I was hoping that I would be able to use system.manageme nt or
system.manageme nt.instrumentat ion...

I just need to find better docs or something. Seems like sending a trap
should be simple!

Perhaps I should find an SNMP RFC and just create a send myself...


Nov 15 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7354
by: Gionni | last post by:
Is it possible to send a snmp trap from vb6? Are there any free (or cheap) libreries? Specifically I have to send a trap to OpenView. Thanks and cheers, Gionni
1
4638
by: Gionni | last post by:
Hello everyone, I have to send a snmp trap. I have a snmp manager (Openview) and I have started the Windows agent. Now I don't know what to do anymore. I believe I have to use the snmpapi.dll, but I can't find any reference to this library. I need a little example, could you help me? I'm sorry, but I am not a snmp expert (and I have just started with vb). Thanks and cheers, Gionni
4
3426
by: Jeremy Sanders | last post by:
Hi - I'd like to write a program which basically does a few snmpgets. I haven't been able to find a python package which gives you a nice high-level and simple way of doing this (like PHP has). Everything appears to be extremely low level. All I need is SNMPv1. Does anyone know of a simple python package for doing this? I'd rather have something written in pure python, so that it is easily cross-platform.
0
482
by: Bennett F. Dill | last post by:
Hi I'd like help writing a c# console app that can send an SNMP trap. I've seen some documents on writng an SNMP server, but I don't want to receive traps, I only want to send them. Thanks Ben
4
6890
by: basetta | last post by:
Hi, I have to create a vb6 program that it can receive snmp trap. I am been able to create one with a form and winsock control that receive data but I'd like to do a program without forms that it sends email with the trap. My problem is, I don't found the reference or control to add to my code. Have someone any example ? can you help me? thanks in advance
0
4063
by: Bill Schmidt | last post by:
I am attempting to send an SNMP trap using C#. however I have been unable to find a way to do it. websearching has turned up a small number of 3rd party tools that should be able to do this, however the ones that are available for use without purchase are tend to be poorly documented and I am unable to find a trap method. I have read that this should be able to be done with WMI using a management object, however once again all thats...
2
2366
by: Sleurhutje | last post by:
Hi, I need to add SNMP functionality to an existing app. I need to be able to read specific real-time data from another system using SNMP traps. Anyone know a good sample or libs that can do this?
1
3793
by: idoha | last post by:
Hi All, I need to send SNMP traps of a very specific forma (version 2 snmp trap). The format is as following: 07/31/2007 16:31:47 2 172.21.49.66 172.21.49.66 1.3.6.1.4.1.6387.1.2.3.3.1.2.12 1.3.6.1.2.1.1.3.0=>363 days, 20 hours, 59 minutes, 56 seconds. 1.3.6.1.6.3.1.1.4.1.0=>.1.3.6.1.4.1.6387.1.2.3.3.1.2.12 1.3.6.1.4.1.6387.1.2.3.3.1.1.15=>Oshkosh 1 1.3.6.1.4.1.6387.1.2.3.3.1.1.3=>703 All I can find is a method that sends snmp...
1
4164
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 server 2003 (or a win XP system) to accept and act upon traps sent out from a storage system. Responding to various error conditions, this system can be fully configured to send traps.
0
8603
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8537
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9081
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8955
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7627
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4323
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4556
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2970
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1957
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.