Ian,

That worked great. I don't know if it is a bug or what but, when you do the variable in the display the formatting info must be lost. As you can see below the mac addresses now show the 0x. Not really important, just information. I also notice I can't plot the RSSI values anymore. Probably because of the calculations as well? Now if only we could have some kind of lookup tables. Then we could relate the mac addresses to a user or IP address or whatever.

<x-tad-smaller>BreezeAccess II Device Information</x-tad-smaller><x-tad-smaller>

</x-tad-smaller><x-tad-smaller>Associations reading:</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>7</x-tad-smaller><x-tad-smaller> </x-tad-smaller>
<x-tad-smaller>(over last minute)</x-tad-smaller><x-tad-smaller>

</x-tad-smaller><x-tad-smaller>Association Mac 01:</x-tad-smaller><x-tad-smaller> 0x00 20 D6 B4 0C 7A </x-tad-smaller><x-tad-smaller>RSSI:</x-tad-smaller><x-tad-smaller> 128 </x-tad-smaller>
<x-tad-smaller>(over last minute)</x-tad-smaller><x-tad-smaller>

</x-tad-smaller><x-tad-smaller>Association Mac 02:</x-tad-smaller><x-tad-smaller> 0x00 20 D6 AC 31 49 </x-tad-smaller><x-tad-smaller>RSSI:</x-tad-smaller><x-tad-smaller> 130 </x-tad-smaller>
<x-tad-smaller>(over last minute)</x-tad-smaller><x-tad-smaller>

</x-tad-smaller><x-tad-smaller>Association Mac 03:</x-tad-smaller><x-tad-smaller> 0x00 20 D6 94 C0 AC </x-tad-smaller><x-tad-smaller>RSSI:</x-tad-smaller><x-tad-smaller> 123 </x-tad-smaller>
<x-tad-smaller>(over last minute)</x-tad-smaller><x-tad-smaller>

</x-tad-smaller><x-tad-smaller>Association Mac 04:</x-tad-smaller><x-tad-smaller> 0x00 20 D6 DC 16 D1 </x-tad-smaller><x-tad-smaller>RSSI:</x-tad-smaller><x-tad-smaller> 127 </x-tad-smaller>
<x-tad-smaller>(over last minute)</x-tad-smaller><x-tad-smaller>

</x-tad-smaller><x-tad-smaller>Association Mac 05:</x-tad-smaller><x-tad-smaller> 0x00 20 D6 9C 5E DA </x-tad-smaller><x-tad-smaller>RSSI:</x-tad-smaller><x-tad-smaller> 119 </x-tad-smaller>
<x-tad-smaller>(over last minute)</x-tad-smaller><x-tad-smaller>

</x-tad-smaller><x-tad-smaller>Association Mac 06:</x-tad-smaller><x-tad-smaller> 0x00 20 D6 9C 57 D5 </x-tad-smaller><x-tad-smaller>RSSI:</x-tad-smaller><x-tad-smaller> 131 </x-tad-smaller>
<x-tad-smaller>(over last minute)</x-tad-smaller><x-tad-smaller>

</x-tad-smaller><x-tad-smaller>Association Mac 07:</x-tad-smaller><x-tad-smaller> 0x00 20 D6 94 B7 60 </x-tad-smaller><x-tad-smaller>RSSI:</x-tad-smaller><x-tad-smaller> 128 </x-tad-smaller>
<x-tad-smaller>(over last minute)</x-tad-smaller><x-tad-smaller>
</x-tad-smaller>
<x-tad-smaller>Last updated Mar 14, 16:20:29; interval: 30 seconds

\B5\BreezeAccess II Device Information\0P\
\4\Associations reading:\0\ ${brzaccNumOfAssociated} \3IG\(over last minute)\P0M\
\4\${eval: strlen("$brzaccAssociated1") ? "\4\Association Mac 01:\0\ $brzaccAssociated1 \4\RSSI:\0\ ${brzaccAssociatedrssi1} \3IG\(over last minute)\P0M\" : ""} ${eval: strlen("$brzaccAssociated2") ? "
\4\Association Mac 02:\0\ $brzaccAssociated2 \4\RSSI:\0\ ${brzaccAssociatedrssi2} \3IG\(over last minute)\P0M\" : ""} ${eval: strlen("$brzaccAssociated3") ? "
\4\Association Mac 03:\0\ $brzaccAssociated3 \4\RSSI:\0\ ${brzaccAssociatedrssi3} \3IG\(over last minute)\P0M\" : ""} ${eval: strlen("$brzaccAssociated4") ? "
\4\Association Mac 04:\0\ $brzaccAssociated4 \4\RSSI:\0\ ${brzaccAssociatedrssi4} \3IG\(over last minute)\P0M\" : ""} ${eval: strlen("$brzaccAssociated5") ? "
\4\Association Mac 05:\0\ $brzaccAssociated5 \4\RSSI:\0\ ${brzaccAssociatedrssi5} \3IG\(over last minute)\P0M\" : ""} ${eval: strlen("$brzaccAssociated6") ? "
\4\Association Mac 06:\0\ $brzaccAssociated6 \4\RSSI:\0\ ${brzaccAssociatedrssi6} \3IG\(over last minute)\P0M\" : ""} ${eval: strlen("$brzaccAssociated7") ? "
\4\Association Mac 07:\0\ $brzaccAssociated7 \4\RSSI:\0\ ${brzaccAssociatedrssi7} \3IG\(over last minute)\P0M\" : ""} ${eval: strlen("$brzaccAssociated8") ? "
\4\Association Mac 08:\0\ $brzaccAssociated8 \4\RSSI:\0\ ${brzaccAssociatedrssi8} \3IG\(over last minute)\P0M\" : ""} ${eval: strlen("$brzaccAssociated9") ? "
\4\Association Mac 09:\0\ $brzaccAssociated9 \4\RSSI:\0\ ${brzaccAssociatedrssi9} \3IG\(over last minute)\P0M\" : ""}

</x-tad-smaller>
Thanks
Bennie

On Mar 14, 2005, at 7:21 AM, Ian Struckhoff wrote:

Bennie,

Here is an example. You will need to change the variables for your own use, etc.. The following would be in the display area:

\4\ Shown Variable:\0\ $shownVar ${eval: strlen("$optionalVar") ? "
\4\ Optional Variable:\0\" : " "} ${eval: strlen("$frequency") ? $frequency : " "}

This example assumes that you may want to hide a variable after another variable that is always shown. I am including the line above because part of the work done here is before the line break. (A line break is included in something that may be hidden.)

Stepping through, this probe displays "Shown Variable" followed by the variable shownVar. Then there is an evaluation statement. If the length of the variable is one or greater, then InterMapper will display a line break followed by "Optional Variable". If the length of the variable is zero, it will insert a space. Then there is a second similar evaluation that will display the variable itself if it has a length greater than zero, and will otherwise insert a second space.

The net result is that if optionalVar has no content, then two invisible spaces are inserted at the end of the line above. If optionalVar has content, then a new line is inserted in the display, showing the description of the variable followed by the value of the variable.

I hope you find this helpful. Please let us know if you have any more questions.

Thank you,
Ian Struckhoff
Tech Support
Dartware, LLC

On Mar 8, 2005, at 7:53 PM, Bennie Warren wrote:

Could you give a sample of not showing something in the display based on a wrong value? I haven't found the eval statement in the online manual. I am still looking though.

Thanks
Bennie

On Mar 8, 2005, at 7:27 AM, Ian Struckhoff wrote:

Bennie,

The custom SNMP probes aren't scriptable, and don't have a method to display an entire table of unknown or dynamic length. We are looking into what additional support we may be able to add in the future.

However, there are a wide array of functions available in a custom probe, so almost anything is possible if you are willing to create a very complex probe.

For instance, combining an eval and the strlen() function, you can effectively decide whether or not to display part of the display for a probe depending on whether a variable has a value.

I hope this is helpful. Please let us know if you have any further questions.

Thanks,
Ian Struckhoff
Tech Support
Dartware, LLC

On Mar 5, 2005, at 6:12 PM, Bennie Warren wrote:

Is it possible to use scripts with SNMP Probes? I want to check all rows of a mib and only show the full ones. I am using this with Alvarion radios. I will get all rows of associated radio's hard coded into the probe and only show the rows that are populated based on the mib that shows the number of associations.

Thanks
Bennie

--
**************************************
Bennie Warren
LemooreNet
320 West D Street Lemoore, CA 93245
Phone: 559.924.5909 Fax 559.924.9578
[EMAIL PROTECTED]
http://www.lemoorenet.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]

--
**************************************
Bennie Warren
LemooreNet
320 West D Street Lemoore, CA 93245
Phone: 559.924.5909 Fax 559.924.9578
[EMAIL PROTECTED]
http://www.lemoorenet.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]

--
**************************************
Bennie Warren
LemooreNet
320 West D Street Lemoore, CA 93245
Phone: 559.924.5909 Fax 559.924.9578
[EMAIL PROTECTED]
http://www.lemoorenet.com
**************************************

Reply via email to