Windows Memory
Moderators: Developers, Moderators
Windows Memory
Windows Memory Via Wmi
- Attachments
-
- Screen001.jpg (77.92 KiB) Viewed 77344 times
-
- cacti_graph_template_lit_w32_os.xml
- (30.45 KiB) Downloaded 10434 times
-
- cacti_data_template_lit_w32_os.xml
- (9.59 KiB) Downloaded 12524 times
Perl Script
Script
- Attachments
-
- ScreenHunter_004.jpg (103.99 KiB) Viewed 77344 times
-
- Lit_W32_OS.pl.txt
- (5.6 KiB) Downloaded 7389 times
-
- Posts: 33
- Joined: Mon Apr 19, 2004 7:47 am
Re: Windows Memory
I have you experienced any problems with this script running against a W2K3 server? I have no problems against a W2k box but I am getting a partial results error from a W2k3 server causing now data to be collected. Just wondering if you were seeing the same.Lit wrote:Windows Memory Via Wmi
Thanks,
Dave
-
- Posts: 33
- Joined: Mon Apr 19, 2004 7:47 am
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
return no value
Hi all,
the scripts works fine outside cacti. he returns value.
but in cacti, i graph nothing.
the configuration seems to be correct.
any idea ?
the scripts works fine outside cacti. he returns value.
but in cacti, i graph nothing.
the configuration seems to be correct.
any idea ?
Re: um linux?
You can't run WMI scripts on Linux. You have to use some "tools" as described in http://forums.cacti.net/viewtopic.php?t=5842.helpme wrote:how do i make this script work on linux?
HTH
Thomas Rupp
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
strange..
Could someone help me..
executing the scriopt manually works perfectly, i have all the data i need but cacti graph nothing...
help
please
executing the scriopt manually works perfectly, i have all the data i need but cacti graph nothing...
help
please
- Attachments
-
- memory.jpg (42.01 KiB) Viewed 76149 times
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
wmi problem
Have check on cacti log :
WARNING: Result from CMD not valid. Partial Result: Unable to talk to WM
07/13/2005 08:35:22 AM - CMDPHP: Poller[0] Host[9] CMD: c:/perl/bin/perl.exe c:/apache2/htdocs/cacti/scripts/w32_query_OperatingSystem.pl yxxxx get TotalVisibleMemorySize,FreePhysicalMemory,TotalVirtualMemorySize,FreeVirtualMemory, output: U
seems that there is a problem with WMI.. any idea ?
thanks
WARNING: Result from CMD not valid. Partial Result: Unable to talk to WM
07/13/2005 08:35:22 AM - CMDPHP: Poller[0] Host[9] CMD: c:/perl/bin/perl.exe c:/apache2/htdocs/cacti/scripts/w32_query_OperatingSystem.pl yxxxx get TotalVisibleMemorySize,FreePhysicalMemory,TotalVirtualMemorySize,FreeVirtualMemory, output: U
seems that there is a problem with WMI.. any idea ?
thanks
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
is it working.?
is the scripts working on 0.8.6.c.
don't find any anwser about this problem.
command line works perfectly but not throught cacti.
as i understand output:U mean that the script didin't return any value but WHY ?
must i install something on the pc running cacti for a WMI query ?
"Unable to talk to WM" ??!? what is that ?
any help will be welcome.
don't find any anwser about this problem.
command line works perfectly but not throught cacti.
as i understand output:U mean that the script didin't return any value but WHY ?
must i install something on the pc running cacti for a WMI query ?
"Unable to talk to WM" ??!? what is that ?
any help will be welcome.
The version in which Lit developed this script is different from the 0.8.6f or even ealier version. The directory has been changed from /resource/script-quriers/lit_w32_os.pl to /scripts/lit_w32_os.pl. So I imported the template and modified the Data input method and export it to this new one, you can have a try.
- Attachments
-
- cacti_data_template_lit_w32_os.zip
- (7.29 KiB) Downloaded 3758 times
I can get data back from the localhost but not remote hosts...
Here is what the log says:
Any ideas?
Here is what the log says:
Code: Select all
WARNING: Result from CMD not valid. Partial Result: Unable to talk to WM
[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]
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]
| 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 |
Who is online
Users browsing this forum: No registered users and 1 guest