Hi all, Currently scripting bash scripts which using zensendevent tool to monitor backups that coming to the backup servers.
The scripts works fine, can send event when things not right and clear the events when things working alright again. The problem now lying in the event Count send by zensendevent command not incrementing. Therefore I got hundreds of Critical events which is referring to one Critical events. No problem with Clear events command which can remove all those Critical Event, but when Critical events coming over and over again, the event count not incrementing and really filled up the Events Tab within device. To send Critical events: Code: /usr/bin/zensendevent -d hidro.logistics.com -p hidro -k hidro -s Critical -c /Backup/HIDRO/ --server zenoss.logistics.com \ "Warning\!: HIDRO rev #$(echo $hidro) NOT MATCH with COUGAR rev #$(echo $cougar) on `/bin/date` \!" To send Clear events: Code: /usr/bin/zensendevent -d hidro.logistics.com -p hidro -k hidro -s Clear -c /Backup/HIDRO/ --server zenoss.logistics.com \ "Info\!: HIDRO rev #$(echo $hidro) IS MATCH with COUGAR rev #$(echo $cougar) on `/bin/date` \!" Is there anything wrong with the command shown above? How to make the event count incrementing? Trying to find on Google and also this forum does not reveals any hints. Thanks! -------------------- m2f -------------------- Read this topic online here: http://forums.zenoss.com/viewtopic.php?p=30235#30235 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
