I hate to bug you again, but is it possible to see some syntax for that? Maybe an example of how you can use that. It's a bit unclear to me where to use <device name> __________________________________________________________ Andrey Gordon | Integrity Interactive | Network Engineer | +1.781.398.3518
> From: "Christopher L. Sweeney" <[email protected]> > Reply-To: InterMapper Discussion <[email protected]> > Date: Mon, 15 Dec 2008 13:52:18 -0500 > To: InterMapper Discussion <[email protected]> > Subject: Re: [IM-Talk] Variables > > At 10:28 AM -0500 12/11/08, Andrey Gordon wrote: >> So in other words, I can't pass the hostname of the probed device? >> Is there any variable that I can extract the hostname from with in the probe >> and assign it to an arbitrary variable that I then can pass into the CLI >> script? > > You can include the "<device name>" in the message, then pass the > message to the CLI script. You control the format of the message, so > you can make it easy or hard to parse. This value will be a hostname > in most cases, although in some it can devolve to the IP address. > > -- Christopher > > -- > ================================================ > Christopher L. Sweeney > Dartware, LLC > http://www.dartware.com/ > ____________________________________________________________________ > List archives: > http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ > To unsubscribe: send email to: [email protected] > ____________________________________________________________________ List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/ To unsubscribe: send email to: [email protected]
