Sponsored Content
Top Forums Shell Programming and Scripting Script to update rsyslog.conf and auditd.conf Post 302997776 by stomp on Friday 19th of May 2017 08:42:36 AM
Old 05-19-2017
An (Automation-)Tool-independent script won't likely exist because those scripts are the main task of an automation tool. So those scripts are always tool-specific, if you want to take the advantage of using those tools.

If you do not use the specific features of your automation tool you'll effectively end up writing your own.

The normal way in Chef is to use the file or cookbookfile Resource, which simply just replaces files with fixed content or based templates, how you wish them to be and gives you possibilities to define, what is done when and if changes are made(e. g. restart special services). Pretty basic stuff. A good automation suites enables you to define your actions from a general default with use-case groups and deviations down to groups and single special cases.

Do you have an automation tool already in production? If that is so, I suggest to use it. Your automation tool should have been chosen to support all devices/servers you are running within your organization.

In general testing is badly needed for automation which only makes sense, if you have a lot of similar or identical setups. If not you have very much work with testing for every used platform.

So the first questions would be:
  • Are automation tools already used?
  • If yes, is that tool suited to your task(probably yes)?
  • If not should you decide to integrate such a tool in your organization? (Quite a different sized task)

Last edited by stomp; 05-19-2017 at 09:51 AM..
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell/Perl Script to edit dhcpd.conf

Hi, I need to get a script together to edit the dhcp service configuration file dhcpd.conf. Mac addresses are defined in classes ex. class "HOST1" { match if substring (hardware, 1,18)=00:11:11:FF:FF:FF;} class "HOST2" ... class "HOST3" ... ... followed by allow or deny statements:... (4 Replies)
Discussion started by: sahilb
4 Replies

2. Solaris

Script for turning processes in etc/inetd.conf on and off

Anyone have a perl script that can be run via a web browser to turn ftp or telnet on and off in etc/inetd.conf ? Believe it or not but I ride a motorcycle a lot in the summer and carry a laptop in my saddlebags to connect from almost anywhere via Verizon alongside the highway. However, have too... (0 Replies)
Discussion started by: thomi39
0 Replies

3. UNIX for Advanced & Expert Users

Configuring snmpd.conf and snmptrapd.conf

HI, I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP) for receiving TRAPS in my networks. I am using RHEL4.0 OS. Please tell me How I can configure above two files in a proper way and at an advanced level. Especially I am getting... (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies

4. Red Hat

SD.conf and LPFC.conf

What would be Redhat RHEL 4.0 equivalent for Solaris sd.conf and lpfc.conf? What are the files called and where are the files located? (1 Reply)
Discussion started by: soupbone38
1 Replies

5. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

6. Shell Programming and Scripting

Change values in .conf file with a script

This is my first time posting here...so be gentle. Suppose I have a test.conf file that contains a value such as a IP. I would like to be able to use the Dialog Utility in Linux to allow me to enter the new IP in a Dialog form...and the results get saved into the test.conf file in the place... (4 Replies)
Discussion started by: calahanp
4 Replies

7. Shell Programming and Scripting

Shell Script to check dhcp conf file

Hi, I have to prepare a script to check the dhcp conf file. The script has to check for a specific parameter called circuit ID. If the Circuit ID is unique it should show the output that it is unique and if it is duplicate it should show that the Circuit ID is duplicate. I have prepared the... (4 Replies)
Discussion started by: Crazy_Nix
4 Replies

8. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies
NETWOX(1)						      General Commands Manual							 NETWOX(1)

NAME
netwox - examples/tools of the network library netwib VERSION
The version installed on this system is 5.36.0. IMPORTANT
Manpage do not contain a lot of information. Rather read netwox-5.36.0-doc_html.tgz. SYNOPSIS
netwox number [ parameters... ] netwox number --help netwox number --help2 netwox PRESENTATION
Toolbox netwox helps to find and solve network problems. It provides 222 tools : - udp/tcp clients/servers - spoofing - sniffing - address conversion - etc. Netwox is mainly oriented towards network administrators and security auditors. Some tools are only a simplified implementation, while others are very sophisticated. Netwox is available under the GNU GPL license. DESCRIPTION
number number of the tool to use parameters parameters for the chosen tool number. Parameter --help shows help. Parameter --help2 shows description. When using netwox without number and parameters, it enters interactive help mode. In this mode, the user has to select a category by press- ing a key. Then by choosing a tool number, its corresponding usage is displayed. Note: netwag is easier than interactive help mode. EXAMPLES
netwox 23 --help display simple help for tool number 23 netwox 23 --help2 display full description of tool 23. It also display its description. netwox 23 run tool 23 netwox 23 --extended run tool 23 with --extended parameter netwox 23 -e run tool 23 with -e parameter (synonym for --extended) All the tools are not described in this manpage. Reading netwox-5.36.0-doc_html.tgz is recommended. SEE ALSO
netwib(3) netwag(1) 02/11/2008 NETWOX(1)
All times are GMT -4. The time now is 08:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy