Xymon Mailing List Archive search

Xymon Themes

28 messages in this thread

list T.J. Yang · Tue, 11 Nov 2008 17:15:43 -0600 ·
I put some info about Xymon Themes that  I know on hobbitmon/sandbox/themes

http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/sandbox/themes/


tj
list Christopher Garrett · Wed, 12 Nov 2008 09:04:49 +0000 ·
Hi,

If a new theme is being considered, as well as a logo, I'd like you to see what our current hobbit installation looks like (see attached).  I like the fact that the display is clear at a distance on the default hobbit look - the black background really makes things stand out more than a white background - so I haven't changed that aspect of it.  I've just changed the icons and the layout somewhat.

The black background lends hobbit a different feel to its competitors out there at the moment (big sister, nagios etc) and (I think) makes the display clearer - I would be keen to retain that.

Also (and I think someone else has mentioned this) please consider colour blindness in any new theme.  Two of my fellow sysadmins are red-green colour blind. The current default is good because it uses saturated colours and animated/shaped icons despite its basis on red, green and yellow.

Finally, I would like to mention that it would be really really nice if a future version of hobbit made more use of CSS and was a little more themer-friendly.

Best regards,

Chris.
quoted from T.J. Yang
I put some info about Xymon Themes that  I know on hobbitmon/sandbox/themes
http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/sandbox/themes/
tj
Attachments (1)
list Thomas Séglard · Wed, 12 Nov 2008 10:23:23 +0100 ·
Hi Christopher !

I really like your theme. As you said, it's really clear and simple. Any 
chance you share with us your material to build it ? Maybe you can post 
it to the Shire (if you want, of course) ? I also second you when you 
asked for a more themer-friendly version of Xymon !
Best regards,

ThomaS
quoted from Christopher Garrett


Christopher Garrett a écrit :
Hi,

If a new theme is being considered, as well as a logo, I'd like you to see what our current hobbit installation looks like (see attached).  I like the fact that the display is clear at a distance on the default hobbit look - the black background really makes things stand out more than a white background - so I haven't changed that aspect of it.  I've just changed the icons and the layout somewhat.

The black background lends hobbit a different feel to its competitors out there at the moment (big sister, nagios etc) and (I think) makes the display clearer - I would be keen to retain that.

Also (and I think someone else has mentioned this) please consider colour blindness in any new theme.  Two of my fellow sysadmins are red-green colour blind. The current default is good because it uses saturated colours and animated/shaped icons despite its basis on red, green and yellow.

Finally, I would like to mention that it would be really really nice if a future version of hobbit made more use of CSS and was a little more themer-friendly.

Best regards,

Chris.

  
I put some info about Xymon Themes that  I know on hobbitmon/sandbox/themes
http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/sandbox/themes/
tj
    
list Christopher Garrett · Wed, 12 Nov 2008 09:51:52 +0000 ·
Hi Thomas

I've actually changed a heck of a lot of files within hobbit to achieve this look (headers, footers, some of the scripts that generate web pages) in order to make more consistent use of CSS, so it is not upgrade-friendly at all unfortunately.  I consider it a little bit hacky.

However, I can certainly try to get a collection of files together for people to look at on The Shire.  I would imagine it would only work with version 4.2.0.

How should I go about getting the files onto the Shire?

Best regards,

Chris.

Chris Garrett
UNIX Administrator
MISD Operations Group, University of Cambridge
01223-(7)66687
quoted from Thomas Séglard
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: 12 November 2008 09:23
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Xymon Themes

Hi Christopher !

I really like your theme. As you said, it's really clear and simple. Any
chance you share with us your material to build it ? Maybe you can post
it to the Shire (if you want, of course) ? I also second you when you
asked for a more themer-friendly version of Xymon !
Best regards,

ThomaS


Christopher Garrett a écrit :
Hi,

If a new theme is being considered, as well as a logo, I'd like you to
see what our current hobbit installation looks like (see attached).  I
like the fact that the display is clear at a distance on the default
hobbit look - the black background really makes things stand out more than
a white background - so I haven't changed that aspect of it.  I've just
changed the icons and the layout somewhat.

The black background lends hobbit a different feel to its competitors
out there at the moment (big sister, nagios etc) and (I think) makes the
display clearer - I would be keen to retain that.

Also (and I think someone else has mentioned this) please consider

colour blindness in any new theme.  Two of my fellow sysadmins are red-
green colour blind. The current default is good because it uses saturated
quoted from Thomas Séglard
colours and animated/shaped icons despite its basis on red, green and
yellow.

Finally, I would like to mention that it would be really really nice if
a future version of hobbit made more use of CSS and was a little more
themer-friendly.

Best regards,

Chris.

I put some info about Xymon Themes that  I know on
hobbitmon/sandbox/themes
http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/sandbox/themes/
tj
list Thomas Séglard · Wed, 12 Nov 2008 10:58:33 +0100 ·
Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate on-demand/automatised PDF reports with the help of the RRD data produced by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor everything, of course :) Besides, I discovered the library 'tcpdf' which is very good and efficient. So, I decided to bring back my reports and have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is based on 'libfpdf' and now everything works again :) But this time, I really want to share this work with you on the Shire or whatever. I need to know if some of you are interested by these reports... Thus, just let me know.

Best regards,

ThomaS
list Johann Eggers · Wed, 12 Nov 2008 11:08:51 +0100 ·
quoted from Thomas Séglard
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Mittwoch, 12. November 2008 10:59
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.

Best regards,

ThomaS

Yes, yes!!

Could you describe what kind of reports you are generating?

Thx
-Johann
list Martin Flemming · Wed, 12 Nov 2008 11:14:25 +0100 (CET) ·
Hi, Thomas ..

i'm very interesting and other too, i think :-)

.. the shire will be the right place ..

cheers,
 	martin
quoted from Thomas Séglard

On Wed, 12 Nov 2008, Thomas Séglard wrote:
Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate on-demand/automatised PDF reports with the help of the RRD data produced by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor everything, of course :) Besides, I discovered the library 'tcpdf' which is very good and efficient. So, I decided to bring back my reports and have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is based on 'libfpdf' and now everything works again :) But this time, I really want to share this work with you on the Shire or whatever. I need to know if some of you are interested by these reports... Thus, just let me know.

Best regards,

ThomaS

list Stef Coene · Wed, 12 Nov 2008 12:36:38 +0100 ·
quoted from Thomas Séglard
On Wednesday 12 November 2008, Thomas Séglard wrote:
Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.
I was asked a related question.  For our SLA, I need the "Availability Report" 
in a printable version.  And only a subset of the checks (ping is the most 
important).  The layout can be simple, only the numbers is a start.

