Hello.
We have dfm e-mail notification (Cworks2000 CDone LAN solution), which makes notifications about network events. We don't know how we can get notification, when network problems dissapear (port comes up,...).
Thanks in ahead for your help.
Look in the smarts/rules directory mailFilter_Notify.conf
At the bottom of the file is a section to omit clear events. You can comment out the section or just change
currentEvent->dropThis=TRUE
to be
currentEvent->dropThis=FALSE
Ok here is a down and dirty way of setting up syslog messages to e-mail you.
First go to the following directory location.
Resource Managers Essentials>Administration>Syslog Analysis>Define Automated Action
From there you will want to "add" and select the appropriate message types for what you are looking for. Name the action and enable it.
Then at the bottom in the Command line input the following string with your appropriate information.
c:\progra~1\CSCOpx\bin\perl c:\progra~1\CSCOpx\cgi-bin\sysloga\sampleEmailScript.pl -text_message $M -email_ids (((someone@somewhere.com))) -subject "(((A Subject Line here)))" -from (((CiscoWorks2000 server e-mail address.com))) -smtp (((e-mail server IP or DNS name here)))
Change everything within the (((_))) fields with your information and remove the (((_))) brackets. This should work as long as the information is valid. and you are allowing syslog messages to CiscoWorks. To add more recepients just add a comma after the name and add to the same field. I hope this helped.
That will work, but is very complex when the functionality is already there and all you need to do is add an if statement and use the glob() function on the current event in the ASL to get it to only send clears for the notifications you want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.