ok thanks for reply. Can any1 give me guide or something how to configure it for cacti? i just installed it now but i dont know hot to configure it to work with cacti.
EDIT: found the guide in this forum: http://forums.cacti.net/viewtopic.php?f=6&t=26151
But i'm stuck at:
Code: Select all
C:\usr\bin>snmpwalk.exe -v 1 -c public localhost sysdesc
SNMPv2-MIB::sysDescr.0 = STRING: Hardware: x86 Family 6 Model 9 Stepping 5 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.1 (Build 2600 Uniprocessor Free)
What i get is:
Code: Select all
C:\usr\bin>snmpwalk.exe -v 1 -c public localhost sysdesc
Timeout: No Response from localhost
EDIT2: omg finally fixed snmp error but rrdtools error is still the same, what should i do now?;S Also it shows what my localhost is DOWN.
EDIT3: searching for other threas about rrdtools and down errors. Can't fix it yet but i can say what i choosed:
Ping or SNMP; ICMP ping; cmd.php, also on devices page localhost options:
Code: Select all
Ping Results
ICMP Ping Success (0.26 ms)
Server status: still down, rrdtools cant find rrd files, bcs they r not creating.
EDIT4: Found and fixed the errors but now my graphs r empty, so searching how to fix it , why so many fixes need to be done:S[/size]
----------------------------------------------------------------------------------------------------------------
EDIT5: My graphs draw one time but it stopped again, i did only manual run C:\php\php.exe C:\inetpub\wwwroot\cacti\poller.php, but i set up task schedule to do that, and it runs normally, but graph isnt redrawing.
Cacti log file:
Code: Select all
06/17/2011 01:10:26 PM - SYSTEM STATS: Time:26.0318 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:9
06/17/2011 01:10:26 PM - CMDPHP: Poller[0] Time: 25.1253 s, Theads: N/A, Hosts: 1
06/17/2011 01:10:26 PM - CMDPHP: Poller[0] Host[2] DS[16] SERVER: C:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk localhost 2 1:161:500:1:10:public:::::: get total 4, output: 0
06/17/2011 01:10:26 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.2.3.1.5.4'
06/17/2011 01:10:25 PM - CMDPHP: Poller[0] Host[2] DS[16] SERVER: C:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk localhost 2 1:161:500:1:10:public:::::: get used 4, output: 0
06/17/2011 01:10:25 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.2.3.1.6.4'
06/17/2011 01:10:24 PM - CMDPHP: Poller[0] Host[2] DS[15] SERVER: C:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk localhost 2 1:161:500:1:10:public:::::: get total 3, output: 0
06/17/2011 01:10:24 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.2.3.1.5.3'
06/17/2011 01:10:23 PM - CMDPHP: Poller[0] Host[2] DS[15] SERVER: C:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk localhost 2 1:161:500:1:10:public:::::: get used 3, output: 0
06/17/2011 01:10:23 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.2.3.1.6.3'
06/17/2011 01:10:22 PM - CMDPHP: Poller[0] Host[2] DS[14] SERVER: C:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk localhost 2 1:161:500:1:10:public:::::: get total 2, output: 0
06/17/2011 01:10:22 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.2.3.1.5.2'
06/17/2011 01:10:21 PM - CMDPHP: Poller[0] Host[2] DS[14] SERVER: C:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk localhost 2 1:161:500:1:10:public:::::: get used 2, output: 0
06/17/2011 01:10:21 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.2.3.1.6.2'
06/17/2011 01:10:20 PM - CMDPHP: Poller[0] Host[2] DS[13] SERVER: C:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk localhost 2 1:161:500:1:10:public:::::: get total 1, output: 0
06/17/2011 01:10:20 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.2.3.1.5.1'
06/17/2011 01:10:19 PM - CMDPHP: Poller[0] Host[2] DS[13] SERVER: C:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php ss_host_disk localhost 2 1:161:500:1:10:public:::::: get used 1, output: 0
06/17/2011 01:10:19 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.2.3.1.6.1'
06/17/2011 01:10:18 PM - CMDPHP: Poller[0] Host[2] DS[12] SNMP: v1: localhost, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: U
06/17/2011 01:10:18 PM - CMDPHP: Poller[0] Host[2] DS[12] WARNING: Result from SNMP not valid. Partial Result: U
06/17/2011 01:10:18 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.1.6.0'
06/17/2011 01:10:16 PM - CMDPHP: Poller[0] Host[2] DS[11] SNMP: v1: localhost, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: U
06/17/2011 01:10:16 PM - CMDPHP: Poller[0] Host[2] DS[11] WARNING: Result from SNMP not valid. Partial Result: U
06/17/2011 01:10:16 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.1.5.0'
06/17/2011 01:10:14 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v1: localhost, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.2.1.58.0, output: U
06/17/2011 01:10:14 PM - CMDPHP: Poller[0] Host[2] DS[10] WARNING: Result from SNMP not valid. Partial Result: U
06/17/2011 01:10:14 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.4.1.9.2.1.58.0'
06/17/2011 01:10:11 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: localhost, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: U
06/17/2011 01:10:11 PM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
06/17/2011 01:10:11 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.1.6.0'
06/17/2011 01:10:09 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: localhost, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: U
06/17/2011 01:10:09 PM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid. Partial Result: U
06/17/2011 01:10:09 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.25.1.5.0'
06/17/2011 01:10:07 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.1.3.0'
06/17/2011 01:10:05 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.1.3.0'
06/17/2011 01:10:03 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'localhost', and OID:'.1.3.6.1.2.1.1.3.0'
06/17/2011 01:10:01 PM - CMDPHP: Poller[0] Host[2] PING: ICMP Ping Success (0.31 ms)
06/17/2011 01:10:01 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/17/2011 01:10:01 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/17/2011 01:10:00 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
06/17/2011 01:10:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
Omg i checked again and when i push on localhost it shows SNMP error again
And now i get same error:
Code: Select all
C:\usr\bin>snmpwalk.exe -v 1 -c public localhost sysdesc
Timeout: No Response from localhost
(What a hell i just restarted pc and no error now)
Also this when i try to run poller.php manually:
http://imageshack.us/f/856/permx.png/