Of course, it it looks pretty (not just a bunch a of % but some pie charts or 
graphs), that's a surplus.
It would also be great if I can exclude the maintenance windows out of the 
calculations.


Stef
list T.J. Yang · Wed, 12 Nov 2008 05:58:26 -0600 ·

From: "Martin Flemming" <user-f286aaa49a76@xymon.invalid>
Sent: Wednesday, November 12, 2008 4:14 AM
To: <user-ae9b8668bcde@xymon.invalid>
Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports
Hi, Thomas ..

i'm very interesting and other too, i think :-)
Second that.
you can post your script here, I will upload the script to svn repository.

Or request an account from Henrik and upload the script yourself.

I have a pet project to write a oscount hobbit server side module by modifying
Henrik's rootlogin perl script. The script is to display statistics of OS types and their verions.
This is useful for management to understand how many Solaris 2.5.1, 2.6 are still hanging around
in a big IT environment.


tj
quoted from Stef Coene
.. the shire will be the right place ..

cheers,
 martin

On Wed, 12 Nov 2008, Thomas Séglard wrote:
Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced by
Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to include
PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor everything,
of course :) Besides, I discovered the library 'tcpdf' which is very good and
efficient. So, I decided to bring back my reports and have them to work with
'tcpdf'. Modifications were easy since 'tcpdf' is based on 'libfpdf' and now
everything works again :) But this time, I really want to share this work
with you on the Shire or whatever. I need to know if some of you are
interested by these reports... Thus, just let me know.

Best regards,

ThomaS

list Jason Hand · Wed, 12 Nov 2008 12:33:17 +0000 ·
Yes, I would be interested.  :)

Thanks,
Jason
------Original Message------
From: Johann Eggers
To: user-ae9b8668bcde@xymon.invalid
ReplyTo: user-ae9b8668bcde@xymon.invalid
Sent: Nov 12, 2008 5:08 AM
quoted from T.J. Yang
Subject: RE: [hobbit] [Hobbit/Xymon] PDF Reports
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Mittwoch, 12. November 2008 10:59
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.

Best regards,

ThomaS

Yes, yes!!

Could you describe what kind of reports you are generating?

Thx
-Johann


Sent from my Verizon Wireless BlackBerry
list Michael Nemeth · Wed, 12 Nov 2008 07:34:06 -0500 ·
quoted from T.J. Yang
|I have a pet project to write a oscount hobbit server side module by modifying
|Henrik's rootlogin perl script. The script is to display statistics of OS types and their verions.

Maybe this will help you with your project
This is what  to "parse " ps output on the server side to chech for running back-up (save -s).
Watch out for line wraps
#!/usr/local/bin/perl

#*----------------------------------------------------------------------------*/
#* Hobbit client message processor.                                           */
#*                                                                            */
#* This perl program shows how to create a server-side module using the       */
#* data sent by the Hobbit clients. This program is fed data from the         */
#* Hobbit "client" channel via the hobbitd_channel program; each client       */
#* message is processed by looking at the [who] section and generates         */
#* a "login" status that goes red when an active "root" login is found.       */
#*                                                                            */
#* Written 2007-Jan-28 by Henrik Storner <user-ce4a2c883f75@xymon.invalid>                     */
#*                                                                            */
#* This program is in the public domain, and may be used freely for           */
#* creating your own Hobbit server-side modules.                              */
#* Henrik's script was modified by me, Mike Nemeth user-609d3fab5b2d@xymon.invalid    */
#*  the rootlogin.pl which parses the [who] section was changed to parse      */
#*  the [ps] of client data.                                                  */
#*  Often Ive seen people ask how to monitor a certain proccess and have      */
#*  a separted test/column for it This works for me!                          */
#*                                                                            */
#*----------------------------------------------------------------------------*/

# $Id: rootlogin.pl,v 1.1 2007/01/28 12:42:34 henrik Exp $
# look for back-ups running: save  -s

my $bb;
my $bbdisp;
my $hobbitcolumn = "bkup";
my $hostname = "";
my $msgtxt = "";
my %sections = ();
my $cursection = "";

sub processmessage;


# Get the BB and BBDISP environment settings.
$bb = $ENV{"BB"} || die "BB not defined";
$bbdisp = $ENV{"BBDISP"} || die "BBDISP not defined";


# Main routine.
#
# This reads client messages from <STDIN>, looking for the
# delimiters that separate each message, and also looking for the
# section markers that delimit each part of the client message.
# When a message is complete, the processmessage() subroutine
# is invoked. $msgtxt contains the complete message, and the
# %sections hash contains the individual sections of the client
# message.

while ($line = <STDIN>) {
        if ($line =~ /^\@\@client\#/) {
                # It's the start of a new client message - the header looks like this:
                # @@client#830759/HOSTNAME|1169985951.340108|10.60.65.152|HOSTNAME|sunos|sunos

                # Grab the hostname field from the header
                @hdrfields = split(/\|/, $line);
                $hostname = $hdrfields[3];

                # Clear the variables we use to store the message in
                $msgtxt = "";
                %sections = ();
        }
        elsif ($line =~ /^\@\@/) {
                # End of a message. Do something with it.
                processmessage();
        }
        elsif ($line =~ /^\[(.+)\]/) {
                # Start of new message section.

                $cursection = $1;
                $sections{ $cursection } = "\n";
        }
        else {
                # Add another line to the entire message text variable,
                # and the the current section.
                $msgtxt = $msgtxt . $line;
                $sections{ $cursection } = $sections{ $cursection } . $line;
        }
}


# This subroutine processes the client message. In this case,
# we watch the [ps] section of the client message and alert
# if our string is found: save -s meaning backs are  active.


sub processmessage {
        my $color;
        my $summary;
        my $statusmsg;
        my $cmd;
        my $cmdl;

        # Dont do anything unless we have the "ps" section
        return unless ( $sections{"ps"} );

        # Is the string/process  somewhere in the "ps" section?
        # Note that we must match with /m because there are multiple
        # lines in the [ps] section.
        if (  ($cmdl) = $sections{"ps"} =~ /(save.+-s.*)/  ) {
                $color = "yellow";
                $summary = "There MAYBE active backups" ;
#                $statusmsg = "&yellow " .  $cmdl .  $sections{"ps"};
# sendins out the entire ps section seam to cause some purples so just send the match `, hey you've a proc column all ready.
                $statusmsg = "&yellow " .  $cmdl ;
        }
        else {
                $color = "green";
                $summary = "Ok";
                $statusmsg = "&green No backup active\n\n";
        }
        # Build the command we use to send a status to the Hobbit daemon
        $cmd = $bb . " " . $bbdisp . " \"status " . $hostname . "." . $hobbitcolumn . " " . $color . " " . $summary . "\n\n"
 . $statusmsg . "\"";
        # And send the message
        system $cmd;
quoted from T.J. Yang
}


