Xymon Mailing List Archive search

Xymon 4.3.0: Beta version available on Sourceforge

35 messages in this thread

list Henrik Størner · Mon, 9 Feb 2009 15:02:51 +0100 ·
So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to 
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left 
out some of the more "dangerous" new components from this 
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from 
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use 
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take 
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik
list Larry Sherman · Mon, 9 Feb 2009 09:35:40 -0500 ·
Wonderful news Henrik!  I have 2 servers waiting for just this occasion.

Many, many thanks to you.

Larry

Larry Sherman
RBS Global Banking & Markets
Office: +X XXX XXX XXXX
quoted from Henrik Størner


-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, February 09, 2009 9:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge


So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left
out some of the more "dangerous" new components from this
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik


********************************************************************This
message (including any attachments) is confidential and/or
privileged. It is to be used by the intended recipients only. If
you have received it by mistake please notify the sender by return
e-mail and delete this message from your system. Any unauthorized
use or dissemination of this message in whole or in part is
strictly prohibited. Please note that e-mails are inherently
insecure and susceptible to change. The Royal Bank of Scotland
Group, plc ("RBS") and its US subsidiaries, and affiliates and
subsidiary undertakings, including but not limited to, RBS plc New
York and Connecticut Branches, Greenwich Capital Markets, Inc., ABN
AMRO Bank N.V. New York and Chicago Branches and, ABN AMRO Inc.,
Citizens Financial Group, Inc. and RBS Citizens, N.A., shall not be
liable for the improper or incomplete transmission of the
information contained in this communication or Attachment nor for
any delay in its receipt or damage to your system. RBS does not
guarantee that the integrity of this communication has been
maintained nor that this communication is free of viruses,
interceptions or interference. RBS and its subsidiaries and
affiliates do not guarantee the accuracy of any email or
attachment, that an email will be received or that RBS or its
affiliates and subsidiaries will respond to an email.

RBS makes no representations that any information contained in this
message (including any attachments) are appropriate for use in all
locations or that transactions, securities, products, instruments
or services discussed herein are available or appropriate for sale
or use in all jurisdictions, or by all investors or counterparties.
Those who utilize this information do so on their own initiative
and are responsible for compliance with applicable local laws or
regulations.********************************************************************
list Gary Baluha · Mon, 9 Feb 2009 10:07:39 -0500 ·
That's awesome.  Keep up the good work!
quoted from Larry Sherman

On Mon, Feb 9, 2009 at 9:02 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left
out some of the more "dangerous" new components from this
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
 use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
 SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
 remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
 the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
 SSL minimum cipher strength
* Changed network test code to always report a validity period
 for network tests, so it it possible to run network tests less
 often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
 status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
 for the common selections.
* Ghost list report now lists possible candidates for a ghost,
 based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
 and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
 really nice - essentially, *any* value you put into an RRD file
 can trigger a new or modified status in Xymon. So you could eg.
 change the status of your "http" test to go red, if the response
 time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
 compression and/or encryption.
* Support for client authentication via SSL certificates (so
 you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
 authentication, and provide more fine-grained authorization
 for the various Xymon components.
* Per-user custom login pages, so the login will always show those
 systems that the user has responsibility for / is allowed to
 access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik

list Lars Ebeling · Mon, 9 Feb 2009 17:40:13 +0100 ·
Hobbitd:filestore crashes on HP-UX 11.11

$ gdb ../bin/hobbitd_filestore ./core
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "hppa2.0n-hp-hpux11.00"...
Core was generated by `hobbitd_filest'.
Program terminated with signal 6, Aborted.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.


warning: Can't find file hobbitd_filestore referenced in dld_list.
Reading symbols from /usr/local/lib/libpcre.sl...done.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
#0  0xc020bad0 in kill () from /usr/lib/libc.2
(gdb) bt
#0  0xc020bad0 in kill () from /usr/lib/libc.2
#1  0xc01a655c in raise () from /usr/lib/libc.2
#2  0xc01e69a8 in abort_C () from /usr/lib/libc.2
#3  0xc01e6a04 in abort () from /usr/lib/libc.2
#4  0x0000e130 in sigsegv_handler (signum=8216) at sig.c:57
#5  <signal handler called>
#6  0x0000aa64 in call_locator (buf=0x4004ef58 "X|rrd|leopg9", bufsz=1130)
    at locator.c:76
#7  0x0000b57c in locator_query (hostname=0x400076b3 "leopg9", 
svctype=ST_RRD,
    extras=0x7bfe3160) at locator.c:342
#8  0x0001517c in hobbit_graph_text (hostname=0x400076b3 "leopg9",
    dispname=0x400076b3 "leopg9", service=0x400076ba "bbgen", bgcolor=0,
    graphdef=0x4004ede8, itemcount=0, nostale=HG_WITHOUT_STALE_RRDS,
    fmt=0x23f90 "<table summary=\"%s Graph\"><tr><td><A 
HREF=\"%s&amp;action=men
u\"><IMG BORDER=0 SRC=\"%s&amp;graph=hourly&amp;action=view\" 
ALT=\"hobbitgraph
%s\"></A></td><td> <td align=\"left\" valign=\"top\"> <a href=\"%s&amp"...,
    locatorbased=1, starttime=1234024637, endtime=1234197437)
    at hobbitrrd.c:212
#9  0x00015674 in hobbit_graph_data (hostname=0x7bfe3338 "", dispname=0x0,
    service=0x0, bgcolor=0, graphdef=0x4004ede8, itemcount=0,
    nostale=HG_WITHOUT_STALE_RRDS, wantmeta=HG_PLAIN_LINK, locatorbased=1,
    starttime=1234024637, endtime=1234197437) at hobbitrrd.c:317
#10 0x0000a124 in generate_html_log (hostname=0x400076b3 "leopg9",
---Type <return> to continue, or q <return> to quit---
    displayname=0x400076b3 "leopg9", service=0x400076ba "bbgen",
    ip=0x20418 "", color=0, sender=0x400076a6 "192.168.0.2", flags=0x22c70 
"",
    logtime=1234197437,
    timesincechange=0x7bfe23b8 "179 days, 14 hours, 24 minutes",
    firstline=0x40007717 "green Mon Feb  9 17:37:16 2009",
    restofmsg=0x40007736 "\nbbgen for Hobbit version 
4.3.0-0.20090209\n\nStatist
ics:\n Hosts", ' ' <repeats 22 times>, ":    13\n Pages", ' ' <repeats 22 
times>
, ":     3\n Status messages", ' ' <repeats 12 times>, ":    69\n - Red", ' 
' <r
epeats 22 times>, ":     2 "..., acktime=0, ackmsg=0x0, acklist=0x0,
    disabletime=0, dismsg=0x0, is_history=0, wantserviceid=1, htmlfmt=0,
    locatorbased=1,
    multigraphs=0x20358 
",disk,inode,qtree,quotas,snapshot,TblSpace,if_load,",
    linktoclient=0x0, nkprio=0x0, nkttgroup=0x0, nkttextra=0x0, graphtime=0,
    output=0x7b031468) at htmllog.c:440
#11 0x00004288 in update_htmlfile (
    fn=0x7bfe1ec8 "/home/hobbit/server/www/html/leopg9.bbgen.html",
    msg=0x40007736 "\nbbgen for Hobbit version 
4.3.0-0.20090209\n\nStatistics:\n
 Hosts", ' ' <repeats 22 times>, ":    13\n Pages", ' ' <repeats 22 times>, 
":
   3\n Status messages", ' ' <repeats 12 times>, ":    69\n - Red", ' ' 
<repeats
 22 times>, ":     2 "..., hostname=0x400076b3 "leopg9",
    service=0x400076ba "bbgen", color=0, sender=0x400076a6 "192.168.0.2",
    flags=0x22c70 "", logtime=1234197437, timesincechange=15517497, 
acktime=0,
    ackmsg=0x0, disabletime=0, dismsg=0x0) at hobbitd_filestore.c:119
---Type <return> to continue, or q <return> to quit---
#12 0x00004bd4 in main (argc=1073772311, argv=0x400076ba)
    at hobbitd_filestore.c:325
(gdb) quit
$

Lars
quoted from Gary Baluha

----- Original Message ----- 
From: "Henrik Størner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Monday, February 09, 2009 3:02 PM
Subject: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge

So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left
out some of the more "dangerous" new components from this
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
 use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
 SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
 remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
 the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
 SSL minimum cipher strength
* Changed network test code to always report a validity period
 for network tests, so it it possible to run network tests less
 often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
 status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
 for the common selections.
* Ghost list report now lists possible candidates for a ghost,
 based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
 and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
 really nice - essentially, *any* value you put into an RRD file
 can trigger a new or modified status in Xymon. So you could eg.
 change the status of your "http" test to go red, if the response
 time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
 compression and/or encryption.
* Support for client authentication via SSL certificates (so
 you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
 authentication, and provide more fine-grained authorization
 for the various Xymon components.
* Per-user custom login pages, so the login will always show those
 systems that the user has responsibility for / is allowed to
 access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik

list Henrik Størner · Mon, 9 Feb 2009 22:05:53 +0100 ·
Hi Lars,

seems you have really good luck with my test versions today :-)

On Mon, Feb 09, 2009 at 05:40:13PM +0100, Lars Ebeling wrote:
Hobbitd:filestore crashes on HP-UX 11.11
quoted from Lars Ebeling

Core was generated by `hobbitd_filest'.
Program terminated with signal 6, Aborted.

#4  0x0000e130 in sigsegv_handler (signum=8216) at sig.c:57
#5  <signal handler called>
#6  0x0000aa64 in call_locator (buf=0x4004ef58 "X|rrd|leopg9", bufsz=1130)
   at locator.c:76
#7  0x0000b57c in locator_query (hostname=0x400076b3 "leopg9",  
svctype=ST_RRD,
   extras=0x7bfe3160) at locator.c:342
