Re: monitor -S option doesn't work

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 1 April 2010 23:13, X Z <[email protected]> wrote:
> I am using 5.3.2.2, for RHEL5 x86_64. I tried download the newer source
> (5.5) but it didn't compile on my machine.

Hmmm...  it might be worth trying to identify and fix that problem.
What exactly were the errors?


>                            There were recent patches applied
> to 5.3.2.2, the latest patch is dated on Aug 24, 2009 for memory leak fixes.

That sounds like a RedHat-supplied patch.
We did apply a patch to fix memory leaks in the DisMan code,
but that was back in June 2007.


>  If possible, could you please let me know what the patch for the "-S"
> option so that I can add it to the patch list for 5.3.2.2?

Remember that I've no idea what RedHat have done with our code.
And I don't have a version of 5.3.2.2 to work with.
But the current 5.3.x code certainly handles -S sensibly.

Try downloading and compiling 5.3.3.


(If you've got the source to 5.3.2.2, then the most likely files
to update would be mteTrigger.c, mteTriggerConf.c and mteTriggerTable.c.
See
   http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-3-patches/net-snmp/agent/mibgroup/disman/event/mteTrigger.c?view=log
   http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-3-patches/net-snmp/agent/mibgroup/disman/event/mteTriggerConf.c?view=log
   http://net-snmp.svn.sourceforge.net/viewvc/net-snmp/branches/V5-3-patches/net-snmp/agent/mibgroup/disman/event/mteTriggerTable.c?view=log
        for details of recent changes.  But it would probably be
easier to just copy the 5.3.3 versions of these files into the 5.3.2.2
source tree)


Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.