On 4/16/07, sreynolds <[EMAIL PROTECTED]> wrote:
I'm trying to figure out how to alert if a process, say httpd, falls under 4
running processes on a server.
I have added a process called Apache, with regex of '^httpd' and ran zenprocess
run -v 10 -d $mydevice and it shows it is detecting all the running httpd
processes on the server.
Sol,
Fortunately for you zenprocess already collects the count of matching
running processes. Here are the steps you need to go through to put a
threshold on it.
1. Go to the process that you're interested in, then to its PerfConf.
2. Make a local copy of the template.
3. Add a data source called "count" of type SNMP and leave the OID blank.
4. Add a data point inside "count" called "count" of type GAUGE and
RRD Min of 0.
5. Now add a threshold called "Minimum" using the count_count data
point with the minimum set to whatever you want.
You could add a graph for this count_count data point if you wanted too.
--
Chet Luther
[EMAIL PROTECTED]
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users