#12 0x00004bd4 in main (argc=1073772311, argv=0x400076ba)
   at hobbitd_filestore.c:325
Ok, must admit I have never tested hobbitd_filestore with the RRD
graphs running remotely (I don't use that module myself).

The problem appears to be that the code which generates the links
to the graph on the status page believe that the graphs are located
on another server, so it generates a request to the new "locator"
module to figure out where the graph is. Problem is, the locator
module was never initialised, so hobbitd_filestore has no idea where
the locator is - it doesn't know the IP+portnumber of the locator
service.

What commandline were you using to launch the hobbitd_filestore
program ?

I think the attached patch should fix it, if you use the right
commandline to start hobbitd_filestore. I.e. you must add the
"--locator=IP:PORTNUMBER" (probably the IP of your Xymon server,
and port 1984) to the hobbitd_filestore command.


Regards,
Henrik
Attachments (1)
list Henrik Størner · Mon, 9 Feb 2009 22:18:27 +0100 ·
quoted from Henrik Størner
On Mon, Feb 09, 2009 at 10:05:53PM +0100, Henrik Størner wrote:
I think the attached patch should fix it, if you use the right
commandline to start hobbitd_filestore. I.e. you must add the
"--locator=IP:PORTNUMBER" (probably the IP of your Xymon server,
and port 1984) to the hobbitd_filestore command.
Sorry, I was wrong - this patch won't fix it. This one will, 
I hope.


Regards,
Henrik
Attachments (1)
list Giovanni - Gestor Redix · Mon, 09 Feb 2009 19:21:43 -0200 ·
Hi Henrik,

   I was reading about 4.5 release and maybe its time to think about store
the data into a Database like MySQL/PostgreSQL, if you do that far more
contributors can start to colaborate with customs web-interfaces, reports,
etc etc.

   With best regards,

Giovanni
quoted from Lars Ebeling

On Mon, 9 Feb 2009 09:35:40 -0500, <user-e820fcc97088@xymon.invalid> wrote:
Wonderful news Henrik!  I have 2 servers waiting for just this occasion.

Many, many thanks to you.

Larry

Larry Sherman
RBS Global Banking & Markets
Office: +X XXX XXX XXXX


-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, February 09, 2009 9:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge


So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left
out some of the more "dangerous" new components from this
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik


********************************************************************This
message (including any attachments) is confidential and/or
privileged. It is to be used by the intended recipients only. If
you have received it by mistake please notify the sender by return
e-mail and delete this message from your system. Any unauthorized
use or dissemination of this message in whole or in part is
strictly prohibited. Please note that e-mails are inherently
insecure and susceptible to change. The Royal Bank of Scotland
Group, plc ("RBS") and its US subsidiaries, and affiliates and
subsidiary undertakings, including but not limited to, RBS plc New
York and Connecticut Branches, Greenwich Capital Markets, Inc., ABN
AMRO Bank N.V. New York and Chicago Branches and, ABN AMRO Inc.,
Citizens Financial Group, Inc. and RBS Citizens, N.A., shall not be
liable for the improper or incomplete transmission of the
information contained in this communication or Attachment nor for
any delay in its receipt or damage to your system. RBS does not
guarantee that the integrity of this communication has been
maintained nor that this communication is free of viruses,
interceptions or interference. RBS and its subsidiaries and
affiliates do not guarantee the accuracy of any email or
attachment, that an email will be received or that RBS or its
affiliates and subsidiaries will respond to an email.

RBS makes no representations that any information contained in this
message (including any attachments) are appropriate for use in all
locations or that transactions, securities, products, instruments
or services discussed herein are available or appropriate for sale
or use in all jurisdictions, or by all investors or counterparties.
Those who utilize this information do so on their own initiative
and are responsible for compliance with applicable local laws or
regulations.********************************************************************
list Japheth Cleaver · Mon, 9 Feb 2009 13:33:37 -0800 ·
In theory, any backend can be used with the creation of an appropriate
hobbitd_channel listener (eg, hobbitd_sqlstore). I was thinking of
whipping one up a few days ago using perl DBI::mysql as a test, but was
distracted figuring out the proper message-parsing mechanics out of
hobbitd_sample.c.

It would help to have a standardized SQL schema for people to base
third-party extensions off of though.


Regards,

Japheth Cleaver
quoted from Giovanni - Gestor Redix

-----Original Message-----
From: user-e1d5cb184a81@xymon.invalid [mailto:user-e1d5cb184a81@xymon.invalid]
Sent: Monday, February 09, 2009 1:22 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Xymon 4.3.0: Beta version available on
Sourceforge

Hi Henrik,

   I was reading about 4.5 release and maybe its time to think about
store
the data into a Database like MySQL/PostgreSQL, if you do that far
more
contributors can start to colaborate with customs web-interfaces,
reports,
etc etc.

   With best regards,

Giovanni

On Mon, 9 Feb 2009 09:35:40 -0500, <user-e820fcc97088@xymon.invalid> wrote:
Wonderful news Henrik!  I have 2 servers waiting for just this
occasion.

Many, many thanks to you.

Larry

Larry Sherman
RBS Global Banking & Markets
Office: +X XXX XXX XXXX


-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, February 09, 2009 9:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge


So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left
out some of the more "dangerous" new components from this
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik

********************************************************************This
message (including any attachments) is confidential and/or
privileged. It is to be used by the intended recipients only. If
you have received it by mistake please notify the sender by return
e-mail and delete this message from your system. Any unauthorized
use or dissemination of this message in whole or in part is
strictly prohibited. Please note that e-mails are inherently
insecure and susceptible to change. The Royal Bank of Scotland
Group, plc ("RBS") and its US subsidiaries, and affiliates and
subsidiary undertakings, including but not limited to, RBS plc New
York and Connecticut Branches, Greenwich Capital Markets, Inc., ABN
AMRO Bank N.V. New York and Chicago Branches and, ABN AMRO Inc.,
Citizens Financial Group, Inc. and RBS Citizens, N.A., shall not be
liable for the improper or incomplete transmission of the
information contained in this communication or Attachment nor for
any delay in its receipt or damage to your system. RBS does not
guarantee that the integrity of this communication has been
maintained nor that this communication is free of viruses,
interceptions or interference. RBS and its subsidiaries and
affiliates do not guarantee the accuracy of any email or
attachment, that an email will be received or that RBS or its
affiliates and subsidiaries will respond to an email.

RBS makes no representations that any information contained in this
message (including any attachments) are appropriate for use in all
locations or that transactions, securities, products, instruments
or services discussed herein are available or appropriate for sale
or use in all jurisdictions, or by all investors or counterparties.
Those who utilize this information do so on their own initiative
and are responsible for compliance with applicable local laws or
regulations.************************************************************
**
******
list Henrik Størner · Mon, 9 Feb 2009 22:34:56 +0100 ·
Hi Giovanni,
quoted from Japheth Cleaver

On Mon, Feb 09, 2009 at 07:21:43PM -0200, user-e1d5cb184a81@xymon.invalid wrote:
Hi Henrik,

   I was reading about 4.5 release and maybe its time to think about store
the data into a Database like MySQL/PostgreSQL, if you do that far more
contributors can start to colaborate with customs web-interfaces, reports,
etc etc.
this subject comes up once in a while. I have two problems with it:


1) I've never done any programming that interfaces to a database, so
it would mean digging into one more API - but that is something I
could probably handle.

