Have not tested yet, but they provided a nice example that puts the output
of a cli command ($_cli_result) on the body of an email on
http://tinyurl.com/ycttx8m.
If it does not work, I just wrote an applet that shows how to manipulate the
output of a cli command and get it into a variable ($output) on:
http://ccie-en-espanol.blogspot.com/2010/02/eem-show-cpu.html.
Nicolas
http://ccie-en-espanol.blogspot.com/
On Sun, Feb 14, 2010 at 9:55 AM, Jomi <doctorfleming_at_gmail.com> wrote:
> Hi guys,
>
> I've been trying to get deeper on EEM technology. I have a task on mind
> that
> is driving me crazy, since I dont know how to solve it.
> The thing is that I want my router to send an e-mail with certain info when
> the CPU rises a value. The task is easy so far, but I dont know how to
> include the result of the command "show proc cpu" in the body of the mail.
> I've found some examples on the net, but they seem not to work. How can I
> get the output of "show proc cpu" into a variable, and then print this
> variable into an e-mail??
>
> Thanks in advance,
>
> J.M.H.
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Sun Feb 14 2010 - 22:07:18 ART
This archive was generated by hypermail 2.2.0 : Mon Mar 01 2010 - 06:28:36 ART