Windows Memory
Moderators: Developers, Moderators
Most likely a permission issue. Read my faq http://bsod2600.home.comcast.net/instal ... s.html#FAQ
| 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 |
Hello everybody
I having a problem to run this script, 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.
the result of perl command in attachement
Please, anybody can help me ?
Mike
I having a problem to run this script, 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.
the result of perl command in attachement
Please, anybody can help me ?
Mike
- Attachments
-
- script cacti.JPG (83.91 KiB) Viewed 8379 times
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
You need to enable socket support in PHP to resolve the socket error in the log file. Also, does the account your poller runs under have access to WMI on the remote host ?
If you are using Apache on Windows, then the service accounts may need to modified to use an account that has access to WMI. As BSOD2600 suggests above your post, this is more likely a permissions issue.
If you are using Apache on Windows, then the service accounts may need to modified to use an account that has access to WMI. As BSOD2600 suggests above your post, this is more likely a permissions issue.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Running on Linux
I've gotten this to run on Linux.
I've attached the XML and the script you'll need to run this.
You will need the check_nt binary and NC_Net running on the windows machine. The latest one is available from http://sourceforge.net/projects/nc-net, the one from the shatterit site will probably not work.
I've attached the XML and the script you'll need to run this.
You will need the check_nt binary and NC_Net running on the windows machine. The latest one is available from http://sourceforge.net/projects/nc-net, the one from the shatterit site will probably not work.
- Attachments
-
- w32_memory_stats.pl
- (1.82 KiB) Downloaded 1189 times
-
- cacti_graph_template_lit_w32_os_on_linux.xml
- (30.27 KiB) Downloaded 1150 times
No data on Graphs
Hi,
Does anyone have any ideas why my graph does not show any data
- graph is created - rrd created - can get data from command line - time updates on graph for each poll
just no data and rrd file does not update timestamp after initial creation..
am getting
CMDPHP: Poller[0] Host[12] DS[146] WARNING: Result from CMD not valid. Partial Result
Does anyone have any ideas why my graph does not show any data
- graph is created - rrd created - can get data from command line - time updates on graph for each poll
just no data and rrd file does not update timestamp after initial creation..
am getting
CMDPHP: Poller[0] Host[12] DS[146] WARNING: Result from CMD not valid. Partial Result
Is there a possibility to use this script for getting other values from WMI?
For example my UPS can work with WMI. So I can monitor it from Windows Performance Monitor. I would like to graph this values in Cacti. Unfortunately I am not good in Perl and Cacti templates.
Can anyone help me with template for Cacti?
For example my UPS can work with WMI. So I can monitor it from Windows Performance Monitor. I would like to graph this values in Cacti. Unfortunately I am not good in Perl and Cacti templates.
Can anyone help me with template for Cacti?
Who is online
Users browsing this forum: No registered users and 2 guests