2) The real problem is that unless the database is co-located with the
Xymon server, then your monitoring suddenly becomes dependant on 
a remote database-server. So what happens if your database server loses
the network connection to the Xymon server ? You won't get any alerts
from Xymon, because it has no data available to generate alerts from.


It's the same reason that has kept me from using SAN storage for my
production Xymon server at work. Much too complex for my taste, far
too many ways it can break.

And the time when you need your Xymon server the most is *exactly*
when everything else has gone down in flames.


What I *would* consider is to create a module like the hobbitd_filestore
module, except it sends the status-data off to a database somewhere.
Or even an external module for hobbitd_rrd that gets all of the 
parsed data we collect and use as the basis of all of the graphs.
Such modules would be very easy to write for someone who knows how
to do programming with the database API - my guess is that it wouldn't 
take more than a day or two.

So if you know someone who could voluteer for such an add-on, I would
be very happy to work together with him/her on putting such an add-on
together.


Regards,
Henrik
list Henrik Størner · Mon, 9 Feb 2009 22:39:29 +0100 ·
quoted from Japheth Cleaver
On Mon, Feb 09, 2009 at 01:33:37PM -0800, Cleaver, Japheth wrote:
In theory, any backend can be used with the creation of an appropriate
hobbitd_channel listener (eg, hobbitd_sqlstore). I was thinking of
whipping one up a few days ago using perl DBI::mysql as a test, but was
distracted figuring out the proper message-parsing mechanics out of
hobbitd_sample.c.
Hey, it sounds like we just got the volunteer I asked for in my
response to Giovanni :-)

Seriously, if you would like to work on this then I'll be happy to
explain the way your worker module is being fed data from hobbitd.
Parsing it in Perl should be pretty straight-forward.
quoted from Japheth Cleaver
It would help to have a standardized SQL schema for people to base
third-party extensions off of though.
Probably, yes :-)


Regards,
Henrik
list Galen Johnson · Mon, 9 Feb 2009 16:41:07 -0500 ·
What's preventing that now?  RRD is a database...Round Robin Database.  It has an API and several applications at Tobi's site that already can facilitate this.  The real difficulty with the web interface is that it's not fully abstracted from the service.  Many of the components are generated within the C code.  I seem to recall some effort around assisting with abstracting that layer.  Reports can be created and added via shell scripts or other methods (I seem to recall a very nice PDF generation report making the rounds recently).

Adding that DB layer actually makes setup and configuration of Xymon more difficult.  I've attempted to work with Nagios (which uses a DB backend) on several occasions and I always come back to Xymon for it's simplicity.

=G=
quoted from Japheth Cleaver

-----Original Message-----
From: user-e1d5cb184a81@xymon.invalid [mailto:user-e1d5cb184a81@xymon.invalid] 
Sent: Monday, February 09, 2009 4:22 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge


Hi Henrik,

   I was reading about 4.5 release and maybe its time to think about store
the data into a Database like MySQL/PostgreSQL, if you do that far more
contributors can start to colaborate with customs web-interfaces, reports,
etc etc.

   With best regards,

Giovanni

On Mon, 9 Feb 2009 09:35:40 -0500, <user-e820fcc97088@xymon.invalid> wrote:
Wonderful news Henrik!  I have 2 servers waiting for just this occasion.

Many, many thanks to you.

Larry

Larry Sherman
RBS Global Banking & Markets
Office: +X XXX XXX XXXX


-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, February 09, 2009 9:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge


So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left
out some of the more "dangerous" new components from this
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik


********************************************************************This
message (including any attachments) is confidential and/or
privileged. It is to be used by the intended recipients only. If
you have received it by mistake please notify the sender by return
e-mail and delete this message from your system. Any unauthorized
use or dissemination of this message in whole or in part is
strictly prohibited. Please note that e-mails are inherently
insecure and susceptible to change. The Royal Bank of Scotland
Group, plc ("RBS") and its US subsidiaries, and affiliates and
subsidiary undertakings, including but not limited to, RBS plc New
York and Connecticut Branches, Greenwich Capital Markets, Inc., ABN
AMRO Bank N.V. New York and Chicago Branches and, ABN AMRO Inc.,
Citizens Financial Group, Inc. and RBS Citizens, N.A., shall not be
liable for the improper or incomplete transmission of the
information contained in this communication or Attachment nor for
any delay in its receipt or damage to your system. RBS does not
guarantee that the integrity of this communication has been
maintained nor that this communication is free of viruses,
interceptions or interference. RBS and its subsidiaries and
affiliates do not guarantee the accuracy of any email or
attachment, that an email will be received or that RBS or its
affiliates and subsidiaries will respond to an email.

RBS makes no representations that any information contained in this
message (including any attachments) are appropriate for use in all
locations or that transactions, securities, products, instruments
or services discussed herein are available or appropriate for sale
or use in all jurisdictions, or by all investors or counterparties.
Those who utilize this information do so on their own initiative
and are responsible for compliance with applicable local laws or
regulations.********************************************************************
list Keith Meserole · Mon, 9 Feb 2009 16:48:48 -0500 ·
All,

I loaded 4.3.0 on a Solaris 10 x86 server on top of an existing 4.2.2
installation.   Largely it worked well except for the items listed below.
The compile log is attached if anyone is curious.


Any suggestions are welcome - I can re-load this as needed.

+++++++++++++++++++++++++++++++++++++++++++++++++++++

 
Administration | Enable/Disable does not work
 
http://my-server.net/hobbit-seccgi/hobbit-enadis.sh

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
 
Please contact the server administrator, user-141bd1600d50@xymon.invalid and inform them
of the time the error occurred, and anything you might have done that may
have caused the error.
 
More information about this error may be available in the server error log."
 
 
Apache/2.0.59 (Unix) DAV/2 user-aeb041b2f7a8@xymon.invalid Port 80:
 
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET
CLR 3.0.04506.30; InfoPath.1; .NET CLR 1.1.4322; .NET CL
R 3.0.04506.648)
[Mon Feb 09 14:10:14 2009] [error] [client 10.139.201.168] Premature end of
script headers: hobbit-enadis.sh, referer:
http://my-server.net/hobbit/web/ws1/ws1.html
 

+++++++++++++++++++++++++++++++++++++++++++++++++++++

Info does not work - similar errors
++++++++++++++++++++++++++++++++++++++++++++++++++++++

All reports, sybpages of tests and web tools are missing the footer file.
"link bb_footer" appears at the bottom of the page
 
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Man pages still seem to be on version 4.2.2

