My System Setup:
Microsoft Windows 2003 Server
Internet Information Services 6.0
MySQL Server 4.1 (Latest Version)
NetSNMP 5.2.1.2 [C:\usr]
RRDTool 1.2.9 [C:\rrdtool]
- I have cygwin1.dll (1,227 KB) in this folder, as well as 4 other "cyg..." dll's.
Cactid 0.8.6 [C:\cactid]
- With cygwin1.dll (1,227 KB), and the config file.
PHP 5.0.5 (C:\PHP)
- I also have the extensions in the "ext" folder for MySQL, etc.
If you need to know more about the system setup, let me know.
Cacti Setup:
I have one device registered as "localhost", with the hostname being the actual name of the server ("ELWOH.headquarters.elwoh.com").
The host template is set to "Windows 2000/XP Host". SNMP community name is set to "public", and the username and password are blank. SNMP version 1.
I have one graph template added, "SNMP - Generic OID Template", and one data query added, which is "SNMP - Interface Statistics" (Status: Success [14 Items, 2 Rows].
If I click on the "Edit" link for the SNMP - Generic OID Template Graph everything is set to default. I turned on graph debug mode, and I get no image, as in the image file doesn't exist at all. RRDTool Says: "The system cannot find the path specified."
When I click on "Verbose Query" for the SNMP - Interface Statistics, I get data that looks okay, I suppose.
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:/Inetpub/wwwroot/Cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='1'] index: 1 [from value]
+ Found item [ifOperStatus='1'] index: 2 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='MS TCP Loopback interface'] index: 1 [from value]
+ Found item [ifDescr='Intel(R) PRO/1000 MT Network Connection - Packet Scheduler Miniport'] index: 2 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='24'] index: 1 [from value]
+ Found item [ifType='6'] index: 2 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='10000000'] index: 1 [from value]
+ Found item [ifSpeed='100000000'] index: 2 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr=''] index: 1 [from value]
+ Found item [ifHwAddr=''] index: 2 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='10.0.0.6'] index: 2 [from regexp oid parse]
+ Found item [ifIP='70.86.19.114'] index: 2 [from regexp oid parse]
+ Found item [ifIP='70.86.19.115'] index: 2 [from regexp oid parse]
+ Found item [ifIP='127.0.0.1'] index: 1 [from regexp oid parse]
+ Found data query XML file at 'C:/Inetpub/wwwroot/Cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/Cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/Cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/Cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at 'C:/Inetpub/wwwroot/Cacti/resource/snmp_queries/interface.xml'
Now, if I go down to the "System Utilities", and choose to view the Poller Cache I get 13 items:
Data Source: Localhost - Memory - Free
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_mem_buffers_3.rrd
Action: 1, Script: perl C:/Inetpub/wwwroot/Cacti/scripts/linux_memory.pl MemFree:
Data Source: Localhost - Memory - Free Swap
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_mem_swap_4.rrd
Action: 1, Script: perl C:/Inetpub/wwwroot/Cacti/scripts/linux_memory.pl SwapFree:
Data Source: Localhost - Load Average
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_load_1min_5.rrd
Action: 1, Script: perl C:/Inetpub/wwwroot/Cacti/scripts/loadavg_multi.pl
Data Source: Localhost - Logged in Users
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_users_6.rrd
Action: 1, Script: perl C:/Inetpub/wwwroot/Cacti/scripts/unix_users.pl
Data Source: Localhost - Processes
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_proc_7.rrd
Action: 1, Script: perl C:/Inetpub/wwwroot/Cacti/scripts/unix_processes.pl
Data Source: Localhost - Logged in Users
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_users_8.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.5.0 (Host: ELWOH.headquarters.elwoh.com, Community: public)
Data Source: Localhost - Processes
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_proc_9.rrd
Action: 0, OID: .1.3.6.1.2.1.25.1.6.0 (Host: ELWOH.headquarters.elwoh.com, Community: public)
Data Source: Localhost - Traffic - 127.0.0.1/MS TCP Loopback
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_traffic_in_10.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: ELWOH.headquarters.elwoh.com, Community: public)
Data Source: Localhost - Traffic - 127.0.0.1/MS TCP Loopback
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_traffic_in_10.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: ELWOH.headquarters.elwoh.com, Community: public)
Data Source: Localhost - Traffic - 70.86.19.115/Intel(R) PRO/10
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_traffic_in_11.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.2 (Host: ELWOH.headquarters.elwoh.com, Community: public)
Data Source: Localhost - Traffic - 70.86.19.115/Intel(R) PRO/10
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_traffic_in_11.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.2 (Host: ELWOH.headquarters.elwoh.com, Community: public)
Data Source: Localhost -
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_snmp_oid_12.rrd
Action: 0, OID: (Host: ELWOH.headquarters.elwoh.com, Community: public)
Data Source: Localhost -
RRD: C:\Inetpub\wwwroot\Cacti\rra\localhost_snmp_oid_13.rrd
Action: 0, OID: (Host: ELWOH.headquarters.elwoh.com, Community: public)
SNMP Cache is much the same, with 14 items:
Now when viewing the Cacti log file I came across some more recongnizable message :Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifIP, Field Value: 127.0.0.1
OID: .1.3.6.1.2.1.4.20.1.2.127.0.0.1
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifHwAddr, Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.1
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifSpeed, Field Value: 10000000
OID: .1.3.6.1.2.1.2.2.1.5.1
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifType, Field Value: 24
OID: .1.3.6.1.2.1.2.2.1.3.1
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifDescr, Field Value: MS TCP Loopback interface
OID: .1.3.6.1.2.1.2.2.1.2.1
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifOperStatus, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.8.1
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 1, Field Name: ifIndex, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.1.1
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifIP, Field Value: 70.86.19.115
OID: .1.3.6.1.2.1.4.20.1.2.70.86.19.115
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifHwAddr, Field Value:
OID: .1.3.6.1.2.1.2.2.1.6.2
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifSpeed, Field Value: 100000000
OID: .1.3.6.1.2.1.2.2.1.5.2
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifType, Field Value: 6
OID: .1.3.6.1.2.1.2.2.1.3.2
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifDescr, Field Value: Intel(R) PRO/1000 MT Network Connection - Packet Scheduler Miniport
OID: .1.3.6.1.2.1.2.2.1.2.2
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifOperStatus, Field Value: 1
OID: .1.3.6.1.2.1.2.2.1.8.2
Host: Localhost, SNMP Query: SNMP - Interface Statistics
Index: 2, Field Name: ifIndex, Field Value: 2
OID: .1.3.6.1.2.1.2.2.1.1.2
When I am on the server (through remote connection), and I run the poller (C:\PHP\php-cgi.exe C:\Inetpub\wwwroot\Cacti\poller.php), I get some more information that doesn't look to good.10/12/2005 08:13:39 PM - SYSTEM STATS: Time:2.1104 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:11
10/12/2005 08:13:38 PM - CMDPHP: Poller[0] Host[1] DS[13] WARNING: Result from SNMP not valid. Partial Result:
10/12/2005 08:13:38 PM - CMDPHP: Poller[0] Host[1] DS[12] WARNING: Result from SNMP not valid. Partial Result:
10/12/2005 08:13:38 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 08:13:38 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 08:13:37 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
10/12/2005 08:13:37 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 08:13:37 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 08:01:30 PM - SYSTEM STATS: Time:1.0982 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:12 RRDsProcessed:10
10/12/2005 08:01:30 PM - CMDPHP: Poller[0] Host[1] DS[12] WARNING: Result from SNMP not valid. Partial Result:
10/12/2005 08:01:30 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 08:01:30 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 08:01:30 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
10/12/2005 08:01:30 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 08:01:30 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:44:46 PM - SYSTEM STATS: Time:1.1031 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:12 RRDsProcessed:10
10/12/2005 07:44:46 PM - CMDPHP: Poller[0] Host[1] DS[12] WARNING: Result from SNMP not valid. Partial Result:
10/12/2005 07:44:46 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:44:46 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:44:46 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
10/12/2005 07:44:45 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:44:45 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:39:10 PM - SYSTEM STATS: Time:1.0968 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:11 RRDsProcessed:9
10/12/2005 07:39:10 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:39:10 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:39:10 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
10/12/2005 07:39:09 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:39:09 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:35:06 PM - SYSTEM STATS: Time:1.0945 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:11 RRDsProcessed:9
10/12/2005 07:35:05 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:35:05 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:35:05 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
10/12/2005 07:35:05 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:35:05 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:31:16 PM - SYSTEM STATS: Time:2.1338 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:11 RRDsProcessed:9
10/12/2005 07:31:15 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:31:15 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:31:15 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
10/12/2005 07:31:14 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:31:14 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:08:41 PM - SYSTEM STATS: Time:1.0942 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:11 RRDsProcessed:9
10/12/2005 07:08:41 PM - CMDPHP: Poller[0] Host[1] DS[7] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:08:41 PM - CMDPHP: Poller[0] Host[1] DS[6] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:08:41 PM - CMDPHP: Poller[0] Host[1] DS[5] WARNING: Result from CMD not valid. Partial Result: 1min: 5min: 10
10/12/2005 07:08:41 PM - CMDPHP: Poller[0] Host[1] DS[4] WARNING: Result from CMD not valid. Partial Result:
10/12/2005 07:08:41 PM - CMDPHP: Poller[0] Host[1] DS[3] WARNING: Result from CMD not valid. Partial Result:
What can I do about all of those missing-module errors? Are they php modules that are missing, or something else?Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
The system cannot find the path specified.
Content-type: text/html
X-Powered-By: PHP/5.0.5
10/12/2005 08:13:39 PM - SYSTEM STATS: Time:2.1104 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:13 RRDsProcessed:11
Could this be the reason that my graphs aren't being generated?
I'm also assuming that there should be data-files in the "rra" (C:\Inetpub\wwwroot\Cacti\rra) folder, however I only see ".placeholder".
In the online Cacti Management System, my path values are:
snmpwalk Binary Path:
C:\usr\bin\snmpwalk.exe
snmpget Binary Path:
C:\usr\bin\snmpget.exe
RRDTool Binary Path:
C:\rrdtool\rrdtool.exe
RRDTool Default Font Path:
(blank, not sure what to put here)
PHP Binary Path:
c:\php\php-win.exe
Cacti Log File Path:
C:\Inetpub\wwwroot\Cacti\log\cacti.log
Cactid Poller File Path:
C:\cactid\cactid.exe
Under the settings for the Poller, it is enabled, and the type is set to "cmd.php".
When I run the Cactid Application I get another error:
I've tried to download the latest version of cygwin1.dll, but no luck.*** system shared memory version mismatch detected
- 0x75BE0074/0x75BE0081.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution. Rebooting is also suggested if you
are unable to find another cygwin DLL.
If you need any more information, please let me know. Or you you think you can help me by using a remote session (VNC) to my server, and trying to fix it I'll allow that.
Thanks.