Re: Monitoring OID Error

"Markus Gibson" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Ok, great. I think part of the problem is that I don't fully understand how
these should be used in context. For example I thought that using "-o" and
then a value, specified an OID to monitor. Thank you again for your help.

Mark

On 11/10/06, Dave Shield <[email protected]> wrote:
>
> On 10/11/06, Markus Gibson <[email protected]> wrote:
> > Well I was able to get the error to go away by using:
> >
> > monitor -u _internal -r 60 -e "SwapUsage" -o hrStorageUsed.3 != 0
>
> I'm not sure why, because that doesn't look like a valid monitor line
> either.
>
>    a)  You're still not specifying an OID to monitor
>    b)  Khalid's reminded me that you've missed out the name field as well.
>
> As I've tried to say several times, I don't think you need that "-o" flag.
> And I think you'd probably be better off starting by using the standard
> notification too, rather than trying to define your own.
> Try something like:
>
>      monitor  -I -u _internal  -r 60  "Swap Usage"   hrStorageUsed.3 > 0
>
> (That's minus-Capital-i, since you're monitoring a single instance,
> rather than a wildcarded object).
>
> Once you're happy that this entry works as expected - *then* think about
> changing the trap that's sent (using -e {Event}) or adding extra values to
> the payload (using -o {object})
>
> But when in doubt, keep things as simple as possible.
> Tackle it one step at a time.
>
> Dave
>



-- 
M.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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.