Example
CLIENT-LOCAL.CFG
Section: File Formats (5)
Updated: Version 4.2.2: 15 Dec 2008
Index Return to Main Contents
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

user-ce4a2c883f75@xymon.invalid]
quoted from Galen Johnson
-----Original Message-----
From: Henrik Størner [ <mailto:user-ce4a2c883f75@xymon.invalid> mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, February 09, 2009 9:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge

So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to Sourceforge a few
moments ago. If you have the time and a spare system to test it with, I'd
appreciate any effort you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in this version, and I
more or less expect it to crash spectacularly in your setup. So putting it
on mission- critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode repository, you will be
familiar with the new stuff in this version. However if you compare it to
what's in the current beta-release, you will notice that I have left out
some of the more "dangerous" new components from this release. This was done
to make testing a bit more manageable; I have a lot of new code for Xymon,
and throwing all of it into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the coming months,
where new features will be introduced in a controlled fashion.

But the current release is not void of new stuff. Far from it - here are the
highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month or so,
depending on how many bugs show up. Then I'll introduce new releases about
once every two months - with the following schedule (everything subject to
change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test daemon - I
am getting to the point where ping'ing all hosts take longer than 5 minutes
(I have a lot of hosts). So something needs to be done, and I think I know
how to do it.


Have fun!

Henrik
list Japheth Cleaver · Mon, 9 Feb 2009 14:02:36 -0800 ·
Ha! Alright, I'll bite. :) I'd definitely be interested if you'd like to contact me off-list.

-jc

-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, February 09, 2009 1:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] SQL storage backends (was RE: [hobbit] Xymon
4.3.0:Beta version available on Sourceforge)
quoted from Henrik Størner

On Mon, Feb 09, 2009 at 01:33:37PM -0800, Cleaver, Japheth wrote:
In theory, any backend can be used with the creation of an appropriate
hobbitd_channel listener (eg, hobbitd_sqlstore). I was thinking of
whipping one up a few days ago using perl DBI::mysql as a test, but was
distracted figuring out the proper message-parsing mechanics out of
hobbitd_sample.c.
Hey, it sounds like we just got the volunteer I asked for in my
response to Giovanni :-)

Seriously, if you would like to work on this then I'll be happy to
explain the way your worker module is being fed data from hobbitd.
Parsing it in Perl should be pretty straight-forward.
It would help to have a standardized SQL schema for people to base
third-party extensions off of though.
Probably, yes :-)


Regards,
Henrik

list Martin Flemming · Tue, 10 Feb 2009 00:29:36 +0100 (CET) ·
Yeah, i think my head is spinning ... :-)

Thanks a lot Henrik !
Have fun!

Henrik
We will get it !

cheers,
 	martin
quoted from Keith Meserole

On Mon, 9 Feb 2009, Henrik Størner wrote:
So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left
out some of the more "dangerous" new components from this
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
 use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
 SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
 remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
 the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
 SSL minimum cipher strength
* Changed network test code to always report a validity period
 for network tests, so it it possible to run network tests less
 often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
 status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
 for the common selections.
* Ghost list report now lists possible candidates for a ghost,
 based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
 and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
 really nice - essentially, *any* value you put into an RRD file
 can trigger a new or modified status in Xymon. So you could eg.
 change the status of your "http" test to go red, if the response
 time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
 compression and/or encryption.
* Support for client authentication via SSL certificates (so
 you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
 authentication, and provide more fine-grained authorization
 for the various Xymon components.
* Per-user custom login pages, so the login will always show those
 systems that the user has responsibility for / is allowed to
 access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik

list Allan Spencer · Tue, 10 Feb 2009 10:30:47 +1100 ·
quoted from Keith Meserole
On 10/02/2009 8:48 AM, Keith Meserole wrote:

All,

I loaded 4.3.0 on a Solaris 10 x86 server on top of an existing 4.2.2 installation.   Largely it worked well except for the items listed below.    The compile log is attached if anyone is curious.


Any suggestions are welcome - I can re-load this as needed.

+++++++++++++++++++++++++++++++++++++++++++++++++++++

 Administration | Enable/Disable does not work
 http://my-server.net/hobbit-seccgi/hobbit-enadis.sh

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

 Please contact the server administrator, user-141bd1600d50@xymon.invalid <mailto:user-141bd1600d50@xymon.invalid> and inform them of the time the error occurred, and anything you might have done that may have caused the error.
quoted from Keith Meserole
 More information about this error may be available in the server error log."
  Apache/2.0.59 (Unix) DAV/2 user-aeb041b2f7a8@xymon.invalid Port 80:
 Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 1.1.4322; .NET CL
R 3.0.04506.648)
[Mon Feb 09 14:10:14 2009] [error] [client 10.139.201.168] Premature end of script headers: hobbit-enadis.sh, referer: http://my-server.net/hobbit/web/ws1/ws1.html
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++

Info does not work - similar errors
++++++++++++++++++++++++++++++++++++++++++++++++++++++

All reports, sybpages of tests and web tools are missing the footer file.    "link bb_footer" appears at the bottom of the page
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++

Man pages still seem to be on version 4.2.2

Example
CLIENT-LOCAL.CFG
Section: File Formats (5)
Updated: Version 4.2.2: 15 Dec 2008
Index Return to Main Contents
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++

user-ce4a2c883f75@xymon.invalid <mailto:user-ce4a2c883f75@xymon.invalid>]
quoted from Martin Flemming
-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, February 09, 2009 9:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge

So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to Sourceforge a few moments ago. If you have the time and a spare system to test it with, I'd appreciate any effort you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in this version, and I more or less expect it to crash spectacularly in your setup. So putting it on mission- critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode repository, you will be familiar with the new stuff in this version. However if you compare it to what's in the current beta-release, you will notice that I have left out some of the more "dangerous" new components from this release. This was done to make testing a bit more manageable; I have a lot of new code for Xymon, and throwing all of it into one release would just wreak havoc on everyones systems.

So instead I am preparing for a series of releases over the coming months, where new features will be introduced in a controlled fashion.

But the current release is not void of new stuff. Far from it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month or so, depending on how many bugs show up. Then I'll introduce new releases about once every two months - with the following schedule (everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test daemon - I am getting to the point where ping'ing all hosts take longer than 5 minutes (I have a lot of hosts). So something needs to be done, and I think I know how to do it.


Have fun!

Henrik

Good so I'm not the only one thats getting script errors on either an upgraded or fresh install on a box that already had 4.2.something

Initially just configure make make install didnt like me, so I moved all of the dirs elsewhere and did the same again and got the same again.

This is on a Centos 4.7 x86 machine that has been running hobbit since sometime early 2007

Allan
list Giovanni - Gestor Redix · Mon, 09 Feb 2009 23:36:23 -0200 ·
Thanks for the quick reply Henrik!
   
    I really think that the bigger problem is, as you said, the correct
daily-basics knowledge to develop a good-and-well-structured database for
Hobbit, which is a biiig project.

    The availability problem is actually not a problem, you can create a
Cluster/Replication for the Database in the case of big structures, for
small environments you can just deploy the database on the same server, i
think its like 95% of environments todays that uses Hobbit/Xymon btw...

    I have a work colleage whos have basic/good knowledge developing
C/database applications, maybe in a near future we can dedicate the
aproppriate time to code a such an addon as you said, i'll keep in touch if
i have any news...

    For now, thank you very much for your great effort.
quoted from Henrik Størner

    Regards,

Giovanni

On Mon, 9 Feb 2009 22:34:56 +0100, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
Hi Giovanni,

On Mon, Feb 09, 2009 at 07:21:43PM -0200, user-e1d5cb184a81@xymon.invalid wrote:
Hi Henrik,

   I was reading about 4.5 release and maybe its time to think about
store
the data into a Database like MySQL/PostgreSQL, if you do that far more
contributors can start to colaborate with customs web-interfaces,
reports,
etc etc.
this subject comes up once in a while. I have two problems with it:


