nagios screen saver? :-) [slightly off topic]
Bruce
bruce at webfarm.co.nz
Mon Aug 30 09:44:33 CEST 2004
Hi, this maybe a little offtopic...
Does anyone know of a good Microscum^H^H^Hoft Windows program do to the
same type of text to screen saver?
It would be great to throw this as the screen saver of my windows machine.
Cheers,
--
+------------------------------------------+ \|||/
| Bruce at WebFarm.co.nz +64 06 7572881 | (o o)
| Systems Technician +---ooO-(_)-Ooo---+
| |
| WebFarm http://www.webfarm.co.nz |
| FreeParking http://www.freeparking.co.nz |
+------------------------------------------------------------+
... FreeParking - NZ's best value Domain, WebHosting and email accounts - bar none
... WebFarm - NZ's eCommerce specialists since 1997
Dan Stromberg wrote:
>I really liked this idea, so I put something together to do it:
>
>#!/bin/bash
>wget \
> --http-user='username' \
> --http-passwd='password' \
> -O $HOME/nagios-dump \
>'http://nsc-3.nacs.uci.edu/nagios/cgi-bin/status.cgi?hostgroup=strombrg%2Dmachines&style=overview' 2> /dev/null
>links -dump-width 120 -dump $HOME/nagios-dump | \
> egrep 'UP|DOWN|OK|WARNING|CRITICAL' | \
> sed \
> -e 's/\[[0-9]\]/ /g' \
> -e 's/\[[0-9][0-9]\]/ /g' \
> -e 's/\[[0-9][0-9][0-9]\]/ /g' \
> -e 's/\[[0-9][0-9][0-9][0-9]\]/ /g' \
> -e 's/|/ /g' \
> -e 's/View.*$//' | \
> awk ' { if (NF == 4) { printf("%-40s %-5s %-5s
>%s\n",$1,$2,$3,$4)}; if (NF == 2) { printf("%46s %-5s %s\n"," ",$1,$2)}
>}'
>
>I'm calling it from:
>
> starwars -root -program \
> $HOME/bin/nagios-fortune -delay 0 \n\
>
>...in $HOME/.xscreensaver.
>
>Now if I could just find a way to highlight the Criticals with a
>different color or something...
>
>BTW, some of those sed patterns are unnecessary, but they shouldn't hurt
>things. I kind of changed approaches midstream, and then didn't clean
>up afterward.
>
>On Thu, 2004-08-26 at 01:58, Tedman Eng wrote:
>
>
>>There's the fortune-mod X screensaver that lets you configure the executable
>>location for the fortune-mod program. You could always just have the
>>fortune executable be actaully a script that polls the nagios server for
>>status.
>>
>>-----Original Message-----
>>From: mike [mailto:lists01 at dds.uconn.edu]
>>Sent: Wednesday, August 25, 2004 3:05 PM
>>To: nagios-users at lists.sourceforge.net
>>Subject: [Nagios-users] nagios screen saver? :-)
>>
>>
>>we have a system set up that displays a nagios window 24x7. i'm
>>wondering how hard it would be to create an X screen saver that floats a
>>nagios summary around on the screen? :-)
>>
>>
>>-------------------------------------------------------
>>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>>_______________________________________________
>>Nagios-users mailing list
>>Nagios-users at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagios-users
>>::: Please include Nagios version, plugin version (-v) and OS when reporting
>>any issue.
>>::: Messages without supporting info will risk being sent to /dev/null
>>
>>
>>-------------------------------------------------------
>>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
>>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
>>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
>>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
>>_______________________________________________
>>Nagios-users mailing list
>>Nagios-users at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagios-users
>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
>>::: Messages without supporting info will risk being sent to /dev/null
>>
>>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list