cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
213
Views
0
Helpful
4
Replies

EEM script saving to flash or not?

Sunny5
Level 1
Level 1

Hi I have a EEM script where I use the '$_cli_result' command to display it in the output. I'm not entirely sure if this would be saving to the flash and then the $_cli_result command is pulling from there. I don't think it would save to flash but I'm fairly new to EEM scripts so I can be wrong for sure. This is my EEM script:

event manager applet InfoGather
event none
action 10.0 cli command "enable"
action 11.0 cli command "term len 0"
action 12.0 cli command "sh arp"
action 12.1 puts '$_cli_result'
action 13.0 cli command "sh authentication sessions"
action 13.1 puts '$_cli_result'
action 14.0 cli command "sh int status | in connected"
action 14.1 puts '$_cli_result'
action 15.0 cli command "sh int trunk"
action 15.1 puts '$_cli_result'
action 16.0 cli command "sh power in"
action 16.1 puts '$_cli_result'
action 17.0 cli command "sh switch"
action 17.1 puts '$_cli_result'
action 18.0 cli command "show logging | tail # 100"
action 18.1 puts '$_cli_result'
action 19.0 cli command "term len 40"

Currently I get a message saying in my logs: 

150945: May 2 10:21:43.373 EDT: %PLATFORM-4-ELEMENT_WARNING: Switch 1 R0/0: smand: 2/RP/0: limited space - copy files out of flash: directory. flash: value 84% (1610 MB) exceeds warning level 70% (1337 MB).

I don't think the 2 are related and this log message might be from something else that is using space on the flash.

4 Replies 4

Hello,

I am not aware of EEM saving anything to flash by default, the warning seems to rather indicate is nearing capacity. Can you post the output of 'dir flash:' ?

.

Hello,

the last line is crucial:

2142715904 bytes total (2030174208 bytes free)

Post the full output of this command...

1956839424 bytes total (1307590656 bytes free)