Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Passing the device name in the Email Automated Action -

I can pass the syslog message and the device name in the body of the email that gets generated by the sample email perl script that comes with RME. I really need to be able to pass the device name in the subject of the email. I tried a couple of things but was unsuccessful. Has anyone done this? If so, how?

1 ACCEPTED SOLUTION

Accepted Solutions
Red

Re: Passing the device name in the Email Automated Action -

You need to pass the following: -subject $D

3 REPLIES
Red

Re: Passing the device name in the Email Automated Action -

You need to pass the following: -subject $D

New Member

Re: Passing the device name in the Email Automated Action -

This worked. I was also able to put a little more text like -subject AstroErrorfrom-$D .

I could've swore I tried this before but obviously didn't do something right.

Thanks.

Red

Re: Passing the device name in the Email Automated Action -

I think you can also try putting it between double quotes:

-subject "Astro Error from $D"

109
Views
0
Helpful
3
Replies