T.J. Yang wrote:

From: "Martin Flemming" <user-f286aaa49a76@xymon.invalid>
Sent: Wednesday, November 12, 2008 4:14 AM
To: <user-ae9b8668bcde@xymon.invalid>
Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports
Hi, Thomas ..

i'm very interesting and other too, i think :-)
Second that.
you can post your script here, I will upload the script to svn repository.

Or request an account from Henrik and upload the script yourself.

I have a pet project to write a oscount hobbit server side module by modifying
Henrik's rootlogin perl script. The script is to display statistics of OS types and their verions.
This is useful for management to understand how many Solaris 2.5.1, 2.6 are still hanging around
in a big IT environment.


tj
.. the shire will be the right place ..

cheers,
 martin

On Wed, 12 Nov 2008, Thomas Séglard wrote:
Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced by
Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to include
PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor everything,
of course :) Besides, I discovered the library 'tcpdf' which is very good and
efficient. So, I decided to bring back my reports and have them to work with
'tcpdf'. Modifications were easy since 'tcpdf' is based on 'libfpdf' and now
everything works again :) But this time, I really want to share this work
with you on the Shire or whatever. I need to know if some of you are
interested by these reports... Thus, just let me know.

Best regards,

ThomaS

list Thomas Séglard · Wed, 12 Nov 2008 13:54:46 +0100 ·
Hi,

I forgot to describe what these reports looked... Sorry, I failed.

First, you have to know that these reports need a bunch of new files to be installed (mainly php and shell scripts).

Then, you have two kind of reports : simple and complex.

The "simple" ones are made of three pages and are about 150k-200k. On the first page, you'll find a title, a date, name of server, company logo. On the second and third page you will find 6 RRD graphes. These graphes are the most important, in my opinion, to understand if a server is in good health or not... So, the graphes are : cpu load, memory use, network use, cpu use, i/o wait and run-queue length. Of course, you can change and add yours if you want. Also, you can select if you want to display a daily/weekly/bi-weekly/monthly/annualy report of your server.

The "complex" reports, are exactly the same as the simple but you can drop some lines beneath the graphes. It could be nice if you have to explain the behaviour of your server to a non-techie person (i.e, management). These reports are bigger (~500k) and are 5 pages long.

By the way, I will take any advices and comments. I can send to you reports sample for those who cares.
Sincerly,

ThomaS
quoted from Johann Eggers


Johann Eggers a écrit :
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Mittwoch, 12. November 2008 10:59
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.

Best regards,

ThomaS
    
Yes, yes!!

Could you describe what kind of reports you are generating?

Thx
-Johann

list Thomas Séglard · Wed, 12 Nov 2008 14:42:58 +0100 ·
Hi,

what is the most simple ? The archive, containing all necessary files/scripts is about 200k. Please let me know.
Sincerly,

ThomaS
quoted from T.J. Yang


T.J. Yang a écrit :

From: "Martin Flemming" <user-f286aaa49a76@xymon.invalid>
Sent: Wednesday, November 12, 2008 4:14 AM
To: <user-ae9b8668bcde@xymon.invalid>
Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports
Hi, Thomas ..

i'm very interesting and other too, i think :-)
Second that.
you can post your script here, I will upload the script to svn repository.

Or request an account from Henrik and upload the script yourself.

I have a pet project to write a oscount hobbit server side module by modifying
Henrik's rootlogin perl script. The script is to display statistics of OS types and their verions.
This is useful for management to understand how many Solaris 2.5.1, 2.6 are still hanging around
in a big IT environment.


tj
.. the shire will be the right place ..

cheers,
 martin

On Wed, 12 Nov 2008, Thomas Séglard wrote:
Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced by
Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to include
PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor everything,
of course :) Besides, I discovered the library 'tcpdf' which is very good and
efficient. So, I decided to bring back my reports and have them to work with
'tcpdf'. Modifications were easy since 'tcpdf' is based on 'libfpdf' and now
everything works again :) But this time, I really want to share this work
with you on the Shire or whatever. I need to know if some of you are
interested by these reports... Thus, just let me know.

Best regards,

ThomaS

list David Gilmore · Wed, 12 Nov 2008 09:03:11 -0500 ·
Thomas,

I think I actually implemented your reports and found them to be a great idea.  At the time I ran into two problems, but did not have the time to dedicate to resolving.  My first issue was the reports would not run if any piece of data was missing.  Second, the text was in French.  The second part was almost easily overcome thanks to GOOGLE and lots of cutting and pasting.

I would be interested in trying this out again.  I would like to see if the reporting could be "expanded".  The error I ran into with missing data was due in part to the reports only looking at data collect from Unix/Linux clients.  The majority of my monitored systems are Windows boxes.

Dave
quoted from Thomas Séglard


-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Wednesday, November 12, 2008 4:59 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.

Best regards,

ThomaS


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
list Thomas Séglard · Wed, 12 Nov 2008 15:22:35 +0100 ·
Hi Dave,

maybe you tried the version I released last year ? I could send you the new version if you want.

The first issue is true if any graphes are missing. I will probably add checks to force display of reports even with no graphes on it. For the french texts, I know this is a big issue thus I've translated (nearly) everything in english. Sorry, to have not do that before :(

All my scripts were written in shell, thus they won't run on windows natively. Indeed, these shell scripts will generate five PNG files from the RRD collected by the Hobbit/Xymon server. I'm using the rrdtool command line to achieve this task. Maybe someone knows how to do that under Windows operating system.

Thanks for your feedback.

ThomaS
quoted from David Gilmore


David Gilmore a écrit :
Thomas,

I think I actually implemented your reports and found them to be a great idea.  At the time I ran into two problems, but did not have the time to dedicate to resolving.  My first issue was the reports would not run if any piece of data was missing.  Second, the text was in French.  The second part was almost easily overcome thanks to GOOGLE and lots of cutting and pasting.

I would be interested in trying this out again.  I would like to see if the reporting could be "expanded".  The error I ran into with missing data was due in part to the reports only looking at data collect from Unix/Linux clients.  The majority of my monitored systems are Windows boxes.

Dave


-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Wednesday, November 12, 2008 4:59 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.

Best regards,

ThomaS


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.

list David Gilmore · Wed, 12 Nov 2008 09:34:19 -0500 ·
Thomas,

Yes it is definitely your earlier version.

I am not attempting to run the reports on a Windows box, rather run them against data collected from Windows boxes.  That is when I run into the issue of missing graphs, and the reports error.  I do not recall which graph(s) causes the problem, but it is one where Unix/Linux provides data, but Windows does not.  Perhaps I can test and shoot you a direct email?
quoted from Thomas Séglard

