I wish to run few commands to perform Daily Health checks and this I need to do on some 30 switches ( different models and switch types). Few switches have CLI while other few have GUI and both.
Any way by which I can trigger executing my set of commands and try sending any alerts(warnings or errors on each switch) noted to my email Id.
sounds like a cool scripting project. I would use plink to dump info from the switch to a text file and then parse it with perl, or just "expect" in perl.
it's possible, just a lot of manual work with pre-creating putty sessions for each switch and configuring unique log for each one. I would rather do it programmatically in my script.
that's very handy utility, i've used to do it in Konsole on Ubuntu but this is nice equivalent for Windows. Thanks Troy.
30 Switches – I think this is a descent size environment.
Writing script for monitoring – you really have to know what you are doing
If there is a failure and your script doesn’t catch it – guess who is in trouble.
Now the “other” side:
What do you expect to get when you create this “custom monitoring”- medal? I bet your salary will not be effected at all! Somebody will get credit for saving the company some money (I am not going to say who)
What about EMC come and do all the work for you – install ECC, configure it - nice GUI that you can use to full “some” people above you.
If there is a problem you always blame on EMC.
You will have one more bullet in your resume – “ECC expert”
>>>>30 Switches – I think this is a descent size environment. --- Yes it is.
Writing script for monitoring – you really have to know what you are doing --- Yes, While you script you know the purpose
If there is a failure and your script doesn’t catch it – guess who is in trouble. - --- For some reason if there is a failure or if you dont get email alerts you would rather look than keep on guessing
Now the “other” side:
What do you expect to get when you create this “custom monitoring”- medal? I bet your salary will not be effected at all! Somebody will get credit for saving the company some money (I am not going to say who) - Looks like you only earn and don't tend to learn.
What about EMC come and do all the work for you – install ECC, configure it - nice GUI that you can use to full “some” people above you. - see above comment
If there is a problem you always blame on EMC.--- If you put the blame on EMC then Somebody (I am not going to say who) may ask you to chase them. The time you take to fix the script failure would be less to chase EMC
You will have one more bullet in your resume – “ECC expert” - One more bullet can also be "Scripting Expert on switches"
dynamox
11 Legend
•
20419 Posts
•
87439 Points
3256
0
Posted March 8th, 2010 03:00