473,395 Members | 1,343 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,395 software developers and data experts.

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 10155
>

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.management or
system.management.instrumentation...

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****@nsoftware.removeme.com> wrote in message
news:uZ*************@TK2MSFTNGP12.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.management or
system.management.instrumentation...

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****@nsoftware.removeme.com> wrote in message
news:uZ*************@TK2MSFTNGP12.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.Management 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.columbus.rr.com...
I was hoping that I would be able to use system.management or
system.management.instrumentation...

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****@nsoftware.removeme.com> wrote in message
news:uZ*************@TK2MSFTNGP12.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.Management 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.columbus.rr.com...
I was hoping that I would be able to use system.management or
system.management.instrumentation...

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****@nsoftware.removeme.com> wrote in message
news:uZ*************@TK2MSFTNGP12.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.columbus.rr.com...
I was hoping that I would be able to use system.management or
system.management.instrumentation...

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.columbus.rr.com...
I was hoping that I would be able to use system.management or
system.management.instrumentation...

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****************@tk2msftngp13.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.columbus.rr.com...
I was hoping that I would be able to use system.management or
system.management.instrumentation...

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
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****************@tk2msftngp13.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.columbus.rr.com...
I was hoping that I would be able to use system.management or
system.management.instrumentation...

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 #11

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

Similar topics

1
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
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,...
4
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)....
0
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
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...
0
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,...
2
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...
1
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
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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:
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...
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...

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.