On Mon, Aug 17, 2009 at 12:17 PM, haries fajar nugroho<[email protected]> wrote: > On Sat, Aug 15, 2009 at 5:02 AM, Wes > Hardaker<[email protected]> wrote: >>>>>>> On Tue, 11 Aug 2009 22:43:39 +0700, haries fajar nugroho >>>>>>> <[email protected]> said: >> >> hfn> I wanna ask about snmptrap, how can i do snmptrap for some oid ? for >> hfn> example, could snmptrap used for sending information about my disk >> hfn> usage (oid .1.3.6.1.2.1.25.2.3.1.6.1) to another NMS software ? >> >> hfn> if it's possible, how do i write it ? because everytime i search on >> hfn> internet, the example will always include with uptime oid. >> >> traps can be sent using any OID you can dream of. Many network >> management software packages, however, need specific legally defined >> trap OIDs to properly process them on the other side. >> >> Our receiver (snmptrapd) can receive anything and log anything it >> receives. It may be more useful to use real trap oids though. >> -- >> Wes Hardaker >> Cobham Analytic Solutions >> > > would you like to provide me the syntax of sending snmptrap ? such as > sending snmptrap about disk usage of a partition. > > Thanks before :) >
For example how do i do snmptrap on my linux machine is : snmptrap -v1 -c public 192.168.4.1 .1.3.6.1.2.1.25.2.3.1.5.1 localhost 6 1 '' . Is it the right parameter to trap the storage size of my machine and send it to computer on ip 192.168.4.1 ? if it is yes, how can i omit the uptime information ? and what is the number "6 1" on that syntax means, is it any other code number ? Thanks Before :) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
