Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Anyone used SNMPTrap with ASP?

Status
Not open for further replies.

vikrambade

Programmer
Sep 20, 2001
12
CA
I have a webpage written in Perl which uses the "snmptrap" executable to send trap messages. It uses the following command:
system("/u09/webuser/mtsweb/cgi-bin/snmptrap 92 lp1.ukcom 92001 \"$snmptext\"");
This page is hosted on a Unix box and Apache Webserver.

I need to implement a similar page in ASP which would run on Windows 2000 Server with IIS 5.0. What would it require to do so and is this possible. I have Windows 2K Professional on my desktop and it has "snmptrap.exe" in c:\winnt\ServicePackFiles\i386" directory. When i give some randon parameters or parameters as above to the command, it does not return any error not does it have any sort of help about the parameters to be passed.

I would also like to know what exactly does "snmptrap" do? I mean, does it send a message to any queue/mailbox?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top