erwan.l wrote:Hi Pilly,
Almost there.
Lets switch to the 32 bits version as I cannot debug the 64bits one these days (the 32 bits will work fine on you 64bits platform).
1.Stop snmp service.
2.Delete the old reg key (HKEY_LOCAL_MACHINE\SOFTWARE\snmptools)
3.Use the snmptools.dll 32 bits version by using regagentWow6432.reg and copy this DLL file to the windows folder then, not system32.
Once the reg has been merged, put debug=1 again.
Restart snmp service and try again.
Regards,
Erwan.
Code: Select all
10:46:38:496 , counters=c:\counters.ini
10:46:38:496 , Traps=
10:46:38:496 , SnmpExtensionInit
10:46:38:496 , start
10:46:38:496 , Platform : win32
10:46:38:496 , OSVersion: osVista
10:46:38:496 , LOCALE_SDECIMAL: .
10:46:44:330 , SnmpExtensionQueryEx
10:46:44:330 , nRequestType=SNMP_EXTENSION_GET_NEXT
10:46:44:330 , GetNextRequest:1.3.6.1.4.1.15.6(8)
10:46:44:330 , value=2 length=1
10:46:44:330 , Next OID: 1.3.6.1.4.1.15.10.1 idlength=9
10:46:44:330 , GetNextRequest OK
10:46:44:346 , SnmpExtensionQueryEx
10:46:44:346 , nRequestType=SNMP_EXTENSION_GET
10:46:44:346 , GetRequest: OID=1.3.6.1.4.1.15.6 (8)
10:46:44:377 , GetPerf: path=Processor\% Idle Time\_Total
10:46:44:393 , GetPerf: pdh_counter_path=\Processor(_Total)\% Idle Time
10:46:45:407 , GetPerf: vartype=Double
10:46:45:407 , GetRequest: value=99.8089731344432 asn_type=4
10:46:45:407 , GetRequest: OK
10:46:45:407 , SnmpExtensionQueryEx
10:46:45:407 , nRequestType=SNMP_EXTENSION_GET
10:46:45:407 , GetRequest: OID=1.3.6.1.4.1.15.6 (8)
10:46:45:422 , GetPerf: path=Processor\% Idle Time\_Total
10:46:45:422 , GetPerf: pdh_counter_path=\Processor(_Total)\% Idle Time
10:46:46:436 , GetPerf: vartype=Double
10:46:46:436 , GetRequest: value=100 asn_type=2
10:46:46:436 , GetRequest: OK
Ok, I can live with this.
next question is im doing counter=ProcessorPerformance\Percentage\_Total which gives a value of "Null" which is right as its doing nothing at the moment. When i poll that with cacti the poller complains that null is not a valid result. ?