Template a service
Jeff Weisberg
jaw+arguslist at tcp4me.com
Mon May 8 21:31:39 EDT 2006
| I've got a number of servers that are running exactly the same service and
| I'm trying to work out a way of templating it so I could do something like
I usually do something like:
#!/usr/bin/m4
define(Std_Server, `Host "$1" {
Service Ping
Service TCP/HTTP
Service TCP/SSH
}')
Std_Server(server1.example.com)
Std_Server(server2.example.com)
Std_Server(server3.example.com)
as long as the config file is executable,
argus will invoke the specified preprocessor.
More information about the Arguslist
mailing list