iowait graphics
Moderators: Developers, Moderators
iowait graphics
Does anyone know how to generate an IOWAIT graphic with cacti..im using linux and solaris (via snmp)
thanks
thanks
Nice....i knew about the snmp oid , the problem is..as im new to cacti i dunno how to build a template for iowait with snmp , do you know if there's one ready to use over here??? i've searched the forum but just found otemplates that use scripts using iostat/vmstat commands ..one of them was by yourself i belive.
thanks again
thanks again
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You've missed it. AFAIK, there is no OID for IOWAIT, so it is not possible to get IOWAIT data via SNMP. This is not cacti related. You would have to build your own SNMP agent to report IOWAIT data.mtsm wrote:... i dunno how to build a template for iowait with snmp , do you know if there's one ready to use over here?
Reinhard
the old admin from here was graphing iowait with snmp with mrtg like this:
Target[tetis.cpuiw]:.1.3.6.1.4.1.2021.11.53.0&.1.3.6.1.4.1.2021.11.54.0:l4mb1d4@tetis
MaxBytes[tetis.cpuiw]: 100
Title[tetis.cpuiw]: CPU Idle X IOWait - tetis
i wanted to get a similar graph with cacti...
isnt this the real iowait graph?
Target[tetis.cpuiw]:.1.3.6.1.4.1.2021.11.53.0&.1.3.6.1.4.1.2021.11.54.0:l4mb1d4@tetis
MaxBytes[tetis.cpuiw]: 100
Title[tetis.cpuiw]: CPU Idle X IOWait - tetis
i wanted to get a similar graph with cacti...
isnt this the real iowait graph?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Oops, seems I've to correct myself From this, it should be possible to develop the wanted template or to extend the already existing one (IOWAIT = Wait???)
Reinhard
Code: Select all
snmpwalk -c <community string> -v 1 localhost .1.3.6.1.4.1.2021.11
...
UCD-SNMP-MIB::ssCpuRawUser.0 = Counter32: 10890
UCD-SNMP-MIB::ssCpuRawNice.0 = Counter32: 358
UCD-SNMP-MIB::ssCpuRawSystem.0 = Counter32: 2836
UCD-SNMP-MIB::ssCpuRawIdle.0 = Counter32: 74599
UCD-SNMP-MIB::ssCpuRawWait.0 = Counter32: 15059
UCD-SNMP-MIB::ssCpuRawKernel.0 = Counter32: 2696
UCD-SNMP-MIB::ssCpuRawInterrupt.0 = Counter32: 140
...
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Wow, fine! In this case, you're lucky cause all OIDs are stored in separate rrd files. Otherwise, it would be more than tricky ...
For all newly defined graphs, there should be no problem.
You said, you modified the existing Graph Template? And added the needed Data Templates just like the existing ones? That's important, so please confirm this assumption.
Then, for each host, perform the following:
Goto Data Sources, filter your host, Add a new Data Source and select the "ucd/net WAIT" one and "Create" to get this OID polled for that device
Then, goto Graph Management and select the already existing Graph. You'll find one of the Graph Items set to none (the new one!). select the WAIT Data Source from the dropdown and "Save".
Of course, you'll have to wait 2 polling cycles for data to get filled. And you surely will have no historical data for this item
Reinhard
For all newly defined graphs, there should be no problem.
You said, you modified the existing Graph Template? And added the needed Data Templates just like the existing ones? That's important, so please confirm this assumption.
Then, for each host, perform the following:
Goto Data Sources, filter your host, Add a new Data Source and select the "ucd/net WAIT" one and "Create" to get this OID polled for that device
Then, goto Graph Management and select the already existing Graph. You'll find one of the Graph Items set to none (the new one!). select the WAIT Data Source from the dropdown and "Save".
Of course, you'll have to wait 2 polling cycles for data to get filled. And you surely will have no historical data for this item
Reinhard
Who is online
Users browsing this forum: No registered users and 2 guests