How do you monitor windows processes

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
mikeyr68
Posts: 2
Joined: Tue Apr 24, 2007 7:27 pm

How do you monitor windows processes

Post by mikeyr68 »

I was able to install the scripts/templates that allows you to monitor the CPU and Memory usage for each process but what I really need is just to be able to monitor if the process stops.

We already have servies setup and working too that basically do the same thing, just up or down. That's what I need but for a process.

I've searched and searched for monitoring processes but can't seem to get the terms right I guess.

Cacti 8.7d
manage - 6.1
plugin arch - 2.4

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

Post by BSOD2600 »

Two options:

1) Use the OID HOST-RESOURCES-MIB::hrSWRunStatus. My 'Monitor processes' script can easily be extended to do this.
hrSWRunStatus OBJECT-TYPE
SYNTAX INTEGER {
running(1),
runnable(2), -- waiting for resource
-- (i.e., CPU, memory, IO)
notRunnable(3), -- loaded but waiting for event
invalid(4) -- not loaded
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The status of this running piece of software.
Setting this value to invalid(4) shall cause this
software to stop running and to be unloaded. Sets to
other values are not valid."
::= { hrSWRunEntry 7 }
2) write a custom script which simply attempts to query a process name and returns success or not.

3) I believe someone on the forum already has a process status script... try searching.
gsaray101
Cacti User
Posts: 233
Joined: Thu May 17, 2007 9:18 am

Re: How do you monitor windows processes

Post by gsaray101 »

has anyone found the script to monitor the windows processes? This would really help me a lot.
gsaray101
Cacti User
Posts: 233
Joined: Thu May 17, 2007 9:18 am

Re: How do you monitor windows processes

Post by gsaray101 »

I was looking for a process up/down check. Does this exist?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: How do you monitor windows processes

Post by BSOD2600 »

Used thold plugin in conjunction with that template? Alert if the process isn't found/running?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest