Re: [nsp] cpu load fron snmp

From: Joerg Forstreuter (forstreuter@belwue.de)
Date: Mon Jul 09 2001 - 05:25:13 EDT


Hi Tamas,

On Mon 2001-07-09 (10:25), Tamas SZERB wrote:
> It is not so clear what I need to be able to snmpget from a linux box the
> cisco's cpu load, and memory usage.
>
> I found a MIB file, but it is unclear what is useful for that? And do I
> get these values simply with its number? Or it is necessary to get work
> that MIB first?

No, you should get the values with the number without MIB.

>
> Because I found a number for that, but it didnt work (now i don't remember
> to that). Oh, i forgot, i need the environment's temperature, memory usage
> too.

This is what i use, hope this helps

OID cpu5sec 1.3.6.1.4.1.9.2.1.56.0
OID cpu1min 1.3.6.1.4.1.9.2.1.57.0
OID cpu5min 1.3.6.1.4.1.9.2.1.58.0
OID tempInlet 1.3.6.1.4.1.9.9.13.1.3.1.3.1
OID tempOutlet 1.3.6.1.4.1.9.9.13.1.3.1.3.3
OID tempState 1.3.6.1.4.1.9.9.13.1.3.1.6.1
OID mem5minUsed 1.3.6.1.4.1.9.9.48.1.1.1.5.1
OID mem5minFree 1.3.6.1.4.1.9.9.48.1.1.1.6.1

for the tempInlet -Outlet -State it depends which router you have,
not all routers have these features

Greetings,

Joerg

-- 
-- Joerg Forstreuter, ------------------ mailto:forstreuter@belwue.de --
   BelWue-Koordination                                Tel: 0711/685-2509
   Rechenzentrum der Universitaet Stuttgart           Fax: 0711/678-8363
-- Allmandring 3A, 70550 Stuttgart ------------ http://www.belwue.de/ --



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:44 EDT