Perhaps your script could perform an rDNS lookup? CP
On Thu, 2008-12-11 at 10:28 -0500, 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? > __________________________________________________________ > Andrey Gordon | Integrity Interactive | Network Engineer | +1.781.398.3518 > > > > > From: "Christopher L. Sweeney" <[email protected]> > > Reply-To: InterMapper Discussion <[email protected]> > > Date: Thu, 11 Dec 2008 10:04:06 -0500 > > To: InterMapper Discussion <[email protected]> > > Subject: Re: [IM-Talk] Variables > > > > At 11:15 AM -0500 12/10/08, Andrey Gordon wrote: > >> ${devicename} does not seem to work. I just get NOT FOUND when using that. > > > > The macros you can pass to a command-line probe are: > > > > ${ADDRESS} -- The IP address of the device > > ${PORT} -- The port of the device > > ${MESSAGE} -- The message as configured for the notifier > > ${STRIPPED_MESSAGE} -- Same as ${MESSAGE}, but with newlines, > > carriage returns, single quotes, and double quotes stripped. > > ${ESCAPED_MESSAGE} -- Same as ${MESSAGE}, but escaped as though it were a > > URL. > > > > -- Christopher > > > > -- > > ================================================ > > Christopher L. Sweeney > > Dartware, LLC > > http://www.dartware.com/
signature.asc
Description: This is a digitally signed message part
