Skip navigation
1 2 3 Previous Next 34936 Views 36 Replies Latest reply: May 9, 2012 10:00 AM by Fabio Baptista RSS
Matt Ray Rank: Zen Master 2,484 posts since
Apr 5, 2008
Currently Being Moderated

Dec 4, 2008 5:57 PM

New Community Zenoss Tray Applet

Zenossian Nathaniel McCallum has written a new tray applet for
monitoring Zenoss installations remotely. It sits in your desktop tray
and shows the current count of events and the highest severity. From
there you can view event details, acknowledge them, add notes and send
them to history. It can also be used to monitor multiple Zenoss
installations. It is currently only tested on Linux, but porting it to
other platforms should be fairly straightforward since it's GTK and
support exists for Windows, OSX and other platforms. Eventually it
should be ported to more platforms, add more features like alert
sounds and whatever the community can come up with. More developers
are encouraged to pitch in, this is already a very handy applet!

Thanks Nathaniel!
http://sourceforge.net/projects/zapplet/

Thanks,
Matt Ray
Zenoss Community Manager
community.zenoss.com
mray@zenoss.com



_______________________________________________
zenoss-users mailing list
zenoss-users@zenoss.org
http://lists.zenoss.org/mailman/listinfo/zenoss-users
  • Currently Being Moderated
    1. Dec 5, 2008 2:23 PM (in response to Matt Ray)
    New Community Zenoss Tray Applet
    Matt Ray wrote:

     

     

    Zenossian Nathaniel McCallum has written a new tray applet for
    monitoring Zenoss installations remotely. It sits in your desktop tray
    and shows the current count of events and the highest severity. From
    there you can view event details, acknowledge them, add notes and send
    them to history. It can also be used to monitor multiple Zenoss
    installations. It is currently only tested on Linux, but porting it to
    other platforms should be fairly straightforward since it’s GTK and
    support exists for Windows, OSX and other platforms. Eventually it
    should be ported to more platforms, add more features like alert
    sounds and whatever the community can come up with. More developers
    are encouraged to pitch in, this is already a very handy applet!

    As the author, I'd like to further encourage people to join in to add
    their own pet features. I'm glad to help in any way I can.

    Nathaniel
    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users
  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    2. Dec 7, 2008 5:03 AM (in response to Guest )
    RE: New Community Zenoss Tray Applet
    can someone write a small howto to make it working on windows xp?

    i make a google search on how install gtk for windows but it's not so immediate...

    i think this can be a good start
    http://faq.pygtk.org/index.py?req=show&file=faq21.001.htp
  • Currently Being Moderated
    3. Dec 8, 2008 11:10 AM (in response to Andrea Consadori)
    New Community Zenoss Tray Applet
    Right now it won't work on Windows. This is mostly due to the fact that
    we need to add registry support. Once registry support is added, its a
    matter of packaging it all together with the required dependencies.

    We'd like to have this as a feature for the next release, but I'd really
    like to have someone with windows and py2exe experience to help out.

    konsa79 wrote:

     

     

    can someone write a small howto to make it working on windows xp?

    i make a google search on how install gtk for windows but it's not so immediate...







    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users


    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users
  • ewall Rank: Green Belt 145 posts since
    Nov 5, 2008
    Currently Being Moderated
    4. Dec 8, 2008 5:39 PM (in response to Guest )
    RE: New Community Zenoss Tray Applet
    I can probably help with the Windoze support.

    (In fact, just last week I was tweaking Todd Davis' ZenTrayIcon applet, which does roughly the same thing--but I hadn't yet put the source code & executable online!)
  • Currently Being Moderated
    5. Dec 11, 2008 9:31 AM (in response to ewall)
    New Community Zenoss Tray Applet
    Basically, you can just fill in the OSFunctions stub class with support
    for reading/writing configuration to/from the registry. That would make
    it at least work on Windows. Then you just need some integration, like
    making sure that all the dependencies are installed or there is a single
    executable (py2exe). You could also make the applet autostart on login.

    Nathaniel

    ewall wrote:

     

     

    I can probably help with the Windoze support.

    (In fact, just last week I was tweaking Todd Davis' ZenTrayIcon applet, which does roughly the same thing--but I hadn't yet put the source code & executable online!)







    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users


    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users
  • ewall Rank: Green Belt 145 posts since
    Nov 5, 2008
    Currently Being Moderated
    6. Dec 19, 2008 11:53 AM (in response to Guest )
    RE: New Community Zenoss Tray Applet
    I'm halfway done with the code updates for Windows, maybe finishing early next week (in time for Christmas!). I'll use py2exe and make an EXE, with ZIP and MSI installations, too.

    NMcCallum, can you add me to the Sourceforge project so I can submit the changes to os.py? My SF username is 'ewall'.

    (Also, for those of you who can't wait until Christmas, you can check out a similar program which is already working for Windows at http://www.zenoss.com/community/wiki/user-contributed/ZenTrayIcon)
  • ewall Rank: Green Belt 145 posts since
    Nov 5, 2008
    Currently Being Moderated
    8. Dec 29, 2008 2:37 PM (in response to Matt Ray)
    RE: New Community Zenoss Tray Applet
    Windows compatibility tweaks are now working, and the code has been updated on SourceForge. This little program is quite spiffy!

    I have not, however, uploaded the zip or setup file so the Windows binaries could be downloaded directly from SF.net. Matt or Nathaniel, just give the word and I can do that... Thanks!
  • Currently Being Moderated
    9. Dec 29, 2008 3:01 PM (in response to ewall)
    New Community Zenoss Tray Applet
    ewall wrote:

     

     

    Windows compatibility tweaks are now working, and the code has been updated on SourceForge. This little program is quite spiffy!

    I have not, however, uploaded the zip or setup file so the Windows binaries could be downloaded directly from SF.net. Matt or Nathaniel, just give the word and I can do that... Thanks!

    Within the next week or so I'm going to land a rewrite which modularizes
    things much more. The windows code will be merged into that rewrite, so
    don't worry about that.

    So my 0.2 release features are:
    1. Windows support (including setup file, etc)
    2. Search zenoss.com for event summaries
    3. Modular codebase

    Is there anything else for 0.2?

    For 0.3, I'd like us to target:
    1. Audible warnings (pygstreamer?)
    2. Mac OS X support
    3. Event view filtering (i.e. device class, location, etc)

    Anything else for 0.3?

    Nathaniel
    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users
  • ewall Rank: Green Belt 145 posts since
    Nov 5, 2008
    Currently Being Moderated
    10. Dec 29, 2008 3:36 PM (in response to Guest )
    RE: New Community Zenoss Tray Applet
    Great!

    One suggestion: a 'Close' button for the EventView window? (It's easy enough to click on the systray icon again, but still...) At least as I'm seeing it, the EventView isn't behaving like a "normal" window--e.g. it has no title nor min/max/close boxes, can't be moved, etc.--but it probably could or should.

    I'd love to add the OS X support, but I don't have a system to test it on right now sad
  • Currently Being Moderated
    11. Dec 29, 2008 4:03 PM (in response to ewall)
    New Community Zenoss Tray Applet
    ewall wrote:

     

     

    Great!

    One suggestion: a 'Close' button for the EventView window? (It's easy enough to click on the systray icon again, but still...) At least as I'm seeing it, the EventView isn't behaving like a "normal" window--e.g. it has no title nor min/max/close boxes, can't be moved, etc.--but it probably could or should.

    I'd love to add the OS X support, but I don't have a system to test it on right now :(

    The applet is an "extension" of the panel. It should always be the same
    size and have a fixed location. For examples of this, see:
    1. GNOME Clock -
    http://scribez.files.wordpress.com/2006/08/screenshot-calendar.png?w=260
    2. Hamster Applet -
    http://projecthamster.files.wordpress.com/2008/03/menu.png
    3. NetworkManager -
    http://blog.marcelotoledo.org/wp-content/uploads/2007/09/network-manager.jpg

    etc...

    In short, I'm following a very long tradition of good UI design. :)

    Nathaniel
    _______________________________________________
    zenoss-users mailing list
    zenoss-users@zenoss.org
    http://lists.zenoss.org/mailman/listinfo/zenoss-users
  • ewall Rank: Green Belt 145 posts since
    Nov 5, 2008
    Currently Being Moderated
    12. Dec 29, 2008 4:50 PM (in response to Guest )
    Re: New Community Zenoss Tray Applet

    "nmccallum at zenoss.com" wrote:

     

    The applet is an "extension" of the panel. It should always be the same size and have a fixed location.



    Ah, yes... makes perfect sense. Maybe then it's a Windoze bug we should fix then, since the fixed location there ends up being the upper-left corner of the screen, rather than near the systray.
  • ewall Rank: Green Belt 145 posts since
    Nov 5, 2008
    Currently Being Moderated
    13. Dec 29, 2008 6:03 PM (in response to ewall)
    Re: New Community Zenoss Tray Applet
    Oh, poop. I just did a little more testing, and found that the Windows EXE doesn't work very well on a PC that doesn't have the GTK runtimes. I'll probably need to tweak the setup.py some more to get all the pieces.
  • dchuha Newbie 3 posts since
    Dec 4, 2008
    Currently Being Moderated
    14. Dec 31, 2008 4:11 PM (in response to ewall)
    Re: New Community Zenoss Tray Applet

    "nmccallum at zenoss.com" wrote:

     


    The applet is an "extension" of the panel. It should always be the same size and have a fixed location.



    The applet also seems to have trouble under KDE (both 3 and 4). The window appears in the middle of the screen there. Also left click causes the applet window to hide. It works perfectly under Gnome. I plan on looking at this when I have time. There should be some type of workaround.

    Also, ewall, I think for your windows functions have you thought about using pickle to store the values as strings in the registry? I tried it and is seems to work (despite the entries in the registry being ugly).
1 2 3 Previous Next

More Like This

  • Retrieving data ...