Hi mwcotton, thanks for your help! I really appreciate it! Unfortunately, I've tried that and it did not work. I think it's because the | operator in the regex still performs the same match for either "rmiregistry" or "/usr/local/jdk1.5.0/bin/rmiregistry" so that one or the other appears whenever the device is modeled depending on which one was executed but I am unable to lock the processes as a single process so one process always appears as if it has failed. I would like to be able to lock the process in case the process is down when the machine is modeled which will cause it to no longer appear as a monitored process, which kind of defeats the purpose of monitoring it. Please correct me if I've misunderstood this setup.
I'm trying to set up something similar to ignoring parameters, but ignoring the path instead. E.g. Zenoss will monitor "httpd -f /usr/local/httpd/conf/httpd.conf" and "httpd -f /etc/conf/other.httpd.conf" and list it as just one process "httpd" if you set "ignore parameters" to true. I want to set it up to monitor "rmiregistry" and "/usr/local/jdk1.5.0/bin/rmiregistry" as just "rmiregistry" regardless of whether the path (/usr/local/jdk1.5.0/bin) is present. I've done a some research into the topic and I think a possible solution would be to correlate the events according to this entry in the admin guide: http://www.zenoss.com/community/docs/zenoss-guide/2.3.0/ch11s13.html The correlation I have in mind is that if EITHER "rmiregistry" or "/usr/local/jdk1.5.0/bin/rmiregistry" are present, clear any events relating to "rmiregistry". Otherwise, it is assumed that no rmiregistry process is running and the event remains. or to use the Transform field in the Event Mapping to look for both "rmiregistry" failure and "/usr/local/jdk1.5.0/bin/rmiregistry" failure and create a custom event that is dependent on the failure of both. However, I can't seem to get the event correlation to work after following the instructions in the Admin Guide and I have no python scripting experience and am unsure of how I would accomplish this. Could someone please explain in more detail how to correlate events (specifically, how to set an eventclasskey) or does anyone have any suggestions on how I should go about combining listed processes that are essentially identical but just listed differently and have it be lock-able? Thanks again! -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=28501#28501 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
