Xymon Mailing List Archive search

Additional test not showing

4 messages in this thread

list David Hurst · Thu, 13 May 2010 07:16:24 +0200 ·
Hi All,

I am (very) new to Hobbit, and have searched for an answer to this one - but the answers I seem to find include writing a script to obtain certain information and post it to Hobbit.

Basically, this pertains to the tests being done on my mainframe (z/OS). I have the z/OS monitor running there (works great) & have changed some code to pass some database information back to my hobbit server (only very simple information at the moment - until I get this working), so it looks like this in the "client data" on the server :


client mf.zos zos

[osversion]

z/OS 01.10.00 HBB7750

JES2 z/OS1.10

[date]

Thu May 13 06:59:10 CST 2010

[uptime]

Uptime: 11 Days, 11 Hours,  6 Minutes

[cpu]

CPU Utilization     10%

[paging]


............


[databases]

ADADB029 Database 029


The [databases] at the bottom is a new test that I am performing, but for the life of me cannot get it to display in a new column on my hobbit web page. How do I tell Hobbit that there is a new "section" in the data which is passed from my mainframe that must be displayed? Or do I need to write a script to strip the information off and post it into hobbit that way? To write a script to strip the info off the mainframe data just doesn't quite make sense to me ...

I am running Xymon4.3.0-0.beta2.

Regards
Dave

Disclaimer: This message and/or attachment(s) may contain privileged or confidential information. If you are not the intended recipient you may not disclose or distribute any of the information contained within this message. In such case you must destroy this message and inform the sender of the error. T-Systems does not accept liability for any errors, omissions, information and viruses contained in the transmission of this message. Any opinions, conclusions and other information contained within this message not related to T-Systems' official business is deemed to be that of the individual only and is not endorsed by T-Systems.

This message and/or attachment(s) may contain privileged or confidential         information. If you are not the intended recipient you may not disclose or        distribute any of the information contained within this message. In such
case you must destroy this message and inform the sender of the error.
T-Systems does not accept liability for any errors, omissions, information
and viruses contained in the transmission of this message. Any opinions, conclusions and other information contained within this message not related to T-Systems' official business is deemed to be that of the individual only and is not endorsed by T-Systems.                                                                                          T-Systems - Business Flexibility
list Buchan Milne · Thu, 13 May 2010 08:32:43 +0100 ·
quoted from David Hurst
On Thursday, 13 May 2010 06:16:24 David Hurst wrote:
Hi All,

I am (very) new to Hobbit, and have searched for an answer to this one -
 but the answers I seem to find include writing a script to obtain certain
 information and post it to Hobbit.

Basically, this pertains to the tests being done on my mainframe (z/OS). I
 have the z/OS monitor running there (works great) & have changed some code
 to pass some database information back to my hobbit server (only very
 simple information at the moment - until I get this working), so it looks
 like this in the "client data" on the server :

What documentation did you follow in implementing custom checks?

Please see http://your-xymon-server/xymon/help/hobbit-tips.html#scripts

You shouldn't just abuse the client data file, which is for built-in tests.

Regards,
Buchan
list Rich Smrcina · Thu, 13 May 2010 06:51:05 -0500 ·
The Xymon (Hobbit) client for z/OS uses the same client communications mechanism as all of the other clients. There is code on the host (the z/OS system) that sends the client package to the Xymon server, then there is backend code on the Xymon server that analyzes the data received and integrates it into Xymon.

You have part of it correct, the client side (z/OS). What's missing is the server side (Xymon) code.

If you want to tailor the code to add your databases section, you are certainly free to do so. The code is delivered as part of Xymon 4.3.

