[Please retain the Cc: to the list.  Thanks]

On 03/04/07, Ward, Martin <[EMAIL PROTECTED]> wrote:
> > Try
> >    monitor -r 30 -i sysName.0 -o laNames -o laErrMessage
> >            "laTable" laErrorFlag != 0
> >
>
> That works fine for 5.4.0 but at the moment we are using the default
> 5.0.9 version of Net-SNMP.... Is
> this even possible in 5.0.9 or should I compile the latest version and
> work with that?

I would suggest you work with 5.4

The DisMan Event MIB support was completely re-written for the 5.3
release, and is significantly more complete, consistent, robust and
generally all-round better than the initial implementation.
  [Listens for howls of protest from Wes - hears nothing...]

I haven't checked the original code, but I have a vague recollection
that it didn't handle a wildcarded objects very well.   You would be
much better off working with the newer code.  (5.0.9 is some 3 1/2
years old, and is not even the most recent release on the 5.0.x line.


Dave

[Rest of the original message retained for context in list archives]

>                                              According to its man page:
>
>          monitor -u me -o sysUpTime.0 -o hrSWRunName "high process
> memory" \
>          hrSWRunPerfMem > 10000
>
>          The preceding line would produce a trap which, when for-
>          matted by snmptrapd, would display as follows:
>
>          2002-04-05 13:33:53 localhost.localdomain
> [udp:127.0.0.1:32931]:
>          sysUpTimeInstance = Timeticks: (1629) 0:00:16.29 snmpTrapOID.0
> = \
>          OID: mteTrigger Fired mteHotTrigger = high process memory \
>          mteHotTargetName = mteHotContextName = mteHotOID = \
>          OID: hrSWRunPerfMem.1968 mteHotValue = \
>          28564 hrSWRunName.1968 = "xemacs"
>
> I have tried this (modified to a suitable process) but to no avail. Is
> this even possible in 5.0.9 or should I compile the latest version and
> work with that?
>
> |\/|artin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to