Jarmila wrote: > > 1) Try ping to machine, if doesn't reply, send e-mail. > 2) Check if process is running, if not, send e-mail. > > Many thanks for any help.
Zenoss alerts are event based. By default ping monitoring should be enabled, and should a device fail to return a ping it will trigger a /Status/Ping critical error. So to notify someone that a machine is unpingable, all you need to do is go to the User's page (/Zenusers /Someuser, reachable from the Management/Settings option on the left bar), make sure they have a vliad email address then go to the User's "Alerting Rules" tab, and set up an alerting rule that send out (at least) critical errors. However, because you also want process monitoring, you probably want to send error level or higher (which includes critical). Fortunately, the default options are set up to mail out errors and critical errors, so all you need to do is change the Enabled tab from false to true. For monitoring processes, you'll have to go into the processes section and choose which processes should be monitored. If I remember correctly, the processes section starts off empty. You'll need to add a process definition for each process you want to monitor, which includes a regular expression that identifies the process by name, by default it's the same as the name you configured. During the next reconfiguration (every 6 hours) Zenoss will pick up the list of processes that are running from your server, use the regular expressions you've set up to create a list of monitored processes and generate an event if any of them disappear*. * Unless you lock the processes on your servers they can disappear during the modelling process without triggering an event. To lock the processes you have to go to each device and use the lock feature on the processes block. -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=23187#23187 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
