Thanks Todd,
I still didn't find a solution for this problem...
Maybe a script is the only solution... i'll try it out...
Thanks again for helping me,
Wagner.
-----Mensagem original-----
De: Todd H. [mailto:netview@toddh.net]
Enviada em: quarta-feira, 18 de dezembro de 2002 12:41
Para: wagnergc
Cc: nv-l@lists.tivoli.com
Assunto: Re: [nv-l] Mib Expression
wagnergc <wagnergc@itautec-philco.com.br> writes:
> Hello,
>
> I want to make a MIB expression using the mibexpr.conf this way:
>
> The mib is the following:
>
> mib-
> 2.host.hrSWRunPerf.hrSWRunPerfTable.hrSWRunPerfEntry.hrSWRunPerfM
>
> em.1 : 16
>
> This mib indicates the memory used in the process #1: System
> Idle Process in Windows...
>
> But what i wanted to do is to totalize the memory used in all
> the processes... like doing a snmpwalk in the mib-
> 2.host.hrSWRunPerf.hrSWRunPerfTable.hrSWRunPerfEntry.hrSWRunPerfM
>
> em tree and then totalize the values to get the total memory
> used...
>
> Does anyone knows how to do it????
To the best of my knowledge, the mib data collector doesn't have the
ability to do a total like you describe among all instances in an snmp
table.
I'm afraid the only answer I know of involves writing a simple shell
or Perl script that calls snmpwalk, pulls off the numbers, adds em up,
and calls postemsg or whatever alerting you want, and sticking it in
cron.
Best Regards,
--
Todd H.
http://www.toddh.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|