Server reboot and now all hosts are missing!!

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 »

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

Post by BSOD2600 »

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 »

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

Post by BSOD2600 »

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 »

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

Post by TheWitness »

The new version of Cactid requires the "full" path to the "perl" or any other binary. Please read the attached link for further details.

TheWitness

http://www.cacti.net/cactid_download.php
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?
jengstro
Cacti User
Posts: 156
Joined: Tue Nov 15, 2005 12:14 pm

Post by jengstro »

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

Post by TheWitness »

Uhm/ perl."exe" sorry.

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?
jengstro
Cacti User
Posts: 156
Joined: Tue Nov 15, 2005 12:14 pm

Post by jengstro »

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

Post by TheWitness »

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... :wink: :o

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?
jengstro
Cacti User
Posts: 156
Joined: Tue Nov 15, 2005 12:14 pm

Post by jengstro »

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

Post by TheWitness »

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
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?
jengstro
Cacti User
Posts: 156
Joined: Tue Nov 15, 2005 12:14 pm

Post by jengstro »

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

Post by TheWitness »

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
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?
jengstro
Cacti User
Posts: 156
Joined: Tue Nov 15, 2005 12:14 pm

Post by jengstro »

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]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest