LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2012, 09:10 PM   #1
Swathi2010
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 02-11-2012, 01:57 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 02-11-2012, 02:31 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Swathi2010 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Net-snmp 5.4.3 aocferreira Linux - Networking 16 03-25-2013 05:33 AM
Net-Snmp: Cannot extend agent to run script from configuration file skatersam0 Linux - Networking 2 06-30-2009 11:11 AM
Problem with remote Net-SNMP access kelo81 Linux - Networking 5 01-16-2008 09:53 AM
RHEL4 net-snmp install Strike2000 Linux - Newbie 1 10-02-2007 08:25 AM
blocking smux after net-snmp rpm install relayer416 Linux - Software 0 02-16-2005 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration