Prime 4.1 Automated Action To Email

  i have setup a syslog automated action
Automated Action Summary
Name:
config
Devices:
172.24.1.2
State:
Enabled
Parameters:
TO=[email protected], SUB=Config Exit, TEXT=A config exit event
Action Type:
Email
Messages:
SYS-*-5-CONFIG_I:*
i dont get emails when the event occurs - i connected to one of the switches entered config mode and then exited , term mon showed   SYS-*-5-CONFIG_I ,but no email
email settings are OK (i get other emails from the system)
what am i missing?

It'll be helpful if you share what you see, based on which we can suggest what may be missing.
For easy reference just check the LMS guide once to see you followed the right steps :
http://www.cisco.com/en/US/docs/net_mgmt/ciscoworks_lan_management_solution/4.1/user/guide/admin/useNotif.html#wp1074029
-Thanks
Vinod
**Rating Encourages contributors, and its really free. **

Similar Messages

  • Syslog automated action is not working

    Hi,
    I set the automated actions for EIGRP NBRCHANGE message  ( DUAL-5-NBRCHANGE )
    I would like to get email notifications from CW but it is not working. I've checked that syslog messages arrived to CW.
    Other  e-mail funtions ar working like DFM and RME job email notifications.
    how can i troubleshoot what happened?
    Regards,

    What version of RME are you using?  Make sure the message shows up in the RME syslog Standard Report.  If the message isn't making it to the database, then it will definitely not trigger an automated action.  Check your SMTP settings under Common Services > Server > Admin > System Preferences, and use a sniffer to capture tcp/25 traffic when one of these messages arrives to see if the SMTP server is accepting the email message.

  • LMS4 Syslog automated action anomaly

    LMS 4.2.1 on W2K8 R2
    I just want to send an email for any sev 1 or 2 syslog messages received.  I set up an automated action that looks like this:
    Automated Action Summary
    Name:
    Critical Events Email
    Devices:
    State:
    Enabled
    Parameters:
    TO=[email protected], SUB=LMS4 Syslog AA, TEXT=
    Action Type:
    Email
    Messages:
    *-*-1-*:* *-*-2-*:*
    Yet I seem to be getting emails triggered by messages from ASA devices that are not severity 1 or 2, like:
    %ASA-session-4-106023
    %ASA-auth-3-109023
    %ASA-auth-6-109001
    Am I doing something wrong, or is there some sort of bug I am hitting?  I can't believe that I am the first person to try this.
    Thanks,
    -Jeff

    I do not know what exactly you have done so far but in your situation I would enable the following debugs:
    open that file in a text editor
    NMSROOT\MDC\tomcat\webapps\rme\WEB-INF\classes\com\cisco\nm\rmeng\csc\data\Collector.properties
    and change the debug level from Info to Debug:
        DEBUG_LEVEL=DEBUG
    also enable SyslogAnalyzer debugging here:
    Admin > System > Debug Settings > Config and Image Management Debugging Settings
        Set Application Logging Levels >> SyslogAnalyzer (scroll down)
            set Syslog Analyzer and Syslog Analyzer User Interface from INFO to DEBUG
    in a DOS box check the status of the following processes (the should be started) and restart them:
        pdshow SyslogAnalyzer SyslogCollector
        pdterm SyslogAnalyzer SyslogCollector
        pdexec SyslogAnalyzer SyslogCollector
        pdshow SyslogAnalyzer SyslogCollector
    When the issue happens again check the following log files and post them on the forum:
        NMSROOT\log\SyslogCollector.log
        NMSROOT\log\AnalyzerDebug.log

  • Syslog Automated Action

    Hi,
    LMS 4.2.3
    The syslog automated action work if we send to one e-mail address the messages.
    Once we set two email-adresses ( comma separeted ) in "send to field", the messages are not received.
    Thanks

    One of the logfiles that gives understandable messages mostly.  :-)
    Cheers,
    Michel

  • Backup ical, address book, and mail automator action

    It seems very odd to me that there are no automator actions to backup ical, address book and mail. I have looked around to no avail. Am I mistaken, do such actions exist?
    I use super duper to back up my hardrive on an automatic schedule, but I would love to make a workflow that would backup my ical, address book databases and my email. I don't want to have to restore my entire had drive from my SuperDuper image if I lose only my ical database.
    Any help would be appreciated.
    Jake

    I'm guessing the reason might be that Apple want you to use their dotmac account for this purpose.
    The only way around it is to backup the individual folders that are used by those apps. eg:
    Macintosh HD/Users/Your User Name/Library/Application Support/Address Book
    Macintosh HD/Users/Your User Name/Library/Mail
    Macintosh HD/Users/Your User Name/Library/Safari
    Macintosh HD/Users/Your User Name/Library/Application Support/iCal
    If needing to re-build, just drag and drop these folders into place.

  • Ciscoworks RME Syslog Automation Actions

    I set up RME several years ago on our Ciscoworks several running LMS 3.2 to notify us on any BGP flaps via email notification.
    I noticed the last couple maintenance period where we had perform Circuit work with our ISP's. We haven't received any emails....I verified those
    routers are configured to send notifications in the Device Selector and even checked the router logs.
    004161: Nov 20 05:04:52 EST: %BGP-5-ADJCHANGE: neighbor X.X.X.X Down BGP Notification sent
    004162: Nov 20 05:04:52 EST: %BGP-3-NOTIFICATION: sent to neighbor X.X.X.X 4/0 (hold time expired) 0 bytes
    The syslog collector status appears to be normal.....is there anything I need to do the fix this?

    Hi,
    Are you receiving any emails from your LMS server?  If not, navigate to  Common Services > Server > Admin > System Preferences to enter your SMTP settings.
    Identifying the syslog message is one step but there are more.
    AUTOMATED ACTIONS
    Set Up
    By default, Automated Actions are used to notify via email, using the `sampleEmailScript.pl`  as the script to run. If you do not want to use this, you could write  or use your own scripts to perform the action that you really want. In  this case please note that we do not provide support for any custom  scripts if the problem seems to be related to the script that you are  using.
    You still need the following settings:
    1.   Select Devices
    In *RME > Tools > Syslog > Automated Actions* and click on create and select the devices that you wish to use.
    2.   Define Message Type
    Please  give a name to the Automated Action and then click on add to define a  message type. In here, please specify the following values:
        Facility: BGP
        Sub-facility: *
        Severity: 5
        Mnemonic: ADJCHANGE
        Description: *
    3.  Select Automated Action
    Select the default script or the script that you wish to use.  Please note that this script must be located in the *CSCOpx/files/scripts/syslog* file and needs to have only write/execute permissions for casuser/Administrator in Windows.
    This way when a message matching the above is generated, the Automated Action is triggered and this will run the script that you choose and do the commands that it has specified.
    Here is an example:
    If you verify that your setup is correctly configured then take a look at the smtp.log found under ../CSCOpx/log. 
    Thanks.

  • Shutdown a remote iMac using Apple Remote Desktop and Automator action

    Hi,
    I have my iMac and my wife's iMac connected to the same UPS. There is only one USB connector for the UPS that notifies my iMac when its time to shutdown due to a power cut out.
    Is there a way for my iMac to then send a command to my wife's iMac (which may be asleep; the iMac not my wife!) and instruct it to shutdown (forcefully)?
    The Belkin UPS software enables me to launch an automator action before it shuts down my computer.
    Your help would be appreciated,
    Tony

    Unless you already have Apple Remote Desktop, it will almost certainly be cheaper to just buy a second UPS for your wife's iMac than it will be to purchase ARD.
    If you do have ARD 3 already, then it looks like it would be possible to create an Automator workflow that would select your wife's iMac and then send the Unix command "shutdown" (look at the man page for shutdown for the usage). I haven't tried doing this, though, so I can't say for sure, but it looks like it would work.

  • How can I edit an Automator action for Word?

    I'm running Word 2008 on a Macbook Pro, Mac OS 10.5.
    Word comes with a selection of Automator actions, including one to find and replace text in Word. I often want to convert standard numerals to old-style numerals, which are part of the extended glyphs set in fonts I use. Automator will allow me to set up ten find/replace actions (for the numbers 0-9) that successfully replace all the numerals with old-style numerals. But it only does it for the main body of the document, not for the footnotes. I need to be able to do it for all the footnotes.
    I thought I might find a workaround by adding an AppleScript to my workflow, which would shift the focus in Word to the footnotes and rerun the find/replace actions. I mapped the menu item View/Footnotes to the keystroke command-) and inserted this AppleScript into the Automator workflow:
    tell application "Microsoft Word"
    tell application "Microsoft Word" to activate
    tell application "System Events"
    tell process "Microsoft Word"
    keystroke ")" using command down
    end tell
    end tell
    end tell
    But the find/replace actions simply repeat what they'd done before, converting the numerals in the main body but not in the footnotes. I then thought that perhaps I should have an AppleScript to do the find/replace itself, once the footnotes have been selected, so I created the following (command-H accesses the find/replace dialog box in Word 2008):
    tell application "Microsoft Word"
    tell application "Microsoft Word" to activate
    tell application "System Events"
    tell process "Microsoft Word"
    keystroke "H" using command down
    keystroke "1"
    keystroke tab
    keystroke ""
    end tell
    end tell
    end tell
    The character after the fourth keystroke command is the glyph for old-style numeral 1. For some reason Word reinterprets this as the letter a. So using AppleScript I can only replace the numerals 1-9 with the letters a-i.
    I'm pretty hopeless at even this very basic level of programming, but I presume that there's something in the Automator action 'Find and replace in Word' that specifically tells it not to look anywhere but the footnotes. I also presume it's possible to insert a command to tell it to operate on the footnotes (and headers and footers: everywhere!) too.
    Does anyone know a way to edit an Automator action? I'm willing to experiment and fiddle with one until I find a way that works, if nobody knows the exact changes that I'd need to make, but I just don't know how to edit an Automator action in the first place. A bit of googling suggests that I could do it in XCode, and that that is bundled with my Mac, but I don't have it.
    This all used to work when Office used to allow VBA (and I was using a horrible Windoze machine). Maybe someone would prefer just to find a way of creating a solution our of the old code, so here's one part of what I used (to change the number 1):
    For Each aStory In ActiveDocument.StoryRanges
    With aStory.Find
    .ClearFormatting
    With .Replacement
    .ClearFormatting
    End With
    .Execute FindText:="1", ReplaceWith:=ChrW(63281), _
    Format:=True, MatchCase:=True, Replace:=wdReplaceAll
    End With
    Next aStory
    Thanks in advance for any help.

    Thanks to all three contributors for their generous help so far. Mac people are lovely.
    BDAqua's suggestion wouldn't work, I think, because copying footnote text into another application and then back into Word would lose all the associations between footnote references in the body and the footnotes themselves. I wish I could do what Klaus1 says, but Word 2008 won't allow the creation of Macros any more. They've shut off support for their creation. Nice MS. red_menace's suggestion seems very plausible and I'll look into a way of mapping the old style numerals to specific keystrokes. That might do it.
    Reflecting on what you all said, I looked again through Word's help menus and eventually got pointed towards this page of 'help': <http://tinyurl.com/6398l6>. This is completely impenetrable for me, though it does compare a VBA script for Word 2004 to an AppleScript. This encourages me to hope that it should be possible to translate my original VBA script (part of which I included in my first message) into AppleScript, though I don't know how to do it because I don't really understand the language in the first place (the VBA script was put together by someone else).

  • Using Automator action/workflow to create a poster in iPhoto

    I'm using Jim Heid's Mac iLife 'lifeposter' idea [which comes from Mike Matas] and I keep getting a message taht says "the workflow was saved with an older version of 'get Selected items' some behavior may have changed. and also another ref. 'import files into iPhoto" -- I didn't find a more recent Automator action 'Create Thumbnail Poster" online nor updated information at Matas's blog or Heid's book...any suggestions for how to fix this? I last used it a few years ago and would like to use it again.

    Unless you got a message about it, the original Create Thumbnail Poster may work with the version of iPhoto that you have. As for the other actions, they sound like standard actions that have just been updated - you can open the older application and recompile it using the newer actions.

  • How can I add a picture to the Automator Action "Watermark PDF Documents.action"

    Looks like a bug: under 10.7.2 i cannot add a picture to the Automator Action "Watermark PDF Documents.action".
    Works perfectly under 10.6.8.

    Its a verified bug (Automator - Watermark PDF Documents).
    Please report to http://www.apple.com/feedback/macosx.html
    As a workaround, if you saved the Action in SL, option-click the action, navigate to the file "document.wflow", open in TextEdit, search for the key "fileNames" and replace your old image with the new

  • Trouble Cleaning Up At The End of an Automator Action

    So my automator action currently downloads a file (a .dmg), mounts it, copies its contents to Applications, and then... I then want to unmount the dmg and throw the dmg away. However, by this point I no longer have the references to these two items:
    download file -> mount file -> copy items
    I'd like to be able to get back to the downloaded file so I can trash it, but there's no way to "store" its name or reference or anything. Any ideas? Unfortunately I can't just do a search for it since its name is often different.
    Thanks in advance!

    ineedadifferent...
    Try adding the following steps at the end of your current workflow. Steps 1-4 are Finder actions; step 5 is an Auomator action:
    1) *Get Specified Finder Items* -- in the Open dialog navigate to your Macintosh HD > Users > +your name+ > Desktop. Select the Desktop folder and hit Open. Leave the Options unchecked.
    2) *Get Folder Contents* -- Leave both "Repeat for each subfolder found" and the Options unchecked.
    3) *Filter Finder Items* -- Whose: Name Extension - Is equal to - dmg. Leave the Options unchecked.
    4) *Move to Trash*
    5) *Run AppleScript* -- your script might look like this:
    on run {input, parameters}
    tell application "Finder" to eject (every disk whose local volume is true)
    return input
    end run
    Good luck!
    Andrew99

  • Automator action to move a specific file type to a folder..

    've started shooting pictures in raw and jpg format. After I grab the pics from my camera, I'd like to put the raw files in a separate folder.
    I've played around a little but can't figure it out-- so I dunno if it's possible. Is there a way I can make an automator action where I enter or select the folder and run the action. It then makes a folder named RAW and moves all of a certain file type to the RAW folder. Is this possible with automator?
    I'd like it to make a folder named RAW inside the current folder I'm in or have selected.
    I think I figured this out using filter finder items, and move to specific folder, but I think I need to learn how to use variables for this to work how I want it. Do I need variables or is there another way?

    the following script should do it provided your Raw image files have extensions "raw" (do they?). If they have another extension, modify next to the last line accordingly.
    tell application "Finder"
    set theFolderName to "Raw"
    set curFolder to (folder of the front window as alias)
    -- Determine whether the specified folder exists
    if folder theFolderName of curFolder exists then
    set theFolder to folder theFolderName of curFolder
    -- Create a new folder, if it doesn't exist
    else
    set theFolder to make new folder at curFolder with properties {name:theFolderName}
    end if
    move (every file of curFolder whose name extension is "raw") to theFolder
    end tell
    Save the above script as an application using Script editor. To use it, select the folder you want to work on and run the script.

  • Cannot add content to iTunes U using Woolamloo Automator Action

    We cannot use the Woolamloo Automator action to add any content to our iTunes U site recently. Ex: We created a workflow using “Get iTunes U XML” , “Find Sections in iTunes U XML” and “Add divisions into iTunes U” actions, the returned result was the section handle to which the division was expected to be added and the the log said “ Get iTunes U XML completed, Find Sections in iTunes U XML completed, Add Divisions into iTunes U completed, Workflow completed”, however, no division was added to the section actually. It’s the same with other adding content actions. But we had no problem with deleting actions.
    Meanwhile, we cannot access the iTunesU webservices, either. When we try “curl https://deimos.apple.com/WebObjects/Core.woa/API/ShowTree/nd.edu.roothandle?​credentials=(administrator credential)&identity=(identity)&time=(time)&signature=(signature)&x=true”, the result is : “Forbidden. You don’t have permission to access this document on this server”. Any suggestions would be highly appreciated.

    Yes, we still have this problem.
    We believe the shared secret and credentials are correct because we can get the site XML via Woolamaloo Automator action.
    We also attached the debug suffix in the script and the result was "Because the received signature and time were valid, the received identity and credentials were accepted by iTunes U." And we can use the same signature to log in to our iTunes U site. But when performing the HTTP GET request, we got the "request is forbidden" error.
    Thanks for your help, we do appreciate.

  • It once worked but now a simple automator action won't :-(

    I am trying to highlight songs in tunes and then copy the file into a folder. I've just got an empty folder on my desktop titled "Music". The automator action consists of: Get Selected Items (with itunes icon), and Copy Finder Items (to the Music folder). After I hit the Run button it proceeds to copy what appears to be my whole itunes library folder to the Music folder. I used to do this all the time and it worked perfectly taking little time. Now, not so lucky.
    Here is a link a picture of how automator looks while I run it. http://web.me.com/caseyheyer/Site/Blank.html

    Sometimes putting another action in between (even if it doesn't do anything) can get things going. It looks like iTunes Songs are easier to convert than iTunes Items, so give this a try:
    1) Get Selected iTunes Items
    2) Set Options of iTunes Songs (leave everything unselected)
    3) Copy Finder Items {To: Music}

  • LMS 4.2.5 Syslog/Automated Action/Config mgmt issue

    LMS 4.2.5 on Windows
    We use the server as it's own Syslog server. The Syslog collector status is fine. I see syslogs coming into the server. However, I just made some changes on a router so ran a syslog report on it, but nothing was returned. I Tested the Collector Subscription and everything was fine.
    We also have Automated Actions configured on certain syslog messages (duplex mismatch for example). There is an AA configured to send my team e-mails when this event occurs. There was a device that had two days worth of syslog messages complaining about this issue. Yet, we only received about 10 e-mails from the LMS system on it.
    Another issue is with Configuration Mgmt. I fixed the duplex mismatch listed above and went to check the config tree to see if or when something changed. The last config archive was pretty old and I know changes were made on the device since then. This tells me that the LMS server didn't get notified of the config change or it would have gone out and checked it.
    The one thing in common on all of the above is Syslog messages. LMS will take actions based on receiving these messages and those actions don't seem to be firing.
    Any ideas would be greatly appreciated.
    Thanks,
    Mike S.

    To confirm if the device is sending the syslogs and they are being received by LMS server properly, check the $NMSROOT/log/syslog.log and see it has the syslog from the device.
    Unless syslog is there on syslog.log, we don't expect LMS to react on any AA. 
    For configuration backup, try to sync the device config by initiating a manual job to update the latest configuration from device. Even if there is no Automated Action working, you should still have a reoccurring/scheduled job configured to archive configuration backup periodically.
    Following is a document I created for Syslog troubleshooting :
    Ciscoworks LMS : Syslog in a Nutshell!
    -Thanks
    Vinod
    **Encourage Contributors. RATE Them.**

Maybe you are looking for