>>>>> On Tue, 18 Aug 2009 09:45:37 +0700, haries fajar nugroho >>>>> <[email protected]> said:
hfn> For example how do i do snmptrap on my linux machine is : snmptrap hfn> -v1 -c public 192.168.4.1 .1.3.6.1.2.1.25.2.3.1.5.1 localhost 6 1 '' hfn> . Is it the right parameter to trap the storage size of my machine and hfn> send it to computer on ip 192.168.4.1 ? if it is yes, how can i omit hfn> the uptime information ? and what is the number "6 1" on that syntax hfn> means, is it any other code number ? You should read the tutorial about snmptrap at: http://www.net-snmp.org/wiki/index.php/TUT:snmptrap The 6 and 1 are specific to SNMPv1, and I'd use SNMPv2c or above traps if I were use. They're easier to use and are identified by an OID instead of the "6 1" type combination. If you want to omit the uptime, just put in a 0. -- Wes Hardaker Cobham Analytic Solutions ------------------------------------------------------------------------------ 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
