Re: Monitoring OID Error
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------- 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