hi: i found a good way for doing this. use crontab to execute zensendevent for sending alive events to zenoss. than config event manager to execute command when receiving alive events. however, zenoss 2.1 has bugs about event command, need to apply fix like below:
http://community.zenoss.com/forums/viewtopic.php?t=3754 my brief procedure: 1. write a script for sending message. i use gnokii, it can call users or send sms with most cellphone, very powerful.i ring every users for about 2 seconds than hangup . so it cost no money. 2. create ZenossAlive event class 3. use event manager to create a "alive_callout" command, where Event Class is /ZenossAlive 4. edit the "alive_callout" command like "my-script && /opt/zenoss/bin/zensendevent -d localhost -s Clear -c /ZenossAlive Event Clear" so the alive event will clear after running my script. 5. use crontab like "0 22 * * * /opt/zenoss/bin/zensendevent -d localhost -s Info -c /ZenossAlive Zenoss Alive" now zenoss will ring me for 2 seconds every night to let me know it is fine and all systems are ok. -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=12768#12768 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
