On Thu, 12 Jan 2012, Kaushal Shriyan wrote:
I have set the below in /etc/sec.conf. is there a way to have SMS based
alerting system given below the configuration. For example if there is a
Hard Disk or RAM issue it would alert the admin person.
any rule that you match can take an action, that action can include a
script that can do anything that you tell it to do. What the script would
look like will be completely dependant on how your SMS alerting system
works.
David Lang
###
# /etc/sec.conf
#
##
# Suppress Workstations
#
type=Suppress
ptype=regexp
pattern=\S+\s+\S+\s+\S+\s+(tpr|dpr|bpr|pre)
##
# Combine unknown errors by daemon each hour and report
#
type=Single
ptype=regexp
pattern=\S+\s+\S+\s+\S+\s+(\S+)\s+(\w+).*:\s+(.*)
desc=$1 $2
context=!$1_$2
action=create $1_$2 3600 (report $1_$2 /usr/bin/mail -s \
"LogAlert: $2 errors summary" kaus...@webaroo.com); \
pipe '$0' /usr/bin/mail -s "LogAlert: $2 error, suppressing similar for 1
hour" kaus...@webaroo.com
type=Single
ptype=regexp
pattern=\S+\s+\S+\s+\S+\s+(\S+)\s+(\w+).*:\s+(.*)
desc=$1 $2
context=$1_$2
action=add $1_$2 $0
Regards
Kaushal
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users