1) I've never done any programming that interfaces to a database, so
it would mean digging into one more API - but that is something I
could probably handle.

2) The real problem is that unless the database is co-located with the
Xymon server, then your monitoring suddenly becomes dependant on
a remote database-server. So what happens if your database server loses
the network connection to the Xymon server ? You won't get any alerts
from Xymon, because it has no data available to generate alerts from.


It's the same reason that has kept me from using SAN storage for my
production Xymon server at work. Much too complex for my taste, far
too many ways it can break.

And the time when you need your Xymon server the most is *exactly*
when everything else has gone down in flames.


What I *would* consider is to create a module like the hobbitd_filestore
module, except it sends the status-data off to a database somewhere.
Or even an external module for hobbitd_rrd that gets all of the
parsed data we collect and use as the basis of all of the graphs.
Such modules would be very easy to write for someone who knows how
to do programming with the database API - my guess is that it wouldn't
take more than a day or two.

So if you know someone who could voluteer for such an add-on, I would
be very happy to work together with him/her on putting such an add-on
together.


Regards,
Henrik

list Giovanni - Gestor Redix · Mon, 09 Feb 2009 23:39:14 -0200 ·
I volunteer for the beta-testing! :-)

On Mon, 9 Feb 2009 14:02:36 -0800, "Cleaver, Japheth"
quoted from Japheth Cleaver
<user-2a1212dafc7b@xymon.invalid> wrote:
Ha! Alright, I'll bite. :) I'd definitely be interested if you'd like to
contact me off-list.

-jc

-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Monday, February 09, 2009 1:39 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] SQL storage backends (was RE: [hobbit] Xymon
4.3.0:Beta version available on Sourceforge)

On Mon, Feb 09, 2009 at 01:33:37PM -0800, Cleaver, Japheth wrote:
In theory, any backend can be used with the creation of an appropriate
hobbitd_channel listener (eg, hobbitd_sqlstore). I was thinking of
whipping one up a few days ago using perl DBI::mysql as a test, but
was
distracted figuring out the proper message-parsing mechanics out of
hobbitd_sample.c.
Hey, it sounds like we just got the volunteer I asked for in my
response to Giovanni :-)

Seriously, if you would like to work on this then I'll be happy to
explain the way your worker module is being fed data from hobbitd.
Parsing it in Perl should be pretty straight-forward.
It would help to have a standardized SQL schema for people to base
third-party extensions off of though.
Probably, yes :-)


Regards,
Henrik

list Rich Smrcina · Mon, 09 Feb 2009 20:37:35 -0600 ·
quoted from Henrik Størner
Henrik Størner wrote:
2) The real problem is that unless the database is co-located with the
Xymon server, then your monitoring suddenly becomes dependant on a remote database-server. So what happens if your database server loses
the network connection to the Xymon server ? You won't get any alerts
from Xymon, because it has no data available to generate alerts from.
A good number of db applications are implemented in a multi-tier configuration where the db server is separate from the app server.  Xymon wouldn't necessarily be different in that respect.

My suggestion would be to leave the database location up to the implementation.

Now you perl zealots will probably freak out, but I probably wouldn't want that database code to be in Perl (sorry Japeth), it's too performance sensitive.

Part of Japeth's idea has great merit here, implement the db layer as DBI code.  That way the implementation can choose any DBI compliant database they want.

-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009
list Rich Smrcina · Mon, 09 Feb 2009 20:38:34 -0600 ·
Excellent news!  Great work.
quoted from Henrik Størner

Henrik Størner wrote:
So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to 
Sourceforge a few moments ago. If you have the time and
a spare system to test it with, I'd appreciate any effort
you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in
this version, and I more or less expect it to crash
spectacularly in your setup. So putting it on mission-
critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode
repository, you will be familiar with the new stuff in
this version. However if you compare it to what's in
the current beta-release, you will notice that I have left 
out some of the more "dangerous" new components from this 
release. This was done to make testing a bit more manageable;
I have a lot of new code for Xymon, and throwing all of it
into one release would just wreak havoc on everyones
systems.

So instead I am preparing for a series of releases over the
coming months, where new features will be introduced in a
controlled fashion.

But the current release is not void of new stuff. Far from 
it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month
or so, depending on how many bugs show up. Then I'll introduce new
releases about once every two months - with the following schedule
(everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use 
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test
daemon - I am getting to the point where ping'ing all hosts take 
longer than 5 minutes (I have a lot of hosts). So something needs
to be done, and I think I know how to do it.


Have fun!

Henrik

-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009
list Brian Catlin · Mon, 9 Feb 2009 21:43:08 -0500 (Eastern Standard Time) ·
How about you alert on the incoming as usual, then store the events (batched
or not) into the backend database so that reports can be developed for
management, history could use for lookups, etc... That might make this a
little more palatable to you, and a lot more usable to those of us who have
to prove to management that the  time we invest in getting this doing what
we want is not a drain on their resources. 

Reports are management blood, no reports - no use... (for managers) - I have
had managers tell me this in the past. (on the other hand - two weeks after
I installed clients on one department's sun servers, the manager had some
questions about server performance over the past few weeks = was quite
pleased and surprised when I gave him a spreadsheet that laid out the data
for all his servers in 1/2 hour, as was even more please when I showed him
how to view his page of servers.)

Another thing that using a database to store history in - much better
security for those of us who work in security realms and have to protect
data - alarm history can give a lot of info away to a hacker if they gain
access to the server running the master.
With a database, it can be secured and only have authorized users that
access it.

One thing everyone should remember - in business, as in life, perception is
80 % of the way things are seen - think about it... 
 

user-259d6a9a548a@xymon.invalid
quoted from Henrik Størner
-------Original Message-------
 
From: Henrik Størner
Date: 2/9/2009 4:40:49 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge
 
Hi Giovanni,
 
On Mon, Feb 09, 2009 at 07:21:43PM -0200, user-e1d5cb184a81@xymon.invalid wrote:
Hi Henrik,

   I was reading about 4.5 release and maybe its time to think about store
the data into a Database like MySQL/PostgreSQL, if you do that far more
contributors can start to colaborate with customs web-interfaces, reports,
etc etc.
 
this subject comes up once in a while. I have two problems with it:
 
 
1) I've never done any programming that interfaces to a database, so
it would mean digging into one more API - but that is something I
could probably handle.
 
2) The real problem is that unless the database is co-located with the
Xymon server, then your monitoring suddenly becomes dependant on
a remote database-server. So what happens if your database server loses
the network connection to the Xymon server ? You won't get any alerts
from Xymon, because it has no data available to generate alerts from.
 
 
It's the same reason that has kept me from using SAN storage for my
production Xymon server at work. Much too complex for my taste, far
too many ways it can break.
 
And the time when you need your Xymon server the most is *exactly*
when everything else has gone down in flames.
 
 
What I *would* consider is to create a module like the hobbitd_filestore
module, except it sends the status-data off to a database somewhere.
Or even an external module for hobbitd_rrd that gets all of the
parsed data we collect and use as the basis of all of the graphs.
Such modules would be very easy to write for someone who knows how
to do programming with the database API - my guess is that it wouldn't
take more than a day or two.
 
So if you know someone who could voluteer for such an add-on, I would
be very happy to work together with him/her on putting such an add-on
together.
 
 
Regards,
Henrik
list Ralph Mitchell · Mon, 9 Feb 2009 20:53:30 -0600 ·
That is pretty much how I interpreted what Henrik said.  The gui pages and
alerts need to be generated as fast as possible, and right now the info
flows through shared memory.  I don't think it gets much faster than that.
A database writer module could run in parallel or behind, as long as nothing
else was impacted if the database was slow or inaccessible.

Ralph Mitchell
quoted from Brian Catlin


On Mon, Feb 9, 2009 at 8:43 PM, Brian Catlin <user-af6e4c377507@xymon.invalid> wrote:
   How about you alert on the incoming as usual, then store the events
