in reply to NET::SNMP ??????

A page with a module, sample code for a trap, and a pointer to a printed text is here. (BTW, the trap type in the example is "Link Down" which is probably the type you'll want to send...) You'll need a private MIB (1.3.6.1.4.1.x) and if you don't have an enterpriseID (I think that is the correct name) you can either fake it or register for one. In any case, the SNMP manager to whom you send your trap will have to know what to do with a trap from you. That means configuration at the SNMP manager.

HTH, --traveler

Replies are listed 'Best First'.
Re: Re: NET::SNMP ??????
by gnu@perl (Pilgrim) on Feb 13, 2003 at 18:12 UTC
    Hey, thanks. This will help quite a bit. I was able to get a small SNMP query to get the uptime of a server working. As far as the MIB goes, I am researching that at this time, it dosen't look like it will be that hard to do.

    The application we are using is dependant upon the MIB I believe. I am having them send me an example of the MIB on the system so I can 'clone' it.