Dave

-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Wednesday, November 12, 2008 9:23 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports

Hi Dave,

maybe you tried the version I released last year ? I could send you the
new version if you want.

The first issue is true if any graphes are missing. I will probably add
checks to force display of reports even with no graphes on it. For the
french texts, I know this is a big issue thus I've translated (nearly)
everything in english. Sorry, to have not do that before :(

All my scripts were written in shell, thus they won't run on windows
natively. Indeed, these shell scripts will generate five PNG files from
the RRD collected by the Hobbit/Xymon server. I'm using the rrdtool
command line to achieve this task. Maybe someone knows how to do that
under Windows operating system.

Thanks for your feedback.

ThomaS


David Gilmore a écrit :
Thomas,

I think I actually implemented your reports and found them to be a great idea.  At the time I ran into two problems, but did not have the time to dedicate to resolving.  My first issue was the reports would not run if any piece of data was missing.  Second, the text was in French.  The second part was almost easily overcome thanks to GOOGLE and lots of cutting and pasting.

I would be interested in trying this out again.  I would like to see if the reporting could be "expanded".  The error I ran into with missing data was due in part to the reports only looking at data collect from Unix/Linux clients.  The majority of my monitored systems are Windows boxes.

Dave


-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Wednesday, November 12, 2008 4:59 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.

Best regards,

ThomaS


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
list Greg Shea · Wed, 12 Nov 2008 09:44:18 -0500 ·
Hi Thomas,

I would be interested in your work as well!

Thanks
-Grs-
Gregory R Shea
EMC Corporation 
quoted from Thomas Séglard
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid] Sent: Wednesday, November 12, 2008 9:23 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports

Hi Dave,

maybe you tried the version I released last year ? I could send you the new version if you want.

The first issue is true if any graphes are missing. I will probably add checks to force display of reports even with no graphes on it. For the french texts, I know this is a big issue thus I've translated (nearly) everything in english. Sorry, to have not do that before :(

All my scripts were written in shell, thus they won't run on windows natively. Indeed, these shell scripts will generate five PNG files from the RRD collected by the Hobbit/Xymon server. I'm using the rrdtool command line to achieve this task. Maybe someone knows how to do that under Windows operating system.

Thanks for your feedback.

ThomaS


David Gilmore a écrit :
Thomas,

I think I actually implemented your reports and found them to be a great idea.  At the time I ran into two problems, but did not have the time to dedicate to resolving.  My first issue was the reports would not run if any piece of data was missing.  Second, the text was in French.  The second part was almost easily overcome thanks to GOOGLE and lots of cutting and pasting.

I would be interested in trying this out again.  I would like to see if the reporting could be "expanded".  The error I ran into with missing data was due in part to the reports only looking at data collect from Unix/Linux clients.  The majority of my monitored systems are Windows boxes.

Dave


-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Wednesday, November 12, 2008 4:59 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.

Best regards,

ThomaS


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.

list Galen Johnson · Wed, 12 Nov 2008 09:53:44 -0500 ·
That's easy...just create an account and add a new page...it might be a good fit on the "Add-ons" page or "Tutorials"...actually, a "How do I customize the Xymon Theme?" might be a good tutorial there.

=G=
quoted from Christopher Garrett

-----Original Message-----
From: Christopher Garrett [mailto:user-29709a3ca080@xymon.invalid] 
Sent: Wednesday, November 12, 2008 4:52 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Xymon Themes

Hi Thomas

I've actually changed a heck of a lot of files within hobbit to achieve this look (headers, footers, some of the scripts that generate web pages) in order to make more consistent use of CSS, so it is not upgrade-friendly at all unfortunately.  I consider it a little bit hacky.

However, I can certainly try to get a collection of files together for people to look at on The Shire.  I would imagine it would only work with version 4.2.0.

How should I go about getting the files onto the Shire?

Best regards,

Chris.

Chris Garrett
UNIX Administrator
MISD Operations Group, University of Cambridge
01223-(7)66687
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: 12 November 2008 09:23
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Xymon Themes

Hi Christopher !

I really like your theme. As you said, it's really clear and simple. Any
chance you share with us your material to build it ? Maybe you can post
it to the Shire (if you want, of course) ? I also second you when you
asked for a more themer-friendly version of Xymon !
Best regards,

ThomaS


Christopher Garrett a écrit :
Hi,

If a new theme is being considered, as well as a logo, I'd like you to
see what our current hobbit installation looks like (see attached).  I
like the fact that the display is clear at a distance on the default
hobbit look - the black background really makes things stand out more than
a white background - so I haven't changed that aspect of it.  I've just
changed the icons and the layout somewhat.

The black background lends hobbit a different feel to its competitors
out there at the moment (big sister, nagios etc) and (I think) makes the
display clearer - I would be keen to retain that.

Also (and I think someone else has mentioned this) please consider
colour blindness in any new theme.  Two of my fellow sysadmins are red-
green colour blind. The current default is good because it uses saturated
colours and animated/shaped icons despite its basis on red, green and
yellow.

Finally, I would like to mention that it would be really really nice if
a future version of hobbit made more use of CSS and was a little more
themer-friendly.

Best regards,

Chris.

I put some info about Xymon Themes that  I know on
hobbitmon/sandbox/themes
http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/sandbox/themes/
tj
list Christopher Garrett · Wed, 12 Nov 2008 14:56:59 +0000 ·
Thanks Galen.  I'll put something in the addons section once I get a momemt.
signature

Chris Garrett
UNIX Administrator
MISD Operations Group, University of Cambridge
01223-(7)66687
-----Original Message-----

quoted from Galen Johnson
From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid]
Sent: 12 November 2008 14:54
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Xymon Themes

That's easy...just create an account and add a new page...it might be a
good fit on the "Add-ons" page or "Tutorials"...actually, a "How do I
customize the Xymon Theme?" might be a good tutorial there.

=G=

-----Original Message-----
From: Christopher Garrett [mailto:user-29709a3ca080@xymon.invalid]
Sent: Wednesday, November 12, 2008 4:52 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Xymon Themes

Hi Thomas

I've actually changed a heck of a lot of files within hobbit to achieve
this look (headers, footers, some of the scripts that generate web pages)
in order to make more consistent use of CSS, so it is not upgrade-friendly
at all unfortunately.  I consider it a little bit hacky.

However, I can certainly try to get a collection of files together for
people to look at on The Shire.  I would imagine it would only work with
version 4.2.0.

How should I go about getting the files onto the Shire?

Best regards,

Chris.

