LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Script to install net-snmp on 10 remote machines (https://www.linuxquestions.org/questions/linux-software-2/script-to-install-net-snmp-on-10-remote-machines-928735/)

Swathi2010 02-10-2012 09:10 PM

Script to install net-snmp on 10 remote machines
 
I need to install net-snmp RPM packages on 10 remote systems after checking if not installed, install machine specific snmp.conf and snmpd.conf files and alert on my system on job completion.

Need a script for the same.

Thanks for suggestions.

acid_kewpie 02-11-2012 01:57 PM

I think you cold have just done the work manually in the time you can take automating it. Just 10 machines? Not worth it. For a long term solution, I'd *VERY* strongly recommend Puppet though, it's great for things like that.

TB0ne 02-11-2012 02:31 PM

Quote:

Originally Posted by Swathi2010 (Post 4599421)
I need to install net-snmp RPM packages on 10 remote systems after checking if not installed, install machine specific snmp.conf and snmpd.conf files and alert on my system on job completion.

Need a script for the same.
Thanks for suggestions.

I agree with acid_kewpie...10 machines isn't worth the effort to script, and puppet is a good way to go, too. Also, unless all the machines are IDENTICAL, you may have dependency issues you have to solve.

Also, we will always be glad to HELP you with a scripting problem...but we are NOT going to write your script for you. If you need a script, write one, and if you get stuck, post it here, along with details (which you've omitted: version/distro of Linux, etc.), and we can help.


All times are GMT -5. The time now is 10:04 AM.