The snmp graphics are not generate
Moderators: Developers, Moderators
The snmp graphics are not generate
Hello everybody
I having a problem to run the Cacti system, the log says:
04/23/2007 03:35:06 PM - SYSTEM STATS: Time:5.4537 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:1 RRDsProcessed:1
04/23/2007 03:35:06 PM - CMDPHP: Poller[0] Time: 4.5429 s, Theads: N/A, Hosts: 1
04/23/2007 03:35:06 PM - CMDPHP: Poller[0] Host[12] DS[146] CMD: c:/perl/bin/perl.exe c:/easyphp1-8/www/cacti-0.8.6j/resource/script_queries/Lit_W32_OS.pl srv-nantes2 get MaxProcessMemorySize,TotalVirtualMemorySize,FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory,SizeStoredInPagingFiles,FreeSpaceInPagingFiles, output: U
04/23/2007 03:35:06 PM - CMDPHP: Poller[0] Host[12] DS[146] WARNING: Result from CMD not valid. Partial Result:
04/23/2007 03:35:02 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
and the snmp graphics are not generate.
Please, anybody can help me ?
Mike
I having a problem to run the Cacti system, the log says:
04/23/2007 03:35:06 PM - SYSTEM STATS: Time:5.4537 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:1 RRDsProcessed:1
04/23/2007 03:35:06 PM - CMDPHP: Poller[0] Time: 4.5429 s, Theads: N/A, Hosts: 1
04/23/2007 03:35:06 PM - CMDPHP: Poller[0] Host[12] DS[146] CMD: c:/perl/bin/perl.exe c:/easyphp1-8/www/cacti-0.8.6j/resource/script_queries/Lit_W32_OS.pl srv-nantes2 get MaxProcessMemorySize,TotalVirtualMemorySize,FreeVirtualMemory,TotalVisibleMemorySize,FreePhysicalMemory,SizeStoredInPagingFiles,FreeSpaceInPagingFiles, output: U
04/23/2007 03:35:06 PM - CMDPHP: Poller[0] Host[12] DS[146] WARNING: Result from CMD not valid. Partial Result:
04/23/2007 03:35:02 PM - CMDPHP: Poller[0] WARNING: sockets support not enabled in PHP, falling back to SNMP ping
and the snmp graphics are not generate.
Please, anybody can help me ?
Mike
What happens when you run the script from the command line?? Do you get any results?? Looking at the output from your logs there its showing a U as the output.
Jay
Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Well there you go, the script doesn't properly work on your system. Correct that and once its spitting out numbers, you should be set.
| 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 |
The script is broken. Fix it.
| 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 |
At home, there is many script which bug, in attachement this an exampleBSOD2600 wrote:The script is broken. Fix it.
Please, can you help me ?
- Attachments
-
- lit_w32_os.pl
- (5.6 KiB) Downloaded 120 times
Hi
I'm no perl expert but you can try to debug the script using:-
perl -c Lit_W32_OS.pl
and or
perl -d Lit_W32_OS.pl
where Lit_W32_OS.pl is the name of your perl script
I see that you are using the use strict; command after the path in your script. This is good as it will force each variable to be declared before use.
Jay
I'm no perl expert but you can try to debug the script using:-
perl -c Lit_W32_OS.pl
and or
perl -d Lit_W32_OS.pl
where Lit_W32_OS.pl is the name of your perl script
I see that you are using the use strict; command after the path in your script. This is good as it will force each variable to be declared before use.
Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Who is online
Users browsing this forum: No registered users and 1 guest