Win32 - Monitor running processes

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

Moderators: Developers, Moderators

Post Reply
elnino
Cacti User
Posts: 205
Joined: Tue Mar 08, 2005 9:51 pm

Post by elnino »

CactiPadawan,
On the first screenshot (greybox2.JPG) I believe you should have public added to that first box with READ ONLY as the permissions. That is how it is setup on one of our Windows 2000 Servers here at work.
CactiPadawan
Posts: 23
Joined: Mon Jun 06, 2005 11:15 am

Post by CactiPadawan »

The real problem is that i can't add anything :x
If you notice the "add" buttons are in grey and can't be used ....

I dont know why ....
[My config :
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
xphu
Posts: 12
Joined: Thu Jun 30, 2005 7:31 am
Location: Helsinki, Finland

WinXP

Post by xphu »

CactiPadawan wrote:The real problem is that i can't add anything :x
If you notice the "add" buttons are in grey and can't be used ....

I dont know why ....
Please try to set up password to your WinXP user Account?

\xphu
CactiPadawan
Posts: 23
Joined: Mon Jun 06, 2005 11:15 am

Post by CactiPadawan »

I have admin rights with my account and i have a password too so it's really strange .. .. ..
[My config :
Windows XP Service Pack 2
ActivePerl-5.8.6.811-MSWin32-x86-122208
cacti-0.8.6d
mysql-4.1.12-win32
php-5.0.4-Win32
rrdtool-cygwin-1.2.9
net-snmp-5.2.1
apache_2.0.54-win32-x86-no_ssl]
idle
Cacti User
Posts: 77
Joined: Wed May 26, 2004 10:49 am
Location: Barcelona
Contact:

Error: XML: Cacti version does not exist.

Post by idle »

I get following error while trying to import templates:
'Error: XML: Cacti version does not exist'.
I use cacti-0.8.6e on freebsd5.4.
idle
Cacti User
Posts: 77
Joined: Wed May 26, 2004 10:49 am
Location: Barcelona
Contact:

Post by idle »

Fix it, after upgrading to 0.8.6f.
But now cacti would not filter graphs by host, its say: Fatal error: Call to undefined function: sanitize_search_string...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm, must be something with how you have cacti set up. The script was exported from Win2K3 and Cacti 0.8.6d. Need a dev...
idle
Cacti User
Posts: 77
Joined: Wed May 26, 2004 10:49 am
Location: Barcelona
Contact:

Post by idle »

Yeah, everything is allright now, after I reinstall it.
sumeet_ruiwale
Posts: 4
Joined: Mon Aug 01, 2005 1:41 pm

how do i use this script to work for me

Post by sumeet_ruiwale »

Guys i need your help. This is something i would like to use. i have a script which i use to ping a number hosts , with hostnames extracted frm a file. After, it pings if the host is alive it should fetch the cpu and memory utlization and graph it. can u tell mw to do that .. incorporated with my script.

I am on winxp.. do i have to install cacti,rrd,mysql for this to work??
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Start your own thread in the Win32 forum. Your question does not belong in here.
sumeet_ruiwale
Posts: 4
Joined: Mon Aug 01, 2005 1:41 pm

Post by sumeet_ruiwale »

i am sorry, if i poseted in the worng place, but the script provided by u is something i can use to get the grpahs for my cpu and memory configuration. Thats why i thought if u could help me with incorporating ur script with mine .
ccnt2003
Posts: 7
Joined: Tue Aug 02, 2005 2:30 am

why not see my CPU usage

Post by ccnt2003 »

I have some problem.why not see my CPU usage.HOW can I do????
and what do "29.53m" represent ?????
Attachments
Snap22.gif
Snap22.gif (14.37 KiB) Viewed 6484 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

m = milli. Why some processes register as this, I'm not exactly sure. I've noticed that explorer.exe always has a m for the memory vs something like dcplusplus.exe which has regular numbers.
ccnt2003
Posts: 7
Joined: Tue Aug 02, 2005 2:30 am

why appear the statement ???????

Post by ccnt2003 »

Thank for you repply.
why appear the statement ???? How can i configure. please explain reason.
thanks
Attachments
Snap1.gif
Snap1.gif (13.37 KiB) Viewed 6480 times
ccnt2003
Posts: 7
Joined: Tue Aug 02, 2005 2:30 am

why appear the statement????

Post by ccnt2003 »

m = milli. Why some processes register as this, I'm not exactly sure. I've noticed that explorer.exe always has a m for the memory vs something like dcplusplus.exe which has regular numbers.


I can not understand "29.53m", but my cpu actual value is 'zero', why appear the statement.
What is wrong with the Win32_RunningProcs.
My cacti log :
  • 08/02/2005 05:15:03 PM - SYSTEM STATS: Time: 2.1848 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 2, Hosts/Process: 2, Data Sources 6, RRDs Processed 3
    08/02/2005 05:15:03 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\cacti\rra\win2000_proc_mem_33.rrd --template proc_mem:proc_cpu 1122974101:4204:54
    08/02/2005 05:15:03 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\cacti\rra\win2000_proc_mem_31.rrd --template proc_cpu:proc_mem 1122974101:20:4140
    08/02/2005 05:15:03 PM - POLLER: Poller[0] CACTI2RRD: C:/rrdtool/rrdtool.exe update C:\cacti\rra\win2000_proc_mem_32.rrd --template proc_cpu:proc_mem 1122974101:56307:12868
    08/02/2005 05:15:03 PM - CMDPHP: Poller[0] Time: 1.1909 s, Theads: N/A, Hosts: 1
    08/02/2005 05:15:02 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] Host[14] DS[33] SNMP: v2: 192.168.0.1, dsname: proc_cpu, oid: .1.3.6.1.2.1.25.5.1.1.1.796, output: 54
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] Host[14] DS[33] SNMP: v2: 192.168.0.1, dsname: proc_mem, oid: .1.3.6.1.2.1.25.5.1.1.2.796, output: 4204
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] Host[14] DS[31] SNMP: v2: 192.168.0.1, dsname: proc_mem, oid: .1.3.6.1.2.1.25.5.1.1.2.416, output: 4140
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] Host[14] DS[31] SNMP: v2: 192.168.0.1, dsname: proc_cpu, oid: .1.3.6.1.2.1.25.5.1.1.1.416, output: 20
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] Host[14] DS[32] SNMP: v2: 192.168.0.1, dsname: proc_mem, oid: .1.3.6.1.2.1.25.5.1.1.2.472, output: 12868
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] Host[14] DS[32] SNMP: v2: 192.168.0.1, dsname: proc_cpu, oid: .1.3.6.1.2.1.25.5.1.1.1.472, output: 56307
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] Host[14] RECACHE: Processing 4 items in the auto reindex cache for '192.168.0.1'.
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] Host[14] SNMP: Host responded to SNMP
    08/02/2005 05:15:02 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
    08/02/2005 05:15:02 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
    08/02/2005 05:15:02 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\cacti\script_server.php
    08/02/2005 05:15:02 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/cacti
    08/02/2005 05:15:02 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/cacti
    08/02/2005 05:15:02 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
    08/02/2005 05:15:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/php/php.exe, ARGS: -q c:\cacti/cmd.php 0 14]
[/code]
Attachments
Snap22.gif
Snap22.gif (14.37 KiB) Viewed 6478 times
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests