dune
Joined: 24 Oct 2006 Posts: 33 Location: Dallas, TX
|
Posted: Tue Dec 12, 2006 7:46 pm Post subject: IIS Bandwidth per Instance attempt |
|
|
Howdy all. I've been using Cacti for some time, but never explored much outside its default features. I have an immediate need to track bandwidth usage in IIS on a per-site or per-instance basis. The good news is I've been able to find these values (bytes sent/sec, bytes rcvd/sec & bytes total) available through PerfMon, which I am in turn using SMNP-Informant Advanced to allow me to capture these values through SNMP.
My dilemma is how to best get this data into Cacti. Due to the number of sites and servers I'm working with, there are a LOT of OIDs to deal with. Ideally, I would like to scan a server for a list of site names (they're available through SNMP as strings @ 1.3.6.1.4.1.9600.1.2.86.1.1) and check off the ones I would like to monitor.
To do this, it seems I need to dynamically build my OID, which is a combination of the base OID plus the part of the OID unique to that instance like so:
1.3.6.1.4.1.9600.1.2.86.1.5.23.112.114.111.100.45.115.107.102.115.112.101.101.100.105.115.108.101.101.118.101.45.118.49
Here's how it breaks down (tree file attached):
Root tree: 1.3.6.1.4.1.9600.1.2
webServices Table: .86
webServicesentry: .1
wsBytesTotalPerSec: .5
The rest is the IIS instance ID....
I've been reading through the Cacti manual some to see if there was a built-in way to do this without a completely custom script. I know the SNMP Query XML Syntax is used a lot for custom stuff, but even this feature appears to require the exact OIDs in the end.
If anyone could point me in the right direction, it would be greatly appreciated. Thanks!
| Description: |
|
 Download |
| Filename: |
iis-oid.txt |
| Filesize: |
4.83 KB |
| Downloaded: |
161 Time(s) |
|
|