(batched or not) into the backend database so that reports can be developed
for management, history could use for lookups, etc... That might make this a
little more palatable to you, and a lot more usable to those of us who have
to prove to management that the  time we invest in getting this doing what
we want is not a drain on their resources.
Reports are management blood, no reports - no use... (for managers) - I
have had managers tell me this in the past. (on the other hand - two weeks
after I installed clients on one department's sun servers, the manager had
some questions about server performance over the past few weeks = was quite
pleased and surprised when I gave him a spreadsheet that laid out the data
for all his servers in 1/2 hour, as was even more please when I showed him
how to view his page of servers.)

Another thing that using a database to store history in - much better
security for those of us who work in security realms and have to protect
data - alarm history can give a lot of info away to a hacker if they gain
access to the server running the master.
With a database, it can be secured and only have authorized users that
access it.

One thing everyone should remember - in business, as in life, perception is
80 % of the way things are seen - think about it...


 user-259d6a9a548a@xymon.invalid
*-------Original Message-------*

 *From:* Henrik Størner <user-ce4a2c883f75@xymon.invalid>
quoted from Brian Catlin
*Date:* 2/9/2009 4:40:49 PM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* Re: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge

Hi Giovanni,

On Mon, Feb 09, 2009 at 07:21:43PM -0200, user-e1d5cb184a81@xymon.invalid wrote:
Hi Henrik,

   I was reading about 4.5 release and maybe its time to think about
store
the data into a Database like MySQL/PostgreSQL, if you do that far more
contributors can start to colaborate with customs web-interfaces,
reports,
etc etc.
this subject comes up once in a while. I have two problems with it:


1) I've never done any programming that interfaces to a database, so
it would mean digging into one more API - but that is something I
could probably handle.

2) The real problem is that unless the database is co-located with the
Xymon server, then your monitoring suddenly becomes dependant on
a remote database-server. So what happens if your database server loses
the network connection to the Xymon server ? You won't get any alerts
from Xymon, because it has no data available to generate alerts from.


It's the same reason that has kept me from using SAN storage for my
production Xymon server at work. Much too complex for my taste, far
too many ways it can break.

And the time when you need your Xymon server the most is *exactly*
when everything else has gone down in flames.


What I *would* consider is to create a module like the hobbitd_filestore
module, except it sends the status-data off to a database somewhere.
Or even an external module for hobbitd_rrd that gets all of the
parsed data we collect and use as the basis of all of the graphs.
Such modules would be very easy to write for someone who knows how
to do programming with the database API - my guess is that it wouldn't
take more than a day or two.

So if you know someone who could voluteer for such an add-on, I would
be very happy to work together with him/her on putting such an add-on
together.


Regards,
Henrik

list Vernon Everett · Tue, 10 Feb 2009 13:27:48 +0900 ·
Your comment reminds me of this
http://www.flickr.com/photos/straup/2247714432/

On a more serious note, I look forward to storing hobbit information in a relational database.
Imagine the reporting flexibility we could have with SQL.
- Give me all server with root file system smaller than 8gb that have been over 80% in the last 3 months.
- give me a list of all servers with operating system X that are running custom test Y.
There will be no limits to the level of reporting.

I think it would be a bad idea to abandon the old RRD in favour of RDB, but to rather have the ability to use RRD by default, and RDB as an additional reporting structure.
This would limit the dependency issue.

Using an RDB would also allow for custom defined data points.
Currently, with RRD, we only store 48 hours of data points at 5 minutes granularity.
In an RDB we could define our own retention period.
Because of the way RDBs work, there would probably need to be a purge job to purge old data, and accumulate it into data points for the table storing the next level of granularity.

It could be an interesting project, but would need to be very carefully constructed to prevent performance issues.
Do we have any database architects on the list?

Regards
     Vernon
quoted from Brian Catlin


From: Brian Catlin [mailto:user-af6e4c377507@xymon.invalid]
Sent: Tuesday, 10 February 2009 11:43 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge

How about you alert on the incoming as usual, then store the events (batched or not) into the backend database so that reports can be developed for management, history could use for lookups, etc... That might make this a little more palatable to you, and a lot more usable to those of us who have to prove to management that the  time we invest in getting this doing what we want is not a drain on their resources.

Reports are management blood, no reports - no use... (for managers) - I have had managers tell me this in the past. (on the other hand - two weeks after I installed clients on one department's sun servers, the manager had some questions about server performance over the past few weeks = was quite pleased and surprised when I gave him a spreadsheet that laid out the data for all his servers in 1/2 hour, as was even more please when I showed him how to view his page of servers.)

Another thing that using a database to store history in - much better security for those of us who work in security realms and have to protect data - alarm history can give a lot of info away to a hacker if they gain access to the server running the master.
With a database, it can be secured and only have authorized users that access it.

One thing everyone should remember - in business, as in life, perception is 80 % of the way things are seen - think about it...


user-259d6a9a548a@xymon.invalid
-------Original Message-------

From: Henrik Størner<mailto:user-ce4a2c883f75@xymon.invalid>
Date: 2/9/2009 4:40:49 PM
To: user-ae9b8668bcde@xymon.invalid<mailto:user-ae9b8668bcde@xymon.invalid>
Subject: Re: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge

Hi Giovanni,

On Mon, Feb 09, 2009 at 07:21:43PM -0200, user-e1d5cb184a81@xymon.invalid<mailto:user-e1d5cb184a81@xymon.invalid> wrote:
Hi Henrik,

   I was reading about 4.5 release and maybe its time to think about store
the data into a Database like MySQL/PostgreSQL, if you do that far more
contributors can start to colaborate with customs web-interfaces, reports,
etc etc.
this subject comes up once in a while. I have two problems with it:


1) I've never done any programming that interfaces to a database, so
it would mean digging into one more API - but that is something I
could probably handle.

2) The real problem is that unless the database is co-located with the
Xymon server, then your monitoring suddenly becomes dependant on
a remote database-server. So what happens if your database server loses
the network connection to the Xymon server ? You won't get any alerts
from Xymon, because it has no data available to generate alerts from.


It's the same reason that has kept me from using SAN storage for my
production Xymon server at work. Much too complex for my taste, far
too many ways it can break.

And the time when you need your Xymon server the most is *exactly*
when everything else has gone down in flames.


What I *would* consider is to create a module like the hobbitd_filestore
module, except it sends the status-data off to a database somewhere.
Or even an external module for hobbitd_rrd that gets all of the
parsed data we collect and use as the basis of all of the graphs.
Such modules would be very easy to write for someone who knows how
to do programming with the database API - my guess is that it wouldn't
take more than a day or two.

So if you know someone who could voluteer for such an add-on, I would
be very happy to work together with him/her on putting such an add-on
together.


Regards,
Henrik


NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Buchan Milne · Tue, 10 Feb 2009 08:38:35 +0200 ·
quoted from Giovanni - Gestor Redix
On Tuesday 10 February 2009 00:02:36 Cleaver, Japheth wrote:
Ha! Alright, I'll bite. :) I'd definitely be interested if you'd like to
contact me off-list.

-jc
Please don't take development stuff off-list, take it to the development list 
instead!
list Detlef Stracke · Tue, 10 Feb 2009 13:14:21 +0100 ·
Hi guys,
 
on Solaris 10 sparc I have got the same issue. 
 
 
Service info, ConfigReports and enable/disable do not work with error "Internal Server Error" and "Premature end of script headers: " in the error_log
 
The installation of xymon 4.2.2 works successful.
quoted from Keith Meserole


Von: Keith Meserole [mailto:user-73279f70f6bb@xymon.invalid] 
Gesendet: Montag, 9. Februar 2009 22:49
An: user-ae9b8668bcde@xymon.invalid
Cc: user-ce4a2c883f75@xymon.invalid
Betreff: RE: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge


All,

I loaded 4.3.0 on a Solaris 10 x86 server on top of an existing 4.2.2 installation.   Largely it worked well except for the items listed below.    The compile log is attached if anyone is curious.


Any suggestions are welcome - I can re-load this as needed.

