lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

NET-SNMP on Fedora Core 2

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Mon May 24, 2004 9:46 pm    Post subject: NET-SNMP on Fedora Core 2 Reply with quote

I recently upgraded my desktop from FC1 to FC2, and now my snmpd will sit and eat 100% of cpu-time constantly. Anyone experience this, or have a solution?
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Tue May 25, 2004 1:12 am    Post subject: Reply with quote

No clue. Have you strace'd the daemon yet to see where the tight-loop is?
I think Net-SNMP 5.1.1 might have some other bugs; I have a bug open with Red Hat about the pass-through support in it, but it appears to be in the tarball as well.

-Doug
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Tue May 25, 2004 1:24 am    Post subject: Reply with quote

Ok, I found it.

In /etc/rc.d/init.d/snmpd there was
Code:
OPTIONS="-Lsd v/null -p /var/run/snmpd -a -c /etc/snmp/snmpd.conf"


The -L options are for logging, and they're conflicting apparently. I removed the /dev/null one and kept the syslog one.

Code:
OPTIONS="-Lsd -p /var/run/snmpd -c -a /etc/snmp/snmpd.conf"


Seems to be fine now.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Tue May 25, 2004 11:02 pm    Post subject: Reply with quote

Well, it's not fine. At some point during troubleshooting I must've deleted my snmpd.conf. I realized that today, created a new one, and it's happening again.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group