cactid and wmi

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

cactid and wmi

Post by yariv_l »

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 ?
yariv
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) what versions of everything are you using?
2) use forward slashes for paths intead of backwards
3) use the latest version of cactid.
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

hi BSOD2600 i use the folowing component
windows 2003
cacti - 8.6g
PHP 4.4.1
mysql - 4.0.26
cacdid - 8.6f-1

10x
yariv
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

When using cmd.php, data gets collected and subsequently graphs are updated? When you switch to cactid, then the scripts don't return anything?
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

When using cmd.php, data gets collected and update only for the old client not for the new , When using cactid data gets collected and update for all the client , but Graph that using wmi not update.
yariv
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

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
yariv
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

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'
yariv
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please utilize forward slashes in your data input methods and then clear your poller cache.

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?
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

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 ?
yariv
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please run once at logging level "MEDIUM" and post the results around those warnings.

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?
yariv_l
Posts: 22
Joined: Thu Oct 27, 2005 7:11 pm

Post by yariv_l »

10x but i fix it it was some ports in the fw
yariv
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests