Jakob,

This sounds like a really good idea (having icons change their appearance based on the 
state of the monitored device).

However, the idea of superimposing text on the icon (like the Mail icon in the Dock) 
seems like the wrong way to add custom text to an IM icon.

My preferred solution would be to add more intelligence to the icon label text.  You 
could have the label text reflect the results of an SNMP query, and not have to draw 
an icon (or have a special API to superimpose text over an icon).

I've wanted more intelligence in the label text engine for quite a while.  I'd like to 
be able to do string operations and math operations on SNMP OIDs and display the 
result in the icon text.  Something like the AppleScript "chunk expressions" would 
work great.  

Is there a good way to stick AppleScript (or Perl, or shell script, or awk, or sed) 
code in a label text and have it evaluated each time the device is polled?  Or would 
it make more sense to write a custom interpreter and build it in to IM?

Or is this just a silly idea in general? :)



-- 
Doug Weathers, Network Administrator
St. Charles Medical Center


>>> [EMAIL PROTECTED] 02/15/03 04:18PM >>>
Hi All.

As the icon.freak I am, I need to bring this up...  ;-)

Now that we have support for PNG & JPEG icons, I would like to suggest 
that IM adds to the icon support, so Icons can show the State of the 
device.

If we have a situation with the following icons:

ups.up.png (or: ups.ok.png)
ups.warning.png
ups.down.png
ups.<snmpstate>.png

InterMapper should then show the 'ups.up.png' in the Custom Icons 
selection, and use the other when the device moves to these states.

<snmpstate> could be in response to TRAP's from the device.
Imagine an UPS sending the trap: "Moved to Battery operation", and then 
IM shows the ups.onbattery.png image.

Icons could also be set to react on a variable in the probe. Like the 
disk space remaining.
Maybe icons could move one probe variable onto the icon, just as the 
Dock does. Having the number of current email in the queue on the 
mailserver, could be cool! Or number of clients connected to that 
AirPort basestation...

I think that would be Great!



        Jakob Peterh�nsel

'I don't have to try to be a sex bomb, I am one!'
-Kylie Minogue

Email: [EMAIL PROTECTED] 
AIM: Marook

____________________________________________________________________
Note: To unsubscribe from this mailing list, please send email to:
<mailto:[EMAIL PROTECTED]> Thanks!




____________________________________________________________________
Note: To unsubscribe from this mailing list, please send email to:
<mailto:[EMAIL PROTECTED]> Thanks!

Reply via email to