[Simple-evcorr-users] rsyslog sending directly log to sec

2016-04-12 Thread Martin Etcheverry
Hi , i am a noob with sec, i already have a rsyslog sending all logs to elasticsearch, but i want that some specific events sec triggers a mail to me. Maybe is a always asked question , but i didn´t find information about rsyslog sending the logs (without a file) directly to sec. Thanks in advance

Re: [Simple-evcorr-users] rsyslog sending directly log to sec

2016-04-12 Thread Martin Etcheverry
logs > to a > file (but not too much), has a dumpfile defined, creates events and > contexts for > startup/shutdown/restart, and when rsyslog is sent a HUP to roll it's > logs, sec > will get USR2 instead of HUP so it won't do a full shutdown/restart > > David Lang >

[Simple-evcorr-users] about to use sec to vcenter events

2016-11-22 Thread Martin Etcheverry
hi i been using sec for cisco monitoring and i have to say, it is flawless. Now i want to tackle a new kind of reporting , events that only get alarm if the cancelation event do not come in 10 min. This is posible with sec? -- ::: (\(\ *: (=' :') :*

[Simple-evcorr-users] trying to create a rule to alarm when the i get one alarm and the cancelation didn´t arrive in 10 minutes

2016-12-19 Thread Martin Etcheverry
i receive an event like this: Dec 19 09:01:09 10.240.57.150 test0003[34576]: test0003 new critical, VirtualMachine and a cancelation like this Dec 19 09:07:06 10.240.57.150 test0003[34576]: test0003 cancelled critical, VirtualMachine i want if the cancelation didnt arrive in 10 mins i get alarme

[Simple-evcorr-users] problem sending events from rsyslog to sec

2016-12-22 Thread Martin Etcheverry
Hi , everyone! i have a little problem with rsyslog sending events to sec. part of my config in the *rsyslog.conf* is ; $ModLoad omprog $ActionOMProgBinary /usr/local/bin/sec.sh *.* :omprog: my *sec.sh* is exec /usr/local/bin/sec --conf=/etc/sec/sec.conf --notail --input=- my */etc/sec/sec

[Simple-evcorr-users] a very dumb issue

2016-12-28 Thread Martin Etcheverry
hi i configured a rule on sec , that is feeded by rsyslog , everything is fine but i am stuck in the dumbest way - the mail sending- here is my rule: type=PairWithWindow ptype=RegExp pattern=([^\ ]*\ ){2}((\S+):)\W\3\Wnew\W\w+\W+\ \w+ desc=No cancellation event for $3 after 10 minutes action=pip

[Simple-evcorr-users] can i add a variable to a pattern?

2020-03-20 Thread Martin Etcheverry
Hi SEC users. I have a question , i have this type=PairWithWindow ptype=RegExp pattern=\w{3}\W*\d{1,2}\W\d{2}\W\d{2}\W\d{2}\W\d*\W\d*\W\d*\W\d*\W\W*something:\Wstarted\W(.*)\W\W (.*) desc= $1 action=pipe '%s' telegram -C '$1 something something $2 ';pipe '%s' mail -s '$1' somem...@someserver.com p