Chris Garrett
UNIX Administrator
MISD Operations Group, University of Cambridge
01223-(7)66687
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: 12 November 2008 09:23
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Xymon Themes

Hi Christopher !

I really like your theme. As you said, it's really clear and simple. Any
chance you share with us your material to build it ? Maybe you can post
it to the Shire (if you want, of course) ? I also second you when you
asked for a more themer-friendly version of Xymon !
Best regards,

ThomaS


Christopher Garrett a écrit :
Hi,

If a new theme is being considered, as well as a logo, I'd like you to
see what our current hobbit installation looks like (see attached).  I
like the fact that the display is clear at a distance on the default
hobbit look - the black background really makes things stand out more
than
a white background - so I haven't changed that aspect of it.  I've just
changed the icons and the layout somewhat.

The black background lends hobbit a different feel to its competitors
out there at the moment (big sister, nagios etc) and (I think) makes the
display clearer - I would be keen to retain that.

Also (and I think someone else has mentioned this) please consider
colour blindness in any new theme.  Two of my fellow sysadmins are red-
green colour blind. The current default is good because it uses
saturated
colours and animated/shaped icons despite its basis on red, green and
yellow.

Finally, I would like to mention that it would be really really nice
if
a future version of hobbit made more use of CSS and was a little more
themer-friendly.

Best regards,

Chris.

I put some info about Xymon Themes that  I know on
hobbitmon/sandbox/themes
http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/sandbox/themes/
tj
--
--
list Martin Flemming · Wed, 12 Nov 2008 16:15:19 +0100 (CET) ·
I thought, the scripts/package should be uploaded on

svn-repository, wikki or shire, doesn't it ?
quoted from Greg Shea

cheers,
 	martin

On Wed, 12 Nov 2008, user-762ee872a5a4@xymon.invalid wrote:
Hi Thomas,

I would be interested in your work as well!

Thanks
-Grs-
Gregory R Shea
EMC Corporation

-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Wednesday, November 12, 2008 9:23 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports

Hi Dave,

maybe you tried the version I released last year ? I could send you the
new version if you want.

The first issue is true if any graphes are missing. I will probably add
checks to force display of reports even with no graphes on it. For the
french texts, I know this is a big issue thus I've translated (nearly)
everything in english. Sorry, to have not do that before :(

All my scripts were written in shell, thus they won't run on windows
natively. Indeed, these shell scripts will generate five PNG files from
the RRD collected by the Hobbit/Xymon server. I'm using the rrdtool
command line to achieve this task. Maybe someone knows how to do that
under Windows operating system.

Thanks for your feedback.

ThomaS


David Gilmore a écrit :
Thomas,

I think I actually implemented your reports and found them to be a great idea.  At the time I ran into two problems, but did not have the time to dedicate to resolving.  My first issue was the reports would not run if any piece of data was missing.  Second, the text was in French.  The second part was almost easily overcome thanks to GOOGLE and lots of cutting and pasting.

I would be interested in trying this out again.  I would like to see if the reporting could be "expanded".  The error I ran into with missing data was due in part to the reports only looking at data collect from Unix/Linux clients.  The majority of my monitored systems are Windows boxes.

Dave


-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: Wednesday, November 12, 2008 4:59 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate
on-demand/automatised PDF reports with the help of the RRD data produced
by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to
include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything, of course :) Besides, I discovered the library 'tcpdf' which
is very good and efficient. So, I decided to bring back my reports and
have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is
based on 'libfpdf' and now everything works again :) But this time, I
really want to share this work with you on the Shire or whatever. I need
to know if some of you are interested by these reports... Thus, just let
me know.

Best regards,

ThomaS


This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid
list T.J. Yang · Wed, 12 Nov 2008 11:10:15 -0600 ·
send it to my email account at user-8e841282cda5@xymon.invalid and I will upload into svn sandbox dir.
 
Regards
T.J. Yang> Date: Wed, 12 Nov 2008 14:42:58 +0100> From: user-358ce494902e@xymon.invalid> To: user-ae9b8668bcde@xymon.invalid> Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports> > Hi,> > what is the most simple ? The archive, containing all necessary > files/scripts is about 200k. Please let me know.> Sincerly,> > ThomaS> > > T.J. Yang a écrit :> >> >> > --------------------------------------------------> > From: "Martin Flemming" <user-f286aaa49a76@xymon.invalid>> > Sent: Wednesday, November 12, 2008 4:14 AM> > To: <user-ae9b8668bcde@xymon.invalid>> > Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports> >> >>> >> Hi, Thomas ..> >>> >> i'm very interesting and other too, i think :-)> >> > Second that.> > you can post your script here, I will upload the script to svn > > repository.> >> > Or request an account from Henrik and upload the script yourself.> >> > I have a pet project to write a oscount hobbit server side module by > > modifying> > Henrik's rootlogin perl script. The script is to display statistics of > > OS types and their verions.> > This is useful for management to understand how many Solaris 2.5.1, > > 2.6 are still hanging around> > in a big IT environment.> >> >> > tj> >> >> .. the shire will be the right place ..> >>> >> cheers,> >> martin> >>> >> On Wed, 12 Nov 2008, Thomas Séglard wrote:> >>> >>> Hello,> >>>> >>> some months (year ?) ago, I wrote a few php/shell code lines to > >>> generate> >>> on-demand/automatised PDF reports with the help of the RRD data > >>> produced by> >>> Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain > >>> to include> >>> PNG with alpha-channel.> >>>> >>> I'm now in charge of a new platform and I setup Hobbit to monitor > >>> everything,> >>> of course :) Besides, I discovered the library 'tcpdf' which is very > >>> good and> >>> efficient. So, I decided to bring back my reports and have them to > >>> work with> >>> 'tcpdf'. Modifications were easy since 'tcpdf' is based on 'libfpdf' > >>> and now> >>> everything works again :) But this time, I really want to share this > >>> work> >>> with you on the Shire or whatever. I need to know if some of you are> >>> interested by these reports... Thus, just let me know.> >>>> >>> Best regards,> >>>> >>> ThomaS> >>>> >>>  >>>> >>>> >>>> >>>> >>> >> >> >> >>  >>> >> >  >> >> >> > >  > 
Get 5 GB of storage with Windows Live Hotmail.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008
list T.J. Yang · Wed, 12 Nov 2008 11:16:11 -0600 ·
Thanks for sharing the code of your modification.
I will need to parse "uname -a" section and have a hash or array to keep counting of os appearance... etc.
 
