Re: Monitoring OID Error

"Markus Gibson" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
If I am reading this correctly the line should read

monitor -u _internal -r 60 -I -e SwapUsage -o hrStorageUsed.3 !=0

right?

Thanks for your help!!

Mark

On 11/8/06, Dave Shield <[email protected]> wrote:
>
> On 08/11/06, Markus Gibson <[email protected]> wrote:
> > /usr/local/share/snmp/snmpd.conf: line 42:
> >    Error: unknown monitor OID
>
>
> > monitor -u _internal -r 60 -e SwapUsage -o hrStorageType.3
> >       -o hrStorageDescr.3 -o hrStorageUsed.3 !=0  #
> >                      <-- This is the line where the error occurs
>
> That's because this monitor line is malformed.
> If we spread it out a bit, the problem becomes apparent:
>
> > monitor -u _internal -r 60        // who and how often to query
> >            -e SwapUsage            //  the notification to send
> >            -o hrStorageType.3    //  a payload object
> >            -o hrStorageDescr.3  //  a payload object
> >            -o hrStorageUsed.3   //  a payload object
> >            !=0                             // the expression to evaluate
>
> Take a look at that expression - it doesn't make sense, does it?
> What object (instance) are you wanting to compare against 0?
>
> Supply that OID, and things should be OK.
>
> I'd also suggest that you add the flag '-I' to the monitor line,
> since you seem to be wanting to monitor a single instance,
> rather than all instances of a particular object.
>
> 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.