[hobbit] Xymon Themes
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
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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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:tsg at bluekiwi-software.com] Sent: 12 November 2008 09:23 To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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:ctg24 at admin.cam.ac.uk] Sent: Wednesday, November 12, 2008 4:52 AM To: 'hobbit at hswn.dk' 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:tsg at bluekiwi-software.com] Sent: 12 November 2008 09:23 To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Thanks Galen. I'll put something in the addons section once I get a momemt.
Chris Garrett UNIX Administrator MISD Operations Group, University of Cambridge 01223-(7)66687
-----Original Message----- From: Galen Johnson [mailto:Galen.Johnson at sas.com] Sent: 12 November 2008 14:54 To: hobbit at hswn.dk 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:ctg24 at admin.cam.ac.uk] Sent: Wednesday, November 12, 2008 4:52 AM To: 'hobbit at hswn.dk' 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:tsg at bluekiwi-software.com] Sent: 12 November 2008 09:23 To: hobbit at hswn.dk 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
--
--
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I've now added cg_theme to the Addons section. Feedback is appreciated!
Chris Garrett UNIX Administrator MISD Operations Group, University of Cambridge 01223-(7)66687
-----Original Message----- From: Galen Johnson [mailto:Galen.Johnson at sas.com] Sent: 12 November 2008 14:54 To: hobbit at hswn.dk 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:ctg24 at admin.cam.ac.uk] Sent: Wednesday, November 12, 2008 4:52 AM To: 'hobbit at hswn.dk' 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:tsg at bluekiwi-software.com] Sent: 12 November 2008 09:23 To: hobbit at hswn.dk 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
--
--
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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
-----Original Message----- From: Thomas Séglard [mailto:tsg at bluekiwi-software.com] Sent: Mittwoch, 12. November 2008 10:59 To: hobbit at hswn.dk 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
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
Johann Eggers a écrit :
-----Original Message----- From: Thomas Séglard [mailto:tsg at bluekiwi-software.com] Sent: Mittwoch, 12. November 2008 10:59 To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi, Thomas ..
i'm very interesting and other too, i think :-)
.. 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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
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:tsg at bluekiwi-software.com] Sent: Wednesday, November 12, 2008 4:59 AM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
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:tsg at bluekiwi-software.com] Sent: Wednesday, November 12, 2008 4:59 AM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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?
Dave
-----Original Message----- From: Thomas Séglard [mailto:tsg at bluekiwi-software.com] Sent: Wednesday, November 12, 2008 9:23 AM To: hobbit at hswn.dk 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:tsg at bluekiwi-software.com] Sent: Wednesday, November 12, 2008 4:59 AM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
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:tsg at bluekiwi-software.com] Sent: Wednesday, November 12, 2008 9:23 AM To: hobbit at hswn.dk 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:tsg at bluekiwi-software.com] Sent: Wednesday, November 12, 2008 4:59 AM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I thought, the scripts/package should be uploaded on
svn-repository, wikki or shire, doesn't it ?
cheers, martin
On Wed, 12 Nov 2008, shea_greg at emc.com 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:tsg at bluekiwi-software.com] Sent: Wednesday, November 12, 2008 9:23 AM To: hobbit at hswn.dk 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:tsg at bluekiwi-software.com] Sent: Wednesday, November 12, 2008 4:59 AM To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Gruss
Martin Flemming
Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : 040 - 8998 - 4667 22603 Hamburg mail : martin.flemming at desy.de
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?
-----Original Message----- From: Thomas Séglard [mailto:tsg at bluekiwi-software.com] Sent: 12 November 2008 09:59 To: hobbit at hswn.dk 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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 postmaster at RWEsystemsUK.com 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.
From: "Martin Flemming" <martin.flemming at desy.de> Sent: Wednesday, November 12, 2008 4:14 AM To: <hobbit at hswn.dk> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
|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 <henrik at hswn.dk> */ #* */ #* 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 Michael.nemeth at lmco.com */ #* 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" <martin.flemming at desy.de> Sent: Wednesday, November 12, 2008 4:14 AM To: <hobbit at hswn.dk> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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: michael.nemeth at lmco.com> To: hobbit at hswn.dk> 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 > <henrik at hswn.dk> */> #* > */> #* 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 > Michael.nemeth at lmco.com */> #* 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" <martin.flemming at desy.de>> > Sent: Wednesday, November 12, 2008 4:14 AM> > To: <hobbit at hswn.dk>> > 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> >>>> >>> To unsubscribe from the hobbit list, send an e-mail to> >>> hobbit-unsubscribe at hswn.dk> >>>> >>>> >>>> >>>> >>> >> >> >> >> To unsubscribe from the hobbit list, send an e-mail to> >> hobbit-unsubscribe at hswn.dk> >>> >> > To unsubscribe from the hobbit list, send an e-mail to> > hobbit-unsubscribe at hswn.dk> >> >> >> > > To unsubscribe from the hobbit list, send an e-mail to> hobbit-unsubscribe at hswn.dk> > _________________________________________________________________ Windows Live Hotmail now works up to 70% faster. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_...
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! 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: michael.nemeth at lmco.com To: hobbit at hswn.dk 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 <henrik at hswn.dk> */ #* */ #* 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 Michael.nemeth at lmco.com */ #* 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" <martin.flemming at desy.de> Sent: Wednesday, November 12, 2008 4:14 AM To: <hobbit at hswn.dk> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
------------------------------------------------------------------------ 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>
In <491C067A.4010507 at lmco.com> michael nemeth <michael.nemeth at lmco.com> 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
Pipe that to a word frequencies route and you get something like (my results)" hp-ux 3 sunos 38 linux 1
Henrik Størner wrote:
In <491C067A.4010507 at lmco.com> michael nemeth <michael.nemeth at lmco.com> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Acutual you have to do:
bb 127.0.0.1 "hobbitdboard fields=BBH_OS test=info" | WF.pl
Henrik Størner wrote:
In <491C067A.4010507 at lmco.com> michael nemeth <michael.nemeth at lmco.com> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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" <martin.flemming at desy.de> Sent: Wednesday, November 12, 2008 4:14 AM To: <hobbit at hswn.dk> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
send it to my email account at tj_yang at hotmail.com and I will upload into svn sandbox dir.
Regards T.J. Yang> Date: Wed, 12 Nov 2008 14:42:58 +0100> From: tsg at bluekiwi-software.com> To: hobbit at hswn.dk> 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" <martin.flemming at desy.de>> > Sent: Wednesday, November 12, 2008 4:14 AM> > To: <hobbit at hswn.dk>> > 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> >>>> >>> To unsubscribe from the hobbit list, send an e-mail to> >>> hobbit-unsubscribe at hswn.dk> >>>> >>>> >>>> >>>> >>> >> >> >> >> To unsubscribe from the hobbit list, send an e-mail to> >> hobbit-unsubscribe at hswn.dk> >>> >> > To unsubscribe from the hobbit list, send an e-mail to> > hobbit-unsubscribe at hswn.dk> >> >> >> > > To unsubscribe from the hobbit list, send an e-mail to> hobbit-unsubscribe at hswn.dk> >
Get 5 GB of storage with Windows Live Hotmail. http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112...
Switch the subject to better reflect the topic and I move the script in development up here, it should be version 0.1 not 1.0. http://hobbitmon.svn.sourceforge.net/viewvc/hobbitmon/sandbox/modules/os-cou... I was able raise red flag if osversion is RH9. need to continue the work further to my goal. tj From: michael nemeth Sent: Thursday, November 13, 2008 4:50 AM To: hobbit at hswn.dk Subject: Re: [hobbit] [Hobbit/Xymon] PDF Reports 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! 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: michael.nemeth at lmco.com To: hobbit at hswn.dk 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 <henrik at hswn.dk> */ #* */ #* 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 Michael.nemeth at lmco.com */ #* 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" <martin.flemming at desy.de> Sent: Wednesday, November 12, 2008 4:14 AM To: <hobbit at hswn.dk> 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
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
------------------------------------------------------------------------------ Windows Live Hotmail now works up to 70% faster. Sign up today.
participants (12)
-
Chris.Morris@RWEsystemsUK.com
-
ctg24@admin.cam.ac.uk
-
david@stenhouseconsulting.com
-
Galen.Johnson@sas.com
-
henrik@hswn.dk
-
Johann.Eggers@teleatlas.com
-
martin.flemming@desy.de
-
michael.nemeth@lmco.com
-
shea_greg@emc.com
-
stef.coene@docum.org
-
tj_yang@hotmail.com
-
tsg@bluekiwi-software.com