+++++++++++++++++++++++++++++++++++++++++++++++++++++

 
Administration | Enable/Disable does not work
 
http://my-server.net/hobbit-seccgi/hobbit-enadis.sh

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
 
Please contact the server administrator, user-141bd1600d50@xymon.invalid and inform them of the time the error occurred, and anything you might have done that may have caused the error.
 
More information about this error may be available in the server error log."
 
 
Apache/2.0.59 (Unix) DAV/2 user-aeb041b2f7a8@xymon.invalid Port 80:
 
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1; .NET CLR 1.1.4322; .NET CL
R 3.0.04506.648)
[Mon Feb 09 14:10:14 2009] [error] [client 10.139.201.168] Premature end of script headers: hobbit-enadis.sh, referer: http://my-server.net/hobbit/web/ws1/ws1.html
 

+++++++++++++++++++++++++++++++++++++++++++++++++++++

Info does not work - similar errors
++++++++++++++++++++++++++++++++++++++++++++++++++++++

All reports, sybpages of tests and web tools are missing the footer file.    "link bb_footer" appears at the bottom of the page
 
++++++++++++++++++++++++++++++++++++++++++++++++++++++

Man pages still seem to be on version 4.2.2

Example
CLIENT-LOCAL.CFG
Section: File Formats (5)
Updated: Version 4.2.2: 15 Dec 2008
Index Return to Main Contents
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

user-ce4a2c883f75@xymon.invalid]
-----Original Message-----
From: Henrik Størner [mailto:user-ce4a2c883f75@xymon.invalid <mailto:user-ce4a2c883f75@xymon.invalid> ]
Sent: Monday, February 09, 2009 9:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge

So you didn't think I'd do two releases in one day, eh?

I've uploaded the first beta version of xymon 4.3.0 to Sourceforge a few moments ago. If you have the time and a spare system to test it with, I'd appreciate any effort you can lend me in getting the bugs ironed out.

You should be aware that there IS a lot of new stuff in this version, and I more or less expect it to crash spectacularly in your setup. So putting it on mission- critical systems could be seen as slightly dangerous.

If you have looked at the "trunk" of the sourcecode repository, you will be familiar with the new stuff in this version. However if you compare it to what's in the current beta-release, you will notice that I have left out some of the more "dangerous" new components from this release. This was done to make testing a bit more manageable; I have a lot of new code for Xymon, and throwing all of it into one release would just wreak havoc on everyones systems.

So instead I am preparing for a series of releases over the coming months, where new features will be introduced in a controlled fashion.

But the current release is not void of new stuff. Far from it - here are the highlights of the 4.3.0 version:

Core changes:
* Hosts which appear on multiple pages in the web display can
  use any page they are on in the alerting rules and elsewhere.
* Support for defining holidays as non-working days in alerts and
  SLA calculations.
* Worker modules (RRD, client-data parsers etc) can operate on
  remote hosts from the hobbitd daemon, for load-sharing.
* New API's for loadhosts and sendmessage, in preparation for
  the full 5.0 changes.
* Always use getcurrenttime() instead of time().
* Various bugfixes collected over time.

Network test changes:
* Merged new network tests from trunk: SOAP-over-HTTP,
  SSL minimum cipher strength
* Changed network test code to always report a validity period
  for network tests, so it it possible to run network tests less
  often than every 30 minutes (e.g. once an hour).
* Make the content-type setting in HTTP POST tests configurable.
* Make the source-address used for TCP tests configurable.
* Make the acceptable HTTP result codes configurable.
* Use and save HTTP session cookies.

Web changes
* "NOCOLUMNS" changed to work for all columns.
* New "group-sorted" definition to auto-sort hosts in a group
* Use browser tooltips for host comments
* "Compact" status allows several statuses to appear as a single
  status on the overview webpages.
* Trends page can select the time period to show. Buttons provided
  for the common selections.
* Ghost list report now lists possible candidates for a ghost,
  based on IP-address or unqualified hostname.
* Support generic drop-down lists in templates.

Report changes
* Number of outages as SLA parameter

Miscellaneous
* hobbitlaunch support for running tasks only on certain hosts,
  and for a maximum time.
* Alert script get a unique ID for each alert.


The plan for the future is to let this release stabilize for a month or so, depending on how many bugs show up. Then I'll introduce new releases about once every two months - with the following schedule (everything subject to change):

Version 4.4:
* SNMP support for data collection
* Status updates based on data collected in the RRD files (this is
  really nice - essentially, *any* value you put into an RRD file
  can trigger a new or modified status in Xymon. So you could eg.
  change the status of your "http" test to go red, if the response
  time of a webpage exceeds 5 seconds).
* Status "flap" handling, to catch statuses that change rapidly.

Version 4.5:
* Support for communication between clients and Xymon to use
  compression and/or encryption.
* Support for client authentication via SSL certificates (so
  you cannot spoof a client message).

Version 4.6:
* Revised web interface - eliminate the need for webserver-based
  authentication, and provide more fine-grained authorization
  for the various Xymon components.
* Per-user custom login pages, so the login will always show those
  systems that the user has responsibility for / is allowed to
  access.

Somewhere along the road I will also introduce a new "ping" test daemon - I am getting to the point where ping'ing all hosts take longer than 5 minutes (I have a lot of hosts). So something needs to be done, and I think I know how to do it.


Have fun!

Henrik
list Rich Smrcina · Tue, 10 Feb 2009 09:01:53 -0600 ·
I suspect (hope) that a db backend will be an option, not a requirement.
quoted from Galen Johnson

Galen Johnson wrote:
What's preventing that now?  RRD is a database...Round Robin Database.  It has an API and several applications at Tobi's site that already can facilitate this.  The real difficulty with the web interface is that it's not fully abstracted from the service.  Many of the components are generated within the C code.  I seem to recall some effort around assisting with abstracting that layer.  Reports can be created and added via shell scripts or other methods (I seem to recall a very nice PDF generation report making the rounds recently).

Adding that DB layer actually makes setup and configuration of Xymon more difficult.  I've attempted to work with Nagios (which uses a DB backend) on several occasions and I always come back to Xymon for it's simplicity.

=G=
-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009
list Henrik Størner · Tue, 10 Feb 2009 16:08:04 +0100 ·
On Mon, Feb 09, 2009 at 04:48:48PM -0500, Keith Meserole wrote:
http://my-server.net/hobbit-seccgi/hobbit-enadis.sh

"Internal Server Error

Info does not work - similar errors
I think this is a pretty widespread bug. The attached patch should fix
it, but this code is used throughout Xymon, so a "make clean; make; make
install" would probably be needed afterwards.

