Windows Memory Graph (2000/2003)

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Cactid needs all forward slashes in the paths. Change them and then clear your poller cache.
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

memory & cactid

Post by CharlieB. »

Same result. My path settings are attached.
Attachments
cacti paths.JPG
cacti paths.JPG (121.67 KiB) Viewed 4704 times
Phobos182
Cacti User
Posts: 65
Joined: Tue Sep 21, 2004 2:22 pm
Location: Madison, WI

Post by Phobos182 »

Go to the Console
-> Data Input Methods
-> W32 - Get Memory

Then edit the command path in the screenshot I attached. Put forward slashes instead of backslashes.
Attachments
untitled.JPG
untitled.JPG (183.68 KiB) Viewed 4701 times
[size=84][color=red] Electronic Frontier Foundation[/color]
[url]http://eff.org[/url][/size]
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

Win32 memory with cactid polling

Post by CharlieB. »

I made the change and now i can see that the path looks right now but i am still getting the following error in the log. This is only happening when the poller is set to cactid not cmd.php

12/06/2005 02:16:04 PM - CACTID: Poller[0] Host[1] DS[232] WARNING: Result from SCRIPT not valid. Partial Result: ...
12/06/2005 02:16:04 PM - CACTID: Poller[0] Host[1] ERROR: Empty result [monitor.cpsb.org]: 'perl.exe C:/Cacti/scripts/w32_query_os.pl monitor.cpsb.org get FreePhysicalMemory,FreeSpaceInPagingFiles,FreeVirtualMemory,MaxProcessMemorySize,SizeStoredInPagingFiles,TotalVirtualMemorySize,TotalVisibleMemorySize'
Phobos182
Cacti User
Posts: 65
Joined: Tue Sep 21, 2004 2:22 pm
Location: Madison, WI

Post by Phobos182 »

Personally I've run into problems using Cactid. For some reason it's giving a blank result. If you run it from the command line, i'm pretty sure it will complete since you have been using this before.

Any advice BSOD?
[size=84][color=red] Electronic Frontier Foundation[/color]
[url]http://eff.org[/url][/size]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

CharlieB: If that WMI script works when you run it manually and with cmd.php, then it simply is a cactid.exe issue which you'll have to resolve with TheWitness. You running the latest version (0.8.6g beta) ?
CharlieB.
Posts: 30
Joined: Mon Nov 14, 2005 1:06 pm

memory not polling

Post by CharlieB. »

Yes, i am running ver 0.8.6g and yes when i execute it from the command line is returns properly.

Oh, well i guees i'll just run cmd.php for now. :-(
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests