Borge.Brunes@cc.uit.no said:
Jeg vet ikke om ITEA-gjengen kunne være villig til å legge inn nøvendige tillegg i cricket-konfigen for rutere som bruker ucd/ net-snmpd? Dersom det er ønskelig så kunne vi (les: Ingeborg) sikkert komme opp med et forslag. I tillegg så bør det leggges inn entries i typegroup.txt for dette.
Det som trengs for å overvåke system-info på en boks som kjører ucd/net-snmp er i allefall som følger:
# Load averages. OID ucd_load1min 1.3.6.1.4.1.2021.10.1.3.1 OID ucd_load5min 1.3.6.1.4.1.2021.10.1.3.2 OID ucd_load15min 1.3.6.1.4.1.2021.10.1.3.3
# Memory stats OID ucd_memswapAvail 1.3.6.1.4.1.2021.4.4.0 OID ucd_memrealAvail 1.3.6.1.4.1.2021.4.6.0 OID ucd_memtotalAvail 1.3.6.1.4.1.2021.4.11.0
# CPU Stats OID ucd_cpuUser 1.3.6.1.4.1.2021.11.9.0 OID ucd_cpuSystem 1.3.6.1.4.1.2021.11.10.0 OID ucd_cpuIdle 1.3.6.1.4.1.2021.11.11.0
datasource --default-- rrd-ds-type = GAUGE
datasource ucd_load1min ds-source = snmp://%snmp%/ucd_load1min
datasource ucd_load5min ds-source = snmp://%snmp%/ucd_load5min
datasource ucd_load15min ds-source = snmp://%snmp%/ucd_load15min
datasource ucd_memswapAvail ds-source = snmp://%snmp%/ucd_memswapAvail
datasource ucd_memrealAvail ds-source = snmp://%snmp%/ucd_memrealAvail
datasource ucd_memtotalAvail ds-source = snmp://%snmp%/ucd_memtotalAvail
datasource ucd_cpuUser ds-source = snmp://%snmp%/ucd_cpuUser
datasource ucd_cpuSystem ds-source = snmp://%snmp%/ucd_cpuSystem
datasource ucd_cpuIdle ds-source = snmp://%snmp%/ucd_cpuIdle
targetType ucd_System ds = "ucd_cpuUser, ucd_cpuSystem, ucd_cpuIdle, ucd_memrealAvail, ucd_memswapAvail, ucd_memtotalAvail, ucd_load1min, ucd_load5min, ucd_load15min"
view = "cpu: ucd_cpuUser ucd_cpuSystem ucd_cpuIdle, Memory: ucd_memrealAvail ucd_memswapAvail ucd_memtotalAvail, Load: ucd_load1min ucd_load5min ucd_load15min"
graph ucd_memswapAvail legend = "Available swap space" scale = 1024,* bytes = true units = "Bytes"
graph ucd_memrealAvail legend = "Used RAM" scale = 1024,* bytes = true units = "Bytes"
graph ucd_memtotalAvail legend = "Available RAM" scale = 1024,* bytes = true units = "Bytes"
graph ucd_load1min legend = "1 Min Load Av" si-units= false
graph ucd_load5min legend = "5 Min Load Av" si-units= false
graph ucd_load15min legend = "15 Min Load Av" draw-as = AREA si-units= false
graph ucd_cpuUser draw-as = AREA legend = "User CPU"
graph ucd_cpuSystem draw-as = STACK legend = "System CPU"
graph ucd_cpuIdle draw-as = STACK legend = "Idle CPU"
--Ingeborg