Re: CPU. Memory, and Disk util
Stephen Carville <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Danilo Castro Dy wrote:
> Good day fellow Cricket users!
>
>
>
> Has anyone successfully pull a data of CPU, Memory, and Disk utilization of
> Windows 2003 and Linux ES4 using Cricket through SNMP? I've tried the
> contribution in http://cricket.sourceforge.net/contrib/ I'm not able to get
> any data. However, I successfully get the data using MRTG. I like to use
> Cricket because I'm using it for routers and switch, I want to stick to one
> application. Is there a new script to do this?
>
I get CPU load average and disk usage but not memory using SMNP
In cricket-config/servers/Defaults
################ Load Average ####################
datasource cpu1min
ds-source = snmp://%snmp%/cpu1min
rrd-ds-type = GAUGE
datasource cpu5min
ds-source = snmp://%snmp%/cpu5min
rrd-ds-type = GAUGE
datasource cpu15min
ds-source = snmp://%snmp%/cpu15min
rrd-ds-type = GAUGE
targetType = load-average
ds = "cpu1min, cpu5min, cpu15min"
view = "cpu"
view cpu
elements = "cpu1min cpu5min cpu15min"
graph cpu1min
draw-as = LINE1
y-axis = "Load Average"
legend = "One minute Load Average"
graph cpu5min
draw-as = LINE1
y-axis = "Load Average"
legend = "Five minute Load Average"
graph cpu15min
draw-as = LINE1
y-axis = "Load Average"
legend = "Fifteen minute Load Average"
############### disk drive space #####################
map mount-point
base-oid = StorageDescr
match = %mount-point%
# ds0
datasource driveunits
ds-source = snmp://%snmp%/StorageAllocUnits.%inst%
rrd-ds-type = GAUGE
# ds1
datasource drivespace
ds-source = snmp://%snmp%/StorageSize.%inst%
rrd-ds-type = GAUGE
# ds2
datasource driveused
ds-source = snmp://%snmp%/StorageUsed.%inst%
rrd-ds-type = GAUGE
# ds3
datasource drive-space
rrd-ds-type = COMPUTE
rrd-cdef = ds0,ds1,*
# ds4
datasource drive-used
rrd-ds-type = COMPUTE
rrd-cdef = ds0,ds2,*
# ds5
datasource drive-ratio
rrd-ds-type = COMPUTE
rrd-cdef = ds4,ds3,/
targetType = disk-volume
ds = "driveunits, drivespace, driveused, drive-space,
drive-used, d
rive-ratio"
view = "summary"
view "summary"
elements = "drive-ratio"
graph drive-ratio
draw-as = LINE1
y-axis = "Percent"
legend = "Percent Disk Used"
scale = 100,*
In cricket-config/servers/<servername>/targets
target --default--
machine = "<servername>"
short-desc = "Main Web Server"
target load-average
target-type = load-average
short-desc = "Processor Load Average"
target "root"
short-desc = "/"
mount-point = /
inst = map(mount-point)
target-type = disk-volume
target boot
short-desc = "/boot"
mount-point = /boot
inst = map(mount-point)
target-type = disk-volume
target usr
short-desc = "/usr"
mount-point = /usr
inst = map(mount-point)
target-type = disk-volume
target var
short-desc = "/var"
mount-point = /var
inst = map(mount-point)
target-type = disk-volume
You have to create a target for each volume you want to monitor.
>
> Thanks in advance :-)
>
> -------------------------------------------------------------------------
> 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
> _______________________________________________
> cricket-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cricket-users
-------------------------------------------------------------------------
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