Is it possible with Cirrus to schedule a job that will download a device config file and email it as a text file?
Yes- after you schedule the job and click finish - you need to select E-Mail Results on the Notifications Tab.
I think he wants to e-mail the config that Cirrus down loads, not the results. This would be a nice feature in my opinion..
Can you help me understand the driver for this feature? Is this so you can do a sanity check yourself via email to see what someone might have changed? Or is this so you can have the entire config available in your email so that you can reference it remotely? The reason I ask is we've got a thread going on remote administration ()">) and I'm wondering how your request might play into these requirements.
Maybe I'm oversimplifying things here, but couldn't you set up a scheduled job to do a 'show run' (assuming Cisco), and email the results?
You are absolutely correct bleearg13 creating a job to do a show run will work; however, this is not what borgan wants. So to simplify it and re-iterate what I previously posted. He wants to be able to email his config as a .txt file for his router/switch assuming Cisco, not as an email with the config as results.
I'm just curious - what's the difference between getting a text file and seeing the full configuration in your email? I can only think that maybe he wants to save it locally without having to go through the extra step of copying and pasting out of email.
I could see the benefits of having the individual files. For example. We are currently going thru a DR exercise next month and the devices we will be working with will have no configs, ie our cores 6513, 7206VXR, multiple 3560's, a CSS, and many more. If I take my config backups I do every night, I could put them on a thumb drive, or I could email the individual files to each tech. The tech would then be able to restore his 7206VXR with the right config - based on the file name that was downloaded with Cirrus.
Does that make some sort of sense or am I complicating things? For many years, we have done nothing but work with .txt files; this is what borgan wants and I completly understand his reasoning. Could it work yes, but is it the way engineers for years have done things - I think the majority would say no. If I could have it my way, I would like to be able to Schedule a Job that downloads the config files to a differnt directory, then I would use a script to zip the files up and ftp them to our DR site for future use. Hopefully, something like this will be in future releases of Cirrus.
Does that make some sort of sense or am I complicating things?
Yes, it makes perfect sense.
If I could have it my way, I would like to be able to Schedule a Job that downloads the config files to a differnt directory, then I would use a script to zip the files up and ftp them to our DR site for future use. Hopefully, something like this will be in future releases of Cirrus.
But Cirrus does this with the Config Archive. Could you not just zip up the contents of the Config Archive and put them on your thumb drive using the script you want to create?
Yes I know the config archive can do this, but for simplicity I would like to have the files in a different directory. My current Config Archive has over 826 different directories from our current back up routine, and I dont use all of these files. I would want to keep the stuff I do for DR separate from this.
I can save to any directory I want this is correct, in fact you can achieve this by changing the directory path in the config archive. However, you can not schedule a job, and change the directory location for that jobs configs. As I said before unless im missing something here, and no one has pointed it out, so I must be correct.Not to beat a dead horse here, I would love to schedule a job and then be able to save all those jobs for that scheduled job in a seperate location other then what the config archive has. I want this so bad I submitted it as a Feature request, and hopefully it will be in the next release. If this isnt possible in the current release please someone say something.
I don't know...I'm pretty sure that this is exactly what I just did?! You can schedule a job to do a 'show run' and store those results in any directory you want.
Can you tell me how to schedule a job to download a config and point it to a seperate directory other then that of the config archive. I can not do this, and this is what the basis of this whole thread is about. Its not about what you have been pushing - running a script that does a show run of every router and switch and then saving those results as a file. Which is what you did in your above response.
Okay, I forgot that scheduling a job doesn't save all the configs in separate files. My bad. However, how about:
1. Create a new Scheduled job.
2. Select "Export Configs"
3. Set schedule, permissions, etc.
4. Select your Nodes.
5. Set where you want the configs to be saved.
Does this do what you need?
EDIT: I should mention that I tried this and it does not change the location of your default config archive. You can specify any directory you want on the server. The only tricky part is choosing the devices to store, but that can easily be solved with Custom Properties or Groups.
That is exactly what I was looking for, thanks for pointing out the obvious. I dont believe I never saw that, I are SMART.
I are SMART.
Actually, that's "SMRT" :-) Glad this could work for you and sorry for all the confusion. However, I'd like to point out that the original question posed still isn't answered. Emailing the config as a text file is a pretty good suggestion and maybe it will get into the feature request list.