Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that relate to the Windows 2003/2000/XP operating systems.
Moderators: Developers , Moderators
jengstro
Cacti User
Posts: 156 Joined: Tue Nov 15, 2005 12:14 pm
Post
by jengstro » Fri Jan 20, 2006 4:27 pm
1) I was just trying to get some cpu data and this script was recommended. Please share if you have an easier way to accomplish the same thing.
2)
01/20/2006 01:23:17 PM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'perl D:/cacti\scripts\lit_w32_os.pl pdxcacti01 get MaxProcessMemorySize,TotalVirtualMemorySize,FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory,SizeStoredInPagingFiles,FreeSpaceInPagingFiles'
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
BSOD2600
Cacti Moderator
Posts: 12171 Joined: Sat May 08, 2004 12:44 pm
Location: USA
Post
by BSOD2600 » Fri Jan 20, 2006 4:40 pm
1) Tried adding the 'SNMP - Get Processor Information' in associated data templates for the device? Alternatively, you can use the generic SNMP template and snmpwalk OID .1.3.6.1.2.1.25.3.3.1.2 to find the last OID.
2) Cactid must have forward slashes for its path.
jengstro
Cacti User
Posts: 156 Joined: Tue Nov 15, 2005 12:14 pm
Post
by jengstro » Fri Jan 20, 2006 5:21 pm
1) Ok. I will try to get that working. Thanks.
2) Oh ok. What about the following errors?
01/20/2006 02:18:16 PM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'perl D:/cacti/scripts/w32_query_cpu.pl pdxcacti01 get LoadPercentage 4'
01/20/2006 02:18:16 PM - CACTID: Poller[0] Host[16] DS[1065] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/20/2006 02:18:16 PM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'perl D:/cacti/scripts/lit_w32_os.pl pdxcacti01 get MaxProcessMemorySize,TotalVirtualMemorySize,FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory,SizeStoredInPagingFiles,FreeSpaceInPagingFiles'
01/20/2006 02:18:16 PM - CACTID: Poller[0] Host[16] DS[1064] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/20/2006 02:18:16 PM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'perl D:/cacti/scripts/hddhealth.pl'
Thanks.
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
BSOD2600
Cacti Moderator
Posts: 12171 Joined: Sat May 08, 2004 12:44 pm
Location: USA
Post
by BSOD2600 » Fri Jan 20, 2006 5:25 pm
Maybe the script isn't returning anything? Does this script work when you use it with the cmd.php poller? What is the exact output when you run the command cactid is attempting?
jengstro
Cacti User
Posts: 156 Joined: Tue Nov 15, 2005 12:14 pm
Post
by jengstro » Fri Jan 20, 2006 6:32 pm
Yeah it works with the other poller. Here is the output if I run the script from the command line...
MaxProcessMemorySize:2097024 TotalVirtualMemorySize:8229304 FreeVirtualMemory:73
38512 TotalVisibleMemorySize:3669528 FreePhysicalMemory:3239132 SizeStoredInPagingFiles:4559776 FreeSpaceInPagingFiles:4099380
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
jengstro
Cacti User
Posts: 156 Joined: Tue Nov 15, 2005 12:14 pm
Post
by jengstro » Mon Jan 23, 2006 11:39 am
So I changed all my paths but still running into the same issues...
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] DS[1070] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl d:/cacti/scripts/w32_query_cpu.pl pdxcacti01 get LoadPercentage 4'
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] DS[1067] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl d:/cacti/scripts/lit_w32_os.pl pdxcacti01 get MaxProcessMemorySize,TotalVirtualMemorySize,FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory,SizeStoredInPagingFiles,FreeSpaceInPagingFiles'
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] DS[1071] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl d:/cacti/scripts/hddhealth.pl'
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] DS[1069] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl -q d:/cacti/scripts/mysql_stat.php pdxcacti01 root mysqlpw Questions'
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] DS[1068] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:38:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl -q d:/cacti/scripts/mysql_stat.php pdxcacti01 root mysqlpw Connections'
01/23/2006 08:36:01 AM - SYSTEM STATS: Time:175.6365 Method:cactid Processes:1 Threads:1 Hosts:108 HostsPerProcess:108 DataSources:938 RRDsProcessed:472
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] DS[1070] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl d:/cacti/scripts/w32_query_cpu.pl pdxcacti01 get LoadPercentage 4'
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] DS[1067] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl d:/cacti/scripts/lit_w32_os.pl pdxcacti01 get MaxProcessMemorySize,TotalVirtualMemorySize,FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory,SizeStoredInPagingFiles,FreeSpaceInPagingFiles'
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] DS[1071] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl d:/cacti/scripts/hddhealth.pl'
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] DS[1069] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl -q d:/cacti/scripts/mysql_stat.php pdxcacti01 root mysqlpw Questions'
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] DS[1068] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/23/2006 08:33:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl -q d:/cacti/scripts/mysql_stat.php pdxcacti01 root mysqlpw Connections'
01/23/2006 08:30:55 AM - SYSTEM STATS: Time:175.2631 Method:cactid Processes:1 Threads:1 Hosts:108 HostsPerProcess:108 DataSources:933 RRDsProcessed:467
Thanks.
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Mon Jan 23, 2006 9:15 pm
Uhm/ perl."exe" sorry.
TheWitness
jengstro
Cacti User
Posts: 156 Joined: Tue Nov 15, 2005 12:14 pm
Post
by jengstro » Tue Jan 24, 2006 11:10 am
Added .exe to d:/perl/perl yet I still get the error...
01/24/2006 08:08:21 AM - CACTID: Poller[0] Host[16] DS[1076] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/24/2006 08:08:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl.exe d:/cacti/scripts/w32_query_cpu.pl pdxcacti get LoadPercentage 4'
01/24/2006 08:08:21 AM - CACTID: Poller[0] Host[16] DS[1072] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/24/2006 08:08:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl.exe d:/cacti/scripts/nt_memuse.pl pdxcacti01'
01/24/2006 08:08:21 AM - CACTID: Poller[0] Host[16] DS[1075] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/24/2006 08:08:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl.exe -q d:/cacti/scripts/mysql_stat.php pdxcacti01 root mysqlpw Questions'
01/24/2006 08:08:21 AM - CACTID: Poller[0] Host[16] DS[1074] WARNING: Result from SCRIPT not valid. Partial Result: ...
01/24/2006 08:08:21 AM - CACTID: Poller[0] Host[16] ERROR: Empty result [pdxcacti01]: 'd:/perl/perl.exe -q d:/cacti/scripts/mysql_stat.php pdxcacti01 root mysqlpw Connections'
01/24/2006 08:05:54 AM - SYSTEM STATS: Time:174.2801 Method:cactid Processes:1 Threads:1 Hosts:108 HostsPerProcess:108 DataSources:934 RRDsProcessed:468
Please help.
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Thu Jan 26, 2006 9:31 pm
Your going to kick yourself when you read this...
'd:/perl/perl.exe -q d:/cacti/scripts/mysql_stat.php pdxcacti01 root mysqlpw
My question is this, what program executes PHP files. Think about it for a second...
TheWitness
jengstro
Cacti User
Posts: 156 Joined: Tue Nov 15, 2005 12:14 pm
Post
by jengstro » Fri Jan 27, 2006 12:54 pm
That was a typo that I had fixed since posting here.
I am getting the...
Cactid timed out while processing hosts internal.
...error. What the heck causes that?
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Fri Jan 27, 2006 8:05 pm
It means that Cactid is going very slow for some reason and has timed out while hosts were still in the queue to be processed.
TheWitness
jengstro
Cacti User
Posts: 156 Joined: Tue Nov 15, 2005 12:14 pm
Post
by jengstro » Mon Jan 30, 2006 11:00 am
Can you make a cactid config reconmendation for 108 hosts with an avg of 6 graphs per host? The current settings are...
Max Concurrent Poller Processes - 1
Max Threads per process - 5
Number of PHP Script Servers - 5
Script and Script Server Timeout Value - 25
The Max SNMP OID's Per SNMP Get Request - 30
SYSTEM STATS: Time:281.0721 Method:cactid Processes:1 Threads:5 Hosts:108 HostsPerProcess:108 DataSources:1154 RRDsProcessed:671
Most of the graph data is gathered via php/perl scripts if that matters.
Thanks.
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
TheWitness
Developer
Posts: 17007 Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:
Post
by TheWitness » Mon Jan 30, 2006 5:45 pm
Questions first:
1) Number & Types of Processors?
2) Amount of Memory?
3) Types of Hosts?
Also, please open a command prompt on the poller and type "set > setting.txt". Please PM me the file.
TheWitness
jengstro
Cacti User
Posts: 156 Joined: Tue Nov 15, 2005 12:14 pm
Post
by jengstro » Mon Jan 30, 2006 6:01 pm
1) Xeon 2.8 x2
2) 3.50GB RAM
3) All are Windows 2000/2003 hosts
poller output coming...
[size=75]Cacti - 0.8.6h + patches
PHP - 5.1.2
ZendOptimizer - 2.6.2
FastCGI - 0.6
MySQL - 4.1.15
Cactid - 0.8.6g
rrdtool - 1.2.x
IIS6[/size]
Users browsing this forum: No registered users and 0 guests