For testing, you can skip the "make install" and just copy web/*.cgi
to your ~xymon/server/bin/ directory.

Let me know if it helps.


Regards,
Henrik
Attachments (1)
list Gary Baluha · Tue, 10 Feb 2009 10:31:15 -0500 ·
quoted from Vernon Everett
2) The real problem is that unless the database is co-located with the
Xymon server, then your monitoring suddenly becomes dependant on
a remote database-server. So what happens if your database server loses
the network connection to the Xymon server ? You won't get any alerts
from Xymon, because it has no data available to generate alerts from.


It's the same reason that has kept me from using SAN storage for my
production Xymon server at work. Much too complex for my taste, far
too many ways it can break.

Interesting that you should mention that, because our Xymon installation has
all of the /var/hobbit/data stuff stored on a SAN mount.  This has worked
out fairly well for us (though we did have an intermittent issue for a few
months that eventually got straightened out).

However, I'm working on implementing an HA solution for Hobbit using
LinuxHA, and I think we'll be moving from SAN-based storage to local
storage, using DRBD for replication between the two nodes.
list Chris Ss-is Morris · Tue, 10 Feb 2009 16:39:11 -0000 ·
I have installed the 4.3.0 Beta on my AIX 5.3 system and am having a few
problems, particularly with RRD.

1) The disk graph problem has returned where it seems to have a problem
counting the number of separate rrds and misses the last one or two
graphs out but creates the missing graph image box.

2) The rrd updating can sometimes lag up to 20 minutes behind and this
system is not stressed.

3) One of the processes I was tracking has stopped updating the rrd but
still appears in the procs html page as OK.

Regards,
Chris 

**********************************************************************
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.

*******************************************
list Keith · Tue, 10 Feb 2009 18:28:47 +0000 ·
Hi Henrik, 

In /tmp I untarred 4.3.O rc1 and did gmake.    I downloaded the patch to /tmp and changed directory to lib.    Tried to add patch with command.  Patch -p0 /tmp/sendmessage-emptyresponse.patch but this hung and I had to kill the process.      Any ideas?
Sent via BlackBerry by AT&T
quoted from Henrik Størner

-----Original Message-----
From: Henrik Størner  user-ce4a2c883f75@xymon.invalid 

Date: Tue, 10 Feb 2009 16:08:04 
To: <user-ae9b8668bcde@xymon.invalid>
Subject: Re: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge


On Mon, Feb 09, 2009 at 04:48:48PM -0500, Keith Meserole wrote:
http://my-server.net/hobbit-seccgi/hobbit-enadis.sh

"Internal Server Error

Info does not work - similar errors
I think this is a pretty widespread bug. The attached patch should fix
it, but this code is used throughout Xymon, so a "make clean; make; make
install" would probably be needed afterwards.

For testing, you can skip the "make install" and just copy web/*.cgi
to your ~xymon/server/bin/ directory.

Let me know if it helps.


Regards,
Henrik
list Japheth Cleaver · Tue, 10 Feb 2009 12:08:06 -0800 ·
quoted from Rich Smrcina
-----Original Message-----
From: Rich Smrcina [mailto:user-cf452ff334e0@xymon.invalid]
Sent: Monday, February 09, 2009 6:38 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Xymon 4.3.0: Beta version available on
Sourceforge
 
A good number of db applications are implemented in a multi-tier
configuration where the
db server is separate from the app server.  Xymon wouldn't necessarily
be
different in
that respect.

My suggestion would be to leave the database location up to the
implementation.

Now you perl zealots will probably freak out, but I probably wouldn't
want
that database
code to be in Perl (sorry Japeth), it's too performance sensitive.

Well, the actual injection within DBI::mysql is done through XS using
the MySQL development libraries, so it's not just pure perl code
running. More importantly, since hobbitd_channel keeps a pipe open to a
persistent perl process (it's not being forked every time a new status
message comes in) there isn't any compilation penalty for using perl as
opposed to something else -- it's only executed once. Properly written,
you're keeping a statement handle open and just inserting as fast as you
can -- I suspect it will be "fast enough" for most purposes.

It's a trade-off in flexibility, I'd much rather have a live-hackable
perl script gluing things together instead of C code that the end user
is going to have to recompile when something changes.

Best of all.... with the channel architecture people can easily roll
their own, too :)

-jc
list Joe Sloan · Tue, 10 Feb 2009 12:11:35 -0800 ·
quoted from Henrik Størner
Henrik Størner wrote:
On Mon, Feb 09, 2009 at 04:48:48PM -0500, Keith Meserole wrote:
  
http://my-server.net/hobbit-seccgi/hobbit-enadis.sh

"Internal Server Error

Info does not work - similar errors
    
I think this is a pretty widespread bug. The attached patch should fix
it, but this code is used throughout Xymon, so a "make clean; make; make
install" would probably be needed afterwards.

For testing, you can skip the "make install" and just copy web/*.cgi
to your ~xymon/server/bin/ directory.

Let me know if it helps.
  
Excellent - this patch fixed all the broken cgi scripts for me -

Joe
list Henrik Størner · Tue, 10 Feb 2009 22:05:42 +0100 ·
quoted from Keith
On Tue, Feb 10, 2009 at 06:28:47PM +0000, Keith wrote:
Hi Henrik, 
In /tmp I untarred 4.3.O rc1 and did gmake.    I downloaded the patch to /tmp and changed directory to lib.    Tried to add patch with command.  Patch -p0 /tmp/sendmessage-emptyresponse.patch but this hung and I had to kill the process.      Any ideas?
By default, "patch" reads the patch from stdin. So you should use
the command

   cd /tmp/xymon-4.3.0-RC1
   cat /tmp/sendmessage-emptyresponse.patch | patch -p0
   gmake


Regards,
Henrik
list Rich Smrcina · Tue, 10 Feb 2009 22:01:30 -0600 ·
This resolved the 500 errors for me as well.
quoted from Henrik Størner

Henrik Størner wrote:
On Mon, Feb 09, 2009 at 04:48:48PM -0500, Keith Meserole wrote:
http://my-server.net/hobbit-seccgi/hobbit-enadis.sh

"Internal Server Error

Info does not work - similar errors
I think this is a pretty widespread bug. The attached patch should fix
it, but this code is used throughout Xymon, so a "make clean; make; make
install" would probably be needed afterwards.

For testing, you can skip the "make install" and just copy web/*.cgi
to your ~xymon/server/bin/ directory.

Let me know if it helps.


Regards,
Henrik

-- 
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service:  XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina

Catch the WAVV!  http://www.wavv.org
WAVV 2009 - Orlando, FL - May 15-19, 2009
list Frank Gruellich · Tue, 03 Mar 2009 17:18:53 +0100 ·
Hi,

Henrik Størner wrote:
* Make the content-type setting in HTTP POST tests configurable.
I tried to make that feature working today, but I can't figure out how
to use it.  That's what I tried to configure after reading

               If  your  form-data  requires  a different content-type, you can
               specify it by beginning the form-data with  (content-type=TYPE),
               e.g.  "(content-type=text/xml)"  followed by the POST data.

in bb-hosts:

10.35.12.31	jupiter	# post;http://10.35.12.31/some/application;(content-type=text/xml)<soapenv><lots_of_stuff></lots_of_stuff><soapenv>

I also tried without parentheses to no avail.  tcpdumping around shows
that (content-type=text/xml) is quoted directly into the POST and the
default application/x-www-form-urlencoded is still there.  What am I
doing wrong?

Kind regards,
-- 
Navteq (DE) GmbH
Frank Gruellich
Map24 Systems and Networks

Duesseldorfer Strasse 40a
65760 Eschborn
Germany

Phone:      +XX XXXX XXXXX-XXX
Fax:        +XX XXXX XXXXX-XXX

USt-ID-No.: DE 197947163
Managing Directors: Thomas Golob, Alexander Wiegand,
Hans Pieter Gieszen, Martin Robert Stockman
list Henrik Størner · Wed, 4 Mar 2009 14:29:22 +0100 ·
On Tue, Mar 03, 2009 at 05:18:53PM +0100, Frank Gruellich wrote:
Hi,
quoted from Frank Gruellich

Henrik St?rner wrote:
* Make the content-type setting in HTTP POST tests configurable.
I tried to make that feature working today, but I can't figure out how
to use it.  That's what I tried to configure after reading

              If  your  form-data  requires  a different content-type, you can
              specify it by beginning the form-data with  (content-type=TYPE),
              e.g.  "(content-type=text/xml)"  followed by the POST data.

in bb-hosts:

10.35.12.31	jupiter	# post;http://10.35.12.31/some/application;(content-type=text/xml)<soapenv><lots_of_stuff></lots_of_stuff><soapenv>

I also tried without parentheses to no avail.  tcpdumping around shows
that (content-type=text/xml) is quoted directly into the POST and the
default application/x-www-form-urlencoded is still there.  What am I
doing wrong?
Nothing. It's a bug. The attached patch should fix it, this works on
all 4.2.x versions out there.

However, SOAP usually requires an extra header (SOAPAction), and the 
4.2.x version of Xymon won't generate that. You'll need the 4.3.0
version (in beta, and a new beta is coming shortly) and then you 
can use the built-in SOAP test for it.


Regards,
Henrik
Attachments (1)