It will be somewhat easier to implement a custom test (see Buchan's post).
quoted from David Hurst

On 05/13/2010 12:16 AM, David Hurst wrote:
Hi All,

I am (very) new to Hobbit, and have searched for an answer to this one – but the answers I seem to find include writing a script to obtain certain information and post it to Hobbit.

Basically, this pertains to the tests being done on my mainframe (z/OS). I have the z/OS monitor running there (works great) & have changed some code to pass some database information back to my hobbit server (only very simple information at the moment – until I get this working), so it looks like this in the “client data” on the server :

client mf.zos zos
[osversion]
z/OS 01.10.00 HBB7750
JES2 z/OS1.10
[date]
Thu May 13 06:59:10 CST 2010
[uptime]
Uptime: 11 Days, 11 Hours,  6 Minutes
[cpu]
CPU Utilization     10%
[paging]
  ............
  [databases]
ADADB029 Database 029
  
The [databases] at the bottom is a new test that I am performing, but for the life of me cannot get it to display in a new column on my hobbit web page. How do I tell Hobbit that there is a new “section” in the data which is passed from my mainframe that must be displayed? Or do I need to write a script to strip the information off and post it into hobbit that way? To write a script to strip the info off the mainframe data just doesn’t quite make sense to me …

I am running Xymon4.3.0-0.beta2.

Regards

Dave


Disclaimer: This message and/or attachment(s) may contain privileged or confidential information. If you are not the intended recipient you may not disclose or distribute any of the information contained within this message. In such case you must destroy this message and inform the sender of the error. T-Systems does not accept liability for any errors, omissions, information and viruses contained in the transmission of this message. Any opinions, conclusions and other information contained within this message not related to T-Systems' official business is deemed to be that of the individual only and is not endorsed by T-Systems.

-- 

Rich Smrcina
Phone: XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina

Catch the WAVV! http://www.wavv.org
WAVV 2011
list Patrick Nixon · Sun, 16 May 2010 20:52:02 -0400 ·
I just asked this question myself since in my configuration, the
clients can not talk directly to the server and this was the easiest
method for implementing a new check.

Take a look at the sample script someone posted a while back for parsing
various sections of client reports based on Henrik's rootlogin.pl script
(which I can't seem to locate).

http://www.hswn.dk/hobbiton/2009/07/msg00387.html

If you download the BigBrother.pm perl module, it's had all the @ (at)
symbols replaced with " (at) " and you'll need to undo that.
quoted from Rich Smrcina


On Thu, May 13, 2010 at 7:51 AM, Rich Smrcina <user-cf452ff334e0@xymon.invalid> wrote:
The Xymon (Hobbit) client for z/OS uses the same client communications
mechanism as all of the other clients. There is code on the host (the z/OS
system) that sends the client package to the Xymon server, then there is
backend code on the Xymon server that analyzes the data received and
integrates it into Xymon.

You have part of it correct, the client side (z/OS). What's missing is the
server side (Xymon) code.

If you want to tailor the code to add your databases section, you are
certainly free to do so. The code is delivered as part of Xymon 4.3.

It will be somewhat easier to implement a custom test (see Buchan's post).

On 05/13/2010 12:16 AM, David Hurst wrote:
Hi All,

I am (very) new to Hobbit, and have searched for an answer to this one –
but the answers I seem to find include writing a script to obtain certain
information and post it to Hobbit.

Basically, this pertains to the tests being done on my mainframe (z/OS). I
have the z/OS monitor running there (works great) & have changed some code
to pass some database information back to my hobbit server (only very simple
information at the moment – until I get this working), so it looks like this
in the “client data” on the server :

client mf.zos zos
[osversion]
z/OS 01.10.00 HBB7750
JES2 z/OS1.10
[date]
Thu May 13 06:59:10 CST 2010
[uptime]
Uptime: 11 Days, 11 Hours,  6 Minutes
[cpu]
CPU Utilization     10%
[paging]
 ............
 [databases]
ADADB029 Database 029

The [databases] at the bottom is a new test that I am performing, but for
the life of me cannot get it to display in a new column on my hobbit web
page. How do I tell Hobbit that there is a new “section” in the data which
is passed from my mainframe that must be displayed? Or do I need to write a
script to strip the information off and post it into hobbit that way? To
write a script to strip the info off the mainframe data just doesn’t quite
make sense to me …

I am running Xymon4.3.0-0.beta2.

Regards

Dave


Disclaimer: This message and/or attachment(s) may contain privileged or
confidential information. If you are not the intended recipient you may not
disclose or distribute any of the information contained within this message.
In such case you must destroy this message and inform the sender of the
error. T-Systems does not accept liability for any errors, omissions,
information and viruses contained in the transmission of this message. Any
opinions, conclusions and other information contained within this message
not related to T-Systems' official business is deemed to be that of the
individual only and is not endorsed by T-Systems.

--
Rich Smrcina
Phone: XXX-XXX-XXXX
http://www.linkedin.com/in/richsmrcina

Catch the WAVV! http://www.wavv.org
WAVV 2011