cactid and wmi
Moderators: Developers, Moderators
cactid and wmi
hey all,
i use cmd.php and whan i add new client the graphis created but no data for the new server so i change it to use cactid and it work i have data .
but the perl script that do wmi query not working .
plz help ?
i use cmd.php and whan i add new client the graphis created but no data for the new server so i change it to use cactid and it work i have data .
but the perl script that do wmi query not working .
plz help ?
yariv
1) what versions of everything are you using?
2) use forward slashes for paths intead of backwards
3) use the latest version of cactid.
2) use forward slashes for paths intead of backwards
3) use the latest version of cactid.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
When using cmd.php, data gets collected and subsequently graphs are updated? When you switch to cactid, then the scripts don't return anything?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
whan i use C:\cactid>cactid.exe 172.31.100.160 172.31.100.161
i Get
CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6f starting
CACTID: MYSQL: ERROR encountered while attempting to retrieve records from query
CACTID: MYSQL: ERROR encountered while attempting to retrieve records from query
CACTID: MYSQL: ERROR encountered while attempting to retrieve records from query
CACTID: MYSQL: ERROR could not obtain results from database, exiting
i Get
CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6f starting
CACTID: MYSQL: ERROR encountered while attempting to retrieve records from query
CACTID: MYSQL: ERROR encountered while attempting to retrieve records from query
CACTID: MYSQL: ERROR encountered while attempting to retrieve records from query
CACTID: MYSQL: ERROR could not obtain results from database, exiting
yariv
1) Turn the logging level in cacti to debug for one cycle for each cmd.php and cactid.exe. Post each log.
2) You might want to run a check on your mysql database. Also, run cactid.exe without any options.
2) You might want to run a check on your mysql database. Also, run cactid.exe without any options.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
hey i get in the log file
11/17/2005 01:02:35 AM - SYSTEM STATS: Time:35.4630 Method:cactid Processes:3 Threads:3 Hosts:50 HostsPerProcess:17 DataSources:791 RRDsProcessed:511
11/17/2005 01:02:34 AM - CACTID: Poller[0] Host[96] DS[454] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:34 AM - CACTID: Poller[0] Host[96] ERROR: Empty result [172.31.160.12]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.12 get ActiveSessions,TotalSessions'
11/17/2005 01:02:33 AM - CACTID: Poller[0] Host[95] DS[444] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:33 AM - CACTID: Poller[0] Host[95] ERROR: Empty result [172.31.160.11]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.11 get ActiveSessions,TotalSessions'
11/17/2005 01:02:33 AM - CACTID: Poller[0] Host[94] DS[434] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:33 AM - CACTID: Poller[0] Host[94] ERROR: Empty result [172.31.160.10]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.10 get ActiveSessions,TotalSessions'
11/17/2005 01:02:29 AM - CACTID: Poller[0] Host[93] DS[424] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:29 AM - CACTID: Poller[0] Host[93] ERROR: Empty result [172.31.160.9]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.9 get ActiveSessions,TotalSessions'
11/17/2005 01:02:27 AM - CACTID: Poller[0] Host[92] DS[414] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:27 AM - CACTID: Poller[0] Host[92] ERROR: Empty result [172.31.160.8]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.8 get ActiveSessions,TotalSessions'
11/17/2005 01:02:27 AM - CACTID: Poller[0] Host[91] DS[404] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:27 AM - CACTID: Poller[0] Host[91] ERROR: Empty result [172.31.160.6]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.6 get ActiveSessions,TotalSessions'
11/17/2005 01:02:24 AM - CACTID: Poller[0] Host[70] DS[211] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:24 AM - CACTID: Poller[0] Host[70] ERROR: Empty result [172.31.100.161]: 'perl E:/Inetpub/wwwroot/cacti/scripts/w32_dns_query_stats.pl 172.31.100.161'
11/17/2005 01:02:35 AM - SYSTEM STATS: Time:35.4630 Method:cactid Processes:3 Threads:3 Hosts:50 HostsPerProcess:17 DataSources:791 RRDsProcessed:511
11/17/2005 01:02:34 AM - CACTID: Poller[0] Host[96] DS[454] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:34 AM - CACTID: Poller[0] Host[96] ERROR: Empty result [172.31.160.12]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.12 get ActiveSessions,TotalSessions'
11/17/2005 01:02:33 AM - CACTID: Poller[0] Host[95] DS[444] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:33 AM - CACTID: Poller[0] Host[95] ERROR: Empty result [172.31.160.11]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.11 get ActiveSessions,TotalSessions'
11/17/2005 01:02:33 AM - CACTID: Poller[0] Host[94] DS[434] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:33 AM - CACTID: Poller[0] Host[94] ERROR: Empty result [172.31.160.10]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.10 get ActiveSessions,TotalSessions'
11/17/2005 01:02:29 AM - CACTID: Poller[0] Host[93] DS[424] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:29 AM - CACTID: Poller[0] Host[93] ERROR: Empty result [172.31.160.9]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.9 get ActiveSessions,TotalSessions'
11/17/2005 01:02:27 AM - CACTID: Poller[0] Host[92] DS[414] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:27 AM - CACTID: Poller[0] Host[92] ERROR: Empty result [172.31.160.8]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.8 get ActiveSessions,TotalSessions'
11/17/2005 01:02:27 AM - CACTID: Poller[0] Host[91] DS[404] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:27 AM - CACTID: Poller[0] Host[91] ERROR: Empty result [172.31.160.6]: 'perl E:/Inetpub/wwwroot/cacti\\scripts\\w32_query_TerminalService.pl 172.31.160.6 get ActiveSessions,TotalSessions'
11/17/2005 01:02:24 AM - CACTID: Poller[0] Host[70] DS[211] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 01:02:24 AM - CACTID: Poller[0] Host[70] ERROR: Empty result [172.31.100.161]: 'perl E:/Inetpub/wwwroot/cacti/scripts/w32_dns_query_stats.pl 172.31.100.161'
yariv
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please utilize forward slashes in your data input methods and then clear your poller cache.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
hey i fix some of the problem i open sume port in the firewall ' and install HP openssh close the service that he create and deleted the cygwin1.dll that in the openssh directory , but now most of the client the graph data has been create, now only wmi script for new cilent cant be ganerated .
11/17/2005 08:28:59 AM - CACTID: Poller[0] Host[81] ERROR: The POPEN timed out
11/17/2005 08:28:43 AM - CACTID: Poller[0] Host[80] DS[328] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:40 AM - CACTID: Poller[0] Host[90] DS[403] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:34 AM - CACTID: Poller[0] Host[81] DS[495] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:30 AM - CACTID: Poller[0] Host[101] DS[509] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:22 AM - CACTID: Poller[0] Host[90] ERROR: The POPEN timed out
11/17/2005 08:28:21 AM - CACTID: Poller[0] Host[80] ERROR: The POPEN timed out
11/17/2005 08:28:17 AM - CACTID: Poller[0] Host[81] ERROR: The POPEN timed out
11/17/2005 08:28:13 AM - CACTID: Poller[0] Host[101] ERROR: The POPEN timed out
11/17/2005 08:28:04 AM - CACTID: Poller[0] Host[108] DS[586] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:03 AM - CACTID: Poller[0] Host[108] DS[585] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:03 AM - CACTID: Poller[0] Host[108] DS[576] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:56 AM - CACTID: Poller[0] Host[80] DS[316] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:52 AM - CACTID: Poller[0] Host[81] DS[494] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:51 AM - CACTID: Poller[0] Host[99] DS[484] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:50 AM - CACTID: Poller[0] Host[98] DS[474] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:47 AM - CACTID: Poller[0] Host[73] DS[241] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:46 AM - CACTID: Poller[0] Host[97] DS[464] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:35 AM - CACTID: Poller[0] Host[81] ERROR: The POPEN timed out
11/17/2005 08:27:35 AM - CACTID: Poller[0] Host[80] ERROR: The POPEN timed out
11/17/2005 08:27:33 AM - CACTID: Poller[0] Host[99] ERROR: The POPEN timed out
11/17/2005 08:27:33 AM - CACTID: Poller[0] Host[98] ERROR: The POPEN timed out
11/17/2005 08:27:30 AM - CACTID: Poller[0] Host[73] ERROR: The POPEN timed out
11/17/2005 08:27:29 AM - CACTID: Poller[0] Host[97] ERROR: The POPEN timed out
11/17/2005 08:27:06 AM - CACTID: Poller[0] Host[78] DS[302] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:05 AM - CACTID: Poller[0] Host[78] DS[301] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:05 AM - CACTID: Poller[0] Host[78] DS[300] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:25:58 AM - SYSTEM STATS: Time:238.0419 Method:cactid Processes:3 Threads:3 Hosts:51 HostsPerProcess:17 DataSources:791 RRDsProcessed:511
someone has an ide ?
11/17/2005 08:28:59 AM - CACTID: Poller[0] Host[81] ERROR: The POPEN timed out
11/17/2005 08:28:43 AM - CACTID: Poller[0] Host[80] DS[328] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:40 AM - CACTID: Poller[0] Host[90] DS[403] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:34 AM - CACTID: Poller[0] Host[81] DS[495] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:30 AM - CACTID: Poller[0] Host[101] DS[509] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:22 AM - CACTID: Poller[0] Host[90] ERROR: The POPEN timed out
11/17/2005 08:28:21 AM - CACTID: Poller[0] Host[80] ERROR: The POPEN timed out
11/17/2005 08:28:17 AM - CACTID: Poller[0] Host[81] ERROR: The POPEN timed out
11/17/2005 08:28:13 AM - CACTID: Poller[0] Host[101] ERROR: The POPEN timed out
11/17/2005 08:28:04 AM - CACTID: Poller[0] Host[108] DS[586] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:03 AM - CACTID: Poller[0] Host[108] DS[585] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:28:03 AM - CACTID: Poller[0] Host[108] DS[576] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:56 AM - CACTID: Poller[0] Host[80] DS[316] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:52 AM - CACTID: Poller[0] Host[81] DS[494] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:51 AM - CACTID: Poller[0] Host[99] DS[484] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:50 AM - CACTID: Poller[0] Host[98] DS[474] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:47 AM - CACTID: Poller[0] Host[73] DS[241] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:46 AM - CACTID: Poller[0] Host[97] DS[464] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:35 AM - CACTID: Poller[0] Host[81] ERROR: The POPEN timed out
11/17/2005 08:27:35 AM - CACTID: Poller[0] Host[80] ERROR: The POPEN timed out
11/17/2005 08:27:33 AM - CACTID: Poller[0] Host[99] ERROR: The POPEN timed out
11/17/2005 08:27:33 AM - CACTID: Poller[0] Host[98] ERROR: The POPEN timed out
11/17/2005 08:27:30 AM - CACTID: Poller[0] Host[73] ERROR: The POPEN timed out
11/17/2005 08:27:29 AM - CACTID: Poller[0] Host[97] ERROR: The POPEN timed out
11/17/2005 08:27:06 AM - CACTID: Poller[0] Host[78] DS[302] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:05 AM - CACTID: Poller[0] Host[78] DS[301] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:27:05 AM - CACTID: Poller[0] Host[78] DS[300] WARNING: Result from SCRIPT not valid. Partial Result: ...
11/17/2005 08:25:58 AM - SYSTEM STATS: Time:238.0419 Method:cactid Processes:3 Threads:3 Hosts:51 HostsPerProcess:17 DataSources:791 RRDsProcessed:511
someone has an ide ?
yariv
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please run once at logging level "MEDIUM" and post the results around those warnings.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 3 guests