RE: about the snmpagent example
"Mike Ayers" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <83E753BE7B6A324ABB336245BAF1DAAC087E582F@mailserver.metatv-ds.metatv.com> |
> From: [email protected] > [mailto:[email protected]] On > Behalf Of [email protected] > Sent: Sunday, May 11, 2008 4:52 AM > Oh,the below is my operate. > #ps -aux|grep snmpd > Warning: bad syntax, perhaps a bogus '-'? See > /usr/share/doc/procps-3.2.3/FAQ > root 14960 0.0 0.5 79816 6056 ? S May09 > 0:01 snmpd -f -Le -C -c /etc/snmp/snmpd.conf -d -Ddump -Dsysid > root 2855 0.0 0.0 42312 696 pts/1 S+ 19:32 > 0:00 grep snmpd > #kill -9 14960 Ouch! Not good - you will corrupt your savefile (group: what *is* the proper name for that file, anyway?). Try: # /etc/init.d/snmpd stop You should do this before rebuilding. Also, try using "ps -ef" (Linux/Sys V) instead of "ps -aux" (BSD). > I use the command is: > #make uninstall > #make clean > #./configure --with-mib-modules="sysid" > #make > #make install IIRC, the "--with-mib-modules" flag is excluding your custom MIB. Try leaving it off for now. HTH, Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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