later
T.J. Yang> Date: Wed, 12 Nov 2008 07:34:06 -0500> From: user-609d3fab5b2d@xymon.invalid> To: user-ae9b8668bcde@xymon.invalid> Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports> > |I have a pet project to write a oscount hobbit server side module by > modifying> |Henrik's rootlogin perl script. The script is to display statistics of > OS types and their verions.> Maybe this will help you with your project> This is what to "parse " ps output on the server side to chech for > running back-up (save -s).> Watch out for line wraps> #!/usr/local/bin/perl> > #*----------------------------------------------------------------------------*/> #* Hobbit client message > processor. */> #* > */> #* This perl program shows how to create a server-side module using > the */> #* data sent by the Hobbit clients. This program is fed data from > the */> #* Hobbit "client" channel via the hobbitd_channel program; each > client */> #* message is processed by looking at the [who] section and > generates */> #* a "login" status that goes red when an active "root" login is > found. */> #* > */> #* Written 2007-Jan-28 by Henrik Storner > <user-ce4a2c883f75@xymon.invalid> */> #* > */> #* This program is in the public domain, and may be used freely > for */> #* creating your own Hobbit server-side > modules. */> #* Henrik's script was modified by me, Mike Nemeth > user-609d3fab5b2d@xymon.invalid */> #* the rootlogin.pl which parses the [who] section was changed to > parse */> #* the [ps] of client > data. */> #* Often Ive seen people ask how to monitor a certain proccess and > have */> #* a separted test/column for it This works for > me! */> #* > */> #*----------------------------------------------------------------------------*/> > # $Id: rootlogin.pl,v 1.1 2007/01/28 12:42:34 henrik Exp $> # look for back-ups running: save -s> > my $bb;> my $bbdisp;> my $hobbitcolumn = "bkup";> my $hostname = "";> my $msgtxt = "";> my %sections = ();> my $cursection = "";> > sub processmessage;> > > # Get the BB and BBDISP environment settings.> $bb = $ENV{"BB"} || die "BB not defined";> $bbdisp = $ENV{"BBDISP"} || die "BBDISP not defined";> > > # Main routine.> #> # This reads client messages from <STDIN>, looking for the> # delimiters that separate each message, and also looking for the> # section markers that delimit each part of the client message.> # When a message is complete, the processmessage() subroutine> # is invoked. $msgtxt contains the complete message, and the> # %sections hash contains the individual sections of the client> # message.> > while ($line = <STDIN>) {> if ($line =~ /^\@\@client\#/) {> # It's the start of a new client message - the header > looks like this:> # > @@client#830759/HOSTNAME|1169985951.340108|10.60.65.152|HOSTNAME|sunos|sunos> > # Grab the hostname field from the header> @hdrfields = split(/\|/, $line);> $hostname = $hdrfields[3];> > # Clear the variables we use to store the message in> $msgtxt = "";> %sections = ();> }> elsif ($line =~ /^\@\@/) {> # End of a message. Do something with it.> processmessage();> }> elsif ($line =~ /^\[(.+)\]/) {> # Start of new message section.> > $cursection = $1;> $sections{ $cursection } = "\n";> }> else {> # Add another line to the entire message text variable,> # and the the current section.> $msgtxt = $msgtxt . $line;> $sections{ $cursection } = $sections{ $cursection } . $line;> }> }> > > # This subroutine processes the client message. In this case,> # we watch the [ps] section of the client message and alert> # if our string is found: save -s meaning backs are active.> > > sub processmessage {> my $color;> my $summary;> my $statusmsg;> my $cmd;> my $cmdl;> > # Dont do anything unless we have the "ps" section> return unless ( $sections{"ps"} );> > # Is the string/process somewhere in the "ps" section?> # Note that we must match with /m because there are multiple> # lines in the [ps] section.> if ( ($cmdl) = $sections{"ps"} =~ /(save.+-s.*)/ ) {> $color = "yellow";> $summary = "There MAYBE active backups" ;> # $statusmsg = "&yellow " . $cmdl . $sections{"ps"};> # sendins out the entire ps section seam to cause some purples so just > send the match `, hey you've a proc column all ready.> $statusmsg = "&yellow " . $cmdl ;> }> else {> $color = "green";> $summary = "Ok";> $statusmsg = "&green No backup active\n\n";> }> # Build the command we use to send a status to the Hobbit daemon> $cmd = $bb . " " . $bbdisp . " \"status " . $hostname . "." . > $hobbitcolumn . " " . $color . " " . $summary . "\n\n"> . $statusmsg . "\"";> # And send the message> system $cmd;> }> > > > > T.J. Yang wrote:> >> >> > --------------------------------------------------> > From: "Martin Flemming" <user-f286aaa49a76@xymon.invalid>> > Sent: Wednesday, November 12, 2008 4:14 AM> > To: <user-ae9b8668bcde@xymon.invalid>> > Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports> >> >>> >> Hi, Thomas ..> >>> >> i'm very interesting and other too, i think :-)> >> > Second that.> > you can post your script here, I will upload the script to svn > > repository.> >> > Or request an account from Henrik and upload the script yourself.> >> > I have a pet project to write a oscount hobbit server side module by > > modifying> > Henrik's rootlogin perl script. The script is to display statistics of > > OS types and their verions.> > This is useful for management to understand how many Solaris 2.5.1, > > 2.6 are still hanging around> > in a big IT environment.> >> >> > tj> >> >> .. the shire will be the right place ..> >>> >> cheers,> >> martin> >>> >> On Wed, 12 Nov 2008, Thomas Séglard wrote:> >>> >>> Hello,> >>>> >>> some months (year ?) ago, I wrote a few php/shell code lines to > >>> generate> >>> on-demand/automatised PDF reports with the help of the RRD data > >>> produced by> >>> Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain > >>> to include> >>> PNG with alpha-channel.> >>>> >>> I'm now in charge of a new platform and I setup Hobbit to monitor > >>> everything,> >>> of course :) Besides, I discovered the library 'tcpdf' which is very > >>> good and> >>> efficient. So, I decided to bring back my reports and have them to > >>> work with> >>> 'tcpdf'. Modifications were easy since 'tcpdf' is based on 'libfpdf' > >>> and now> >>> everything works again :) But this time, I really want to share this > >>> work> >>> with you on the Shire or whatever. I need to know if some of you are> >>> interested by these reports... Thus, just let me know.> >>>> >>> Best regards,> >>>> >>> ThomaS> >>>> >>>  >>>> >>>> >>>> >>>> >>> >> >> >> >>  >>> >> >  >> >> >> > >  > 
Windows Live Hotmail now works up to 70% faster.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008
list Michael Nemeth · Thu, 13 Nov 2008 05:50:34 -0500 ·
I Did a little work on this yesterday. You have to parse the info 
section and look for the string "OS:"  gabbing that line
for further processing.  BUT I think Ive an easy way to do what you 
want, will look into it today!
quoted from T.J. Yang

