Re: Bug? Got it!

Jean-Sebastien Morisset <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Fri, Mar 03, 2006 at 10:37:37AM +0000, Dave Shield wrote:
> On Thu, 2006-03-02 at 14:00 -0500, Jean-Sebastien Morisset wrote:
> 
>> Can we use an AND in the monitor line? Something like:
>> 
>> monitor -r 70 -o dskPath -o dskErrorMsg "dskTable" dskErrorFlag != 0 && dskUsed >= 0
> 
> Not directly.
> The Event MIB is designed to monitor a single value - not
> arbitrary combinations.
> 
> 
> But I've got some good news and some bad news.
> The good news is that the DisMan working group also
> developed an Expression MIB - explicitly for this
> sort of requirement.   So the Expression MIB can be
> configured to combine dskErrorFlag and dskUsed, and
> the Event MIB configured to monitor the Expression MIB
> (rather than the diskTable directly).
> 
> The bad news is that the Net-SNMP doesn't currently
> implement the Expression MIB.  There is some preliminary
> work on a full implementation (as well as an earlier
> incomplete version), but the code shipped with 5.3.0.1
> isn't really useable.
> 
> The good news is that the CVS branch includes newer
> code that is somewhat more complete, and *may* handle
> the example above.
> 
> The bad news is that this is still incomplete, and
> definitely not fully tested.   But it's something you
> might like to investigate.
> 
> Alternatively, you might prefer to try and track down
> what's going wrong with the diskTable itself.

Dave,

I'm using OpenNMS to receive these traps, so I'll see if I can filter
them out there.

Thanks,
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator <[email protected]>
Personal Home Page <http://jsmoriss.mvlan.net/>
Underwater and Travel Photographs <http://www.mvpix.com/>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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.