Hello,
is there any information in the MIB about the CPU-usage. I am
monitoring Windows-machines using whatsup and the goal is to raise an
alarm if the usage passes a certain threshold.
The same problem for the cisco routers :-)
Thanx in advance
CB
Printable View
Hello,
is there any information in the MIB about the CPU-usage. I am
monitoring Windows-machines using whatsup and the goal is to raise an
alarm if the usage passes a certain threshold.
The same problem for the cisco routers :-)
Thanx in advance
CB
> Hello,
Hi ,
[color=blue]
> The same problem for the cisco routers :-)[/color]
Current CPU usage in percents of device
1.3.6.1.4.1.9.2.1.56.0
Average CPU Usage in percents of device over last minute
1.3.6.1.4.1.9.2.1.57.0
Average CPU Usage in percents of device over last 5 minutes
1.3.6.1.4.1.9.2.1.58.0
HTH, sb
see: [url]http://snmp-info.sourceforge.net/doc/Info/CiscoStats.html#item_ios_cpu[/url]
Hi Paul
[color=blue]
> is there any information in the MIB about the CPU-usage. I am
> monitoring Windows-machines using whatsup and the goal is to raise an
> alarm if the usage passes a certain threshold.
>[/color]
using mib's from [url]http://www.wtcs.org/snmp4tpc[/url]
on pc's running w2k and wxp
verify that .3 in the below mentioned OID is the right one.
it could be from 0 up to i-dont-know-what.
on a dual-cpu system it's .5 for the 1st and .6 for the 2nd cpu
test it with some mib browser.
i'm using mrtg v2.10.15
-----------------start of mrtg.cfg---------------
RunAsDaemon: yes
### Global Defaults
XSize[_]:600
YSize[_]:100
TimeStrPos[_]: RU
TimeStrFmt[_]: %d-%m-%Y %H:%M:%S
Options[_]: unknaszero
Ytics[_]: 5
### CPU ###
Target[my-server-CPU]:
1.3.6.1.2.1.25.3.3.1.2.3&1.3.6.1.2.1.25.3.3.1.2.3:gue$$what4all@172.16.1.125
Options[my-server-CPU]: gauge, nopercent, nolegend
Unscaled[my-server-CPU]: dwmy
MaxBytes[my-server-CPU]: 100
YLegend[my-server-CPU]: % Utilization
ShortLegend[my-server-CPU]: %
Legend1[my-server-CPU]: CPU Average
Legend2[my-server-CPU]: CPU Average
Legend3[my-server-CPU]: CPU Average
Legend4[my-server-CPU]: CPU Average
LegendI[my-server-CPU]: <font color="#0000ff">Load</font>
LegendO[my-server-CPU]:
Colours[my-server-CPU]: Col1#00ccff,Col2#0000ff,Col3#00ffff,Col4#0000ff
Title[my-server-CPU]: Performance Analysis for my-server
PageTop[my-server-CPU]: <H1>Performance Analysis for my-server</H1>
--------------end of mrtg.cfg----------------------
--
rgds
Joe
________________________________________
mailto:%62%61%6e%61%6e%61%2e%6a%6f%65%39%40%62%6c%75%65%77%69%6e%2e%63%68
Thanx for your answer,
the problem is that I cannot change the MIB on the devices that I am
monitoring, so I have to use the standard MIB, so is there no
possibility to find the CPU utilization in the standard MIB of Windows
XP/2000/2003 and on Alcatel routers?
Joe <banana.joe9@bluewin.ch> wrote in message news:<d4gtb9$l98$1@news.hispeed.ch>...[color=blue]
> Hi Paul
>[color=green]
> > is there any information in the MIB about the CPU-usage. I am
> > monitoring Windows-machines using whatsup and the goal is to raise an
> > alarm if the usage passes a certain threshold.
> >[/color]
>
> using mib's from [url]http://www.wtcs.org/snmp4tpc[/url]
> on pc's running w2k and wxp
>
> verify that .3 in the below mentioned OID is the right one.
> it could be from 0 up to i-dont-know-what.
> on a dual-cpu system it's .5 for the 1st and .6 for the 2nd cpu
> test it with some mib browser.
>
> i'm using mrtg v2.10.15
> -----------------start of mrtg.cfg---------------
>
> RunAsDaemon: yes
>
> ### Global Defaults
> XSize[_]:600
> YSize[_]:100
> TimeStrPos[_]: RU
> TimeStrFmt[_]: %d-%m-%Y %H:%M:%S
> Options[_]: unknaszero
> Ytics[_]: 5
>
> ### CPU ###
>
> Target[my-server-CPU]:
> 1.3.6.1.2.1.25.3.3.1.2.3&1.3.6.1.2.1.25.3.3.1.2.3:gue$$what4all@172.16.1.125
> Options[my-server-CPU]: gauge, nopercent, nolegend
> Unscaled[my-server-CPU]: dwmy
> MaxBytes[my-server-CPU]: 100
> YLegend[my-server-CPU]: % Utilization
> ShortLegend[my-server-CPU]: %
> Legend1[my-server-CPU]: CPU Average
> Legend2[my-server-CPU]: CPU Average
> Legend3[my-server-CPU]: CPU Average
> Legend4[my-server-CPU]: CPU Average
> LegendI[my-server-CPU]: <font color="#0000ff">Load</font>
> LegendO[my-server-CPU]:
> Colours[my-server-CPU]: Col1#00ccff,Col2#0000ff,Col3#00ffff,Col4#0000ff
> Title[my-server-CPU]: Performance Analysis for my-server
> PageTop[my-server-CPU]: <H1>Performance Analysis for my-server</H1>
>
> --------------end of mrtg.cfg----------------------[/color]
In article news:1f716d42.0504250013.11742400@posting.google.com, paul b
wrote:[color=blue]
> Thanx for your answer,
> the problem is that I cannot change the MIB on the devices that I am
> monitoring, so I have to use the standard MIB, so is there no
> possibility to find the CPU utilization in the standard MIB of Windows
> XP/2000/2003 and on Alcatel routers?
>[/color]
For Windows, see the HOST-RESOURCES-MIB, and its object
"hrProcessorLoad", see e.g.
[url]http://www.icir.org/cgi-bin/fenner/oidbrowse.cgi/1.3.6.1.2.1.25.3.3.1.2[/url]
e.g.
C:\>snmputil.exe walk 127.0.0.1 pubic
host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad
Variable =
host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.4
Value = Integer32 3
Variable =
host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.5
Value = Integer32 2
End of MIB subtree.
C:\>
--
Alan J. McFarlane
[url]http://www.alanjmcf.me.uk/[/url]
Please follow-up in the newsgroup for the benefit of all.