T.J. Yang wrote:
Thanks for sharing the code of your modification.
I will need to parse "uname -a" section and have a hash or array to 
keep counting of os appearance... etc.
 
later


T.J. Yang

Date: Wed, 12 Nov 2008 07:34:06 -0500
From: user-609d3fab5b2d@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports

|I have a pet project to write a oscount hobbit server side module by
modifying
|Henrik's rootlogin perl script. The script is to display statistics of
OS types and their verions.
Maybe this will help you with your project
This is what to "parse " ps output on the server side to chech for
running back-up (save -s).
Watch out for line wraps
#!/usr/local/bin/perl

#*----------------------------------------------------------------------------*/
#* Hobbit client message
processor. */
#*
*/
#* This perl program shows how to create a server-side module using
the */
#* data sent by the Hobbit clients. This program is fed data from
the */
#* Hobbit "client" channel via the hobbitd_channel program; each
client */
#* message is processed by looking at the [who] section and
generates */
#* a "login" status that goes red when an active "root" login is
found. */
#*
*/
#* Written 2007-Jan-28 by Henrik Storner
<user-ce4a2c883f75@xymon.invalid> */
#*
*/
#* This program is in the public domain, and may be used freely
for */
#* creating your own Hobbit server-side
modules. */
#* Henrik's script was modified by me, Mike Nemeth
user-609d3fab5b2d@xymon.invalid */
#* the rootlogin.pl which parses the [who] section was changed to
parse */
#* the [ps] of client
data. */
#* Often Ive seen people ask how to monitor a certain proccess and
have */
#* a separted test/column for it This works for
me! */
#*
*/
#*----------------------------------------------------------------------------*/
# $Id: rootlogin.pl,v 1.1 2007/01/28 12:42:34 henrik Exp $
# look for back-ups running: save -s

my $bb;
my $bbdisp;
my $hobbitcolumn = "bkup";
my $hostname = "";
my $msgtxt = "";
my %sections = ();
my $cursection = "";

sub processmessage;


# Get the BB and BBDISP environment settings.
$bb = $ENV{"BB"} || die "BB not defined";
$bbdisp = $ENV{"BBDISP"} || die "BBDISP not defined";


# Main routine.
#
# This reads client messages from <STDIN>, looking for the
# delimiters that separate each message, and also looking for the
# section markers that delimit each part of the client message.
# When a message is complete, the processmessage() subroutine
# is invoked. $msgtxt contains the complete message, and the
# %sections hash contains the individual sections of the client
# message.

while ($line = <STDIN>) {
if ($line =~ /^\@\@client\#/) {
# It's the start of a new client message - the header
looks like this:
#
@@client#830759/HOSTNAME|1169985951.340108|10.60.65.152|HOSTNAME|sunos|sunos
# Grab the hostname field from the header
@hdrfields = split(/\|/, $line);
$hostname = $hdrfields[3];

# Clear the variables we use to store the message in
$msgtxt = "";
%sections = ();
}
elsif ($line =~ /^\@\@/) {
# End of a message. Do something with it.
processmessage();
}
elsif ($line =~ /^\[(.+)\]/) {
# Start of new message section.

$cursection = $1;
$sections{ $cursection } = "\n";
}
else {
# Add another line to the entire message text variable,
# and the the current section.
$msgtxt = $msgtxt . $line;
$sections{ $cursection } = $sections{ $cursection } . $line;
}
}


# This subroutine processes the client message. In this case,
# we watch the [ps] section of the client message and alert
# if our string is found: save -s meaning backs are active.


sub processmessage {
my $color;
my $summary;
my $statusmsg;
my $cmd;
my $cmdl;

# Dont do anything unless we have the "ps" section
return unless ( $sections{"ps"} );

# Is the string/process somewhere in the "ps" section?
# Note that we must match with /m because there are multiple
# lines in the [ps] section.
if ( ($cmdl) = $sections{"ps"} =~ /(save.+-s.*)/ ) {
$color = "yellow";
$summary = "There MAYBE active backups" ;
# $statusmsg = "&yellow " . $cmdl . $sections{"ps"};
# sendins out the entire ps section seam to cause some purples so just
send the match `, hey you've a proc column all ready.
$statusmsg = "&yellow " . $cmdl ;
}
else {
$color = "green";
$summary = "Ok";
$statusmsg = "&green No backup active\n\n";
}
# Build the command we use to send a status to the Hobbit daemon
$cmd = $bb . " " . $bbdisp . " \"status " . $hostname . "." .
$hobbitcolumn . " " . $color . " " . $summary . "\n\n"
. $statusmsg . "\"";
# And send the message
system $cmd;
}


T.J. Yang wrote:

From: "Martin Flemming" <user-f286aaa49a76@xymon.invalid>
Sent: Wednesday, November 12, 2008 4:14 AM
To: <user-ae9b8668bcde@xymon.invalid>
Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports
Hi, Thomas ..

i'm very interesting and other too, i think :-)
Second that.
you can post your script here, I will upload the script to svn
repository.

Or request an account from Henrik and upload the script yourself.

I have a pet project to write a oscount hobbit server side module by
modifying
Henrik's rootlogin perl script. The script is to display 
statistics of
OS types and their verions.
This is useful for management to understand how many Solaris 2.5.1,
2.6 are still hanging around
in a big IT environment.


tj
.. the shire will be the right place ..

cheers,
martin

On Wed, 12 Nov 2008, Thomas Séglard wrote:
Hello,

some months (year ?) ago, I wrote a few php/shell code lines to
generate
on-demand/automatised PDF reports with the help of the RRD data
produced by
Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain
to include
PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor
everything,
of course :) Besides, I discovered the library 'tcpdf' which is 
very
good and
efficient. So, I decided to bring back my reports and have them to
work with
'tcpdf'. Modifications were easy since 'tcpdf' is based on 
'libfpdf'
and now
everything works again :) But this time, I really want to share 
this
work
with you on the Shire or whatever. I need to know if some of you are
interested by these reports... Thus, just let me know.

Best regards,

ThomaS

Windows Live Hotmail now works up to 70% faster. Sign up today. 
<http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008>;
list Henrik Størner · Thu, 13 Nov 2008 12:42:06 +0000 (UTC) ·
quoted from Michael Nemeth
In <user-31e5d522f6c9@xymon.invalid> michael nemeth <user-609d3fab5b2d@xymon.invalid> writes:
I Did a little work on this yesterday. You have to parse the info 
section and look for the string "OS:"  gabbing that line
for further processing.  BUT I think Ive an easy way to do what you 
want, will look into it today!
There is:
 bb 127.0.0.1 "hobbitdboard fields=hostname,BBH_OS test=info"

It returns something ilke

 server1|aix
 server2|linux
 server3|

The last one has no client data.


Regards,
Henrik
list Michael Nemeth · Thu, 13 Nov 2008 08:48:15 -0500 ·
Pipe that to a  word frequencies route and you get something like (my results)"
hp-ux 3
sunos 38
linux 1
quoted from Henrik Størner

Henrik Størner wrote:
In <user-31e5d522f6c9@xymon.invalid> michael nemeth <user-609d3fab5b2d@xymon.invalid> writes:

  
I Did a little work on this yesterday. You have to parse the info section and look for the string "OS:"  gabbing that line
for further processing.  BUT I think Ive an easy way to do what you want, will look into it today!
    
There is:
 bb 127.0.0.1 "hobbitdboard fields=hostname,BBH_OS test=info"

It returns something ilke

 server1|aix
 server2|linux
 server3|

The last one has no client data.


Regards,
Henrik

list Michael Nemeth · Thu, 13 Nov 2008 08:53:14 -0500 ·
Acutual you have to do:

bb 127.0.0.1 "hobbitdboard fields=BBH_OS test=info" | WF.pl
quoted from Henrik Størner

Henrik Størner wrote:
In <user-31e5d522f6c9@xymon.invalid> michael nemeth <user-609d3fab5b2d@xymon.invalid> writes:

  
I Did a little work on this yesterday. You have to parse the info 
section and look for the string "OS:"  gabbing that line
for further processing.  BUT I think Ive an easy way to do what you 
want, will look into it today!
    
There is:
 bb 127.0.0.1 "hobbitdboard fields=hostname,BBH_OS test=info"

It returns something ilke

 server1|aix
 server2|linux
 server3|

The last one has no client data.


Regards,
Henrik

list Christopher Garrett · Thu, 20 Nov 2008 15:18:27 +0000 ·
I've now added cg_theme to the Addons section.  Feedback is appreciated!
signature

Chris Garrett
UNIX Administrator
MISD Operations Group, University of Cambridge
01223-(7)66687
-----Original Message-----

quoted from Galen Johnson
From: Galen Johnson [mailto:user-87f955643e3d@xymon.invalid]
Sent: 12 November 2008 14:54
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Xymon Themes

That's easy...just create an account and add a new page...it might be a
good fit on the "Add-ons" page or "Tutorials"...actually, a "How do I
customize the Xymon Theme?" might be a good tutorial there.

=G=

-----Original Message-----
From: Christopher Garrett [mailto:user-29709a3ca080@xymon.invalid]
Sent: Wednesday, November 12, 2008 4:52 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Xymon Themes

Hi Thomas

I've actually changed a heck of a lot of files within hobbit to achieve
this look (headers, footers, some of the scripts that generate web pages)
in order to make more consistent use of CSS, so it is not upgrade-friendly
at all unfortunately.  I consider it a little bit hacky.

However, I can certainly try to get a collection of files together for
people to look at on The Shire.  I would imagine it would only work with
version 4.2.0.

How should I go about getting the files onto the Shire?

Best regards,

Chris.

Chris Garrett
UNIX Administrator
MISD Operations Group, University of Cambridge
01223-(7)66687
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid]
Sent: 12 November 2008 09:23
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Xymon Themes

Hi Christopher !

I really like your theme. As you said, it's really clear and simple. Any
chance you share with us your material to build it ? Maybe you can post
it to the Shire (if you want, of course) ? I also second you when you
asked for a more themer-friendly version of Xymon !
Best regards,

ThomaS


Christopher Garrett a écrit :
Hi,

If a new theme is being considered, as well as a logo, I'd like you to
see what our current hobbit installation looks like (see attached).  I
like the fact that the display is clear at a distance on the default
hobbit look - the black background really makes things stand out more
than
a white background - so I haven't changed that aspect of it.  I've just
changed the icons and the layout somewhat.

The black background lends hobbit a different feel to its competitors
out there at the moment (big sister, nagios etc) and (I think) makes the
display clearer - I would be keen to retain that.

Also (and I think someone else has mentioned this) please consider
colour blindness in any new theme.  Two of my fellow sysadmins are red-
green colour blind. The current default is good because it uses
saturated
colours and animated/shaped icons despite its basis on red, green and
yellow.

Finally, I would like to mention that it would be really really nice
if
a future version of hobbit made more use of CSS and was a little more
themer-friendly.

Best regards,

Chris.

I put some info about Xymon Themes that  I know on
hobbitmon/sandbox/themes
http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/sandbox/themes/
tj
--
--
list Chris Ss-is Morris · Fri, 21 Nov 2008 12:55:10 -0000 ·
Thomas,

I have installed tcpdf on my apache webserver and can see the example reports that come with it.

However, when running the php scripts in your package I get a blank page and no errors in the apache log and am a bit stuck on how to troubleshoot the problem.

I ran the master.sh script to generate some data.

Any ideas? 
quoted from Thomas Séglard
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid] Sent: 12 November 2008 09:59
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] [Hobbit/Xymon] PDF Reports

Hello,

some months (year ?) ago, I wrote a few php/shell code lines to generate on-demand/automatised PDF reports with the help of the RRD data produced by Hobbit. At the time of coding, I've used 'libfpdf' but it's a pain to include PNG with alpha-channel.

I'm now in charge of a new platform and I setup Hobbit to monitor everything, of course :) Besides, I discovered the library 'tcpdf' which is very good and efficient. So, I decided to bring back my reports and have them to work with 'tcpdf'. Modifications were easy since 'tcpdf' is based on 'libfpdf' and now everything works again :) But this time, I really want to share this work with you on the Shire or whatever. I need to know if some of you are interested by these reports... Thus, just let me know.

Best regards,

ThomaS


**********************************************************************

This e-mail including any attachments is provided for general information purposes only and does not constitute advice except to the addressee if expressly stated in this email. For the avoidance of doubt the contents of this email and any attachments are subject to contract and are not intended to and will not constitute a legally binding contract or any part of a legally binding contract. 
The information contained in this email and any attachments is confidential.  It is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution or copying of the message or associated attachments is strictly prohibited.

If you have received this e-mail in error, please notify user-36fa688b57c1@xymon.invalid and permanently delete the email and any attachments immediately from your system.  You should not retain, copy or use this email or any attachment for any purpose, nor disclose all or any part of the contents to any other person.  Thank you for your co-operation. 
Neither RWE IT UK Ltd nor any of the other companies in the RWE Group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses. 
RWE IT UK Ltd Registered office: Mistral, Westlea Campus, Chelmsford Road, Swindon, Wiltshire, SN5 7EZ. Registered in England and Wales: company number 6052966.

*******************************************