omshell in a Script

Martin McCormick martin at
Fri Nov 1 16:56:02 UTC 2013

	I have written a perl script that uses omshell to adjust
the data bases on a couple of DHCP servers and it makes the
changes beautifully and as fast as lightning. The bad news is
that the normal omshell output never echos the command being
executed. This would allow a routine to translate omshell output
in to messages to a caller stating that we added xyz to Server 1
or that abc couldn't be found for deletion on Server2. As it is,
successful additions or deletions do produce enough output to
use, but unsuccessful operations don't echo enough to turn in to
a meaningful message.

	Has anyone figured out how to get omshell to echo text
or to echo the command it is currently executing? That would
make it possible to gather needed data for clear messages to the

	My thanks for any constructive ideas.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group

More information about the dhcp-users mailing list