I've got perfmon displaying the current number of ASP.NET requests on a Windows 2008 server, all good there.
I've enabled the SNMP service and I can perform an snmpwalk (Linux command to browse the snmp MIBs) on the machine.
I'm now looking to export the perfmon data so I can read this via SNMP.
I don't believe Performance Monitor counters are available through SNMP out of the box. There are some add-ons available that will add that functionality though.
A paid version: SNMP Informant
and a free one: SNMP Tools
Install snmptools and add counters to the counters.ini file.Perfmon counters can be obtained using "Typeperf -qx" command. Example below shows counter.ini file with few general counters.
the base OID is 1.3.6.1.4.1.15
Restart SNMP, check returned values:
snmpget -v2c -c public hostname 1.3.6.1.4.1.15.5.1.1
iso.3.6.1.4.1.15.5.1.1 = STRING: "2235023360"
This counter returns available memory in Bytes.