[hobbit] trigger with client-local.cfg
Visram, Ali
AVisram at bgcpartners.com
Tue Jun 2 12:21:23 CEST 2009
Thanks
-----Original Message-----
From: Buchan Milne [mailto:bgmilne at staff.telkomsa.net]
Sent: 01 June 2009 09:22
To: hobbit at hswn.dk
Cc: Visram, Ali
Subject: Re: [hobbit] trigger with client-local.cfg
On Friday 29 May 2009 17:38:41 Visram, Ali wrote:
> Hi,
>
> I have just started looking into running xymon v4.2.3 and finding that
> only the last error in passed over to the server with from the client
> where multiple errors exist in the logfile - see below example.
>
> Any Ideas ?
>
> Thanking you in advance
>
> Ali
>
>
>
> client-local.cfg
>
> [sunos]
> log:/tmp/report.log:250
> ignore INFO
> trigger WARNING
>
>
>
> Sample log file - /tmp/report.log
>
>
> ===== Server Model =====
> INFO: Server is a: Sun Fire V440
>
> WARNING: Test failed 1
>
> ===== CPU and Memory Information ===== Memory size: 8192 Megabytes
> Core 1 : 1281Mhz UltraSPARC
> Core 2 : 1281Mhz UltraSPARC
> Core 3 : 1281Mhz UltraSPARC
> Core 4 : 1281Mhz UltraSPARC
>
> ===== Build Revision =====
> Solaris 10 5/08 s10s_u5wos_10 SPARC
>
> ===== System Uptime =====
> Has been up for 2 Hours/Days
>
> WARNING: Test failed 2
>
> ===== Eeprom tests =====
> INFO: Auto boot set to true
> INFO: diag-level set to minimum level
> INFO: local-mac-address set to true
>
> ===== Reconfigure check =====
> INFO: /reconfigure does not exist
>
> ===== Zone information =====
> Server not running zones
>
> WARNING: Test failed 3
>
>
> Result
>
> [msgs:/tmp/report.log]
> <...SKIPPED...>
> ===== Reconfigure check =====
>
> ==============================
> Server not running zones
>
> WARNING: Test failed 3
>
> ==============================
>
>
> [logfile:/tmp/report.log]
> type:100000 (file)
> mode:644 (-rw-r--r--)
> linkcount:1
> owner:5003 (xymon)
> group:14 (sysadmin)
> size:746
> clock:1243609703 (2009/05/29-16:08:23)
> atime:1243609703 (2009/05/29-16:08:23)
> ctime:1243609621 (2009/05/29-16:07:01)
> mtime:1243609621 (2009/05/29-16:07:01)
>
>
The log feature is really intended mostly for real application logs, not
for creating messages for diagnostic scripts. These should rather report
directly to Hobbit/Xymon. For example, have you tried the prtdiag script
from the Deadcat site ? It works fine with Hobbit/Xymon, and provides
most of the info you added to your "log" file ...
Regards,
Buchan
http://www.bgcpartners.com
CONFIDENTIAL: This e-mail has been sent to you by one of the BGC entities (collectively BGC)
listed at the following link http://www.bgcpartners.com/legal/disclaimers/index.html#email_disclaimer.
The link contains company and FSA registration numbers. This e-mail, including its contents and
attachments, if any, are confidential. If you are not the named recipient please notify the sender and
immediately delete it. You may not disseminate, distribute, or forward this e-mail message or disclose
its contents to anybody else. Copyright and any other intellectual property rights in its contents are the
sole property of BGC and its affiliates. E-mail transmission cannot be guaranteed to be secure or error-free.
The sender therefore does not accept liability for any errors or omissions in the contents of this
message which arise as a result of e-mail transmission. If verification is required please request a
hard-copy version. Although we routinely screen for viruses, addressees should check this e-mail and any
attachments for viruses. We make no representation or warranty as to the absence of viruses in this
e-mail or any attachments. Please note that to ensure regulatory compliance and for the protection of our
customers and business, we may monitor and read e-mails sent to and from our server(s).
The registered offices of the BGC entities are at 1 Churchill Place, London, E14 5RD.
For any issues arising from this email please reply to the sender.
The FSA register appears at http://www.fsa.gov.uk/register/.
The FSA regulates the financial services industry in the United Kingdom and is located at
25 The North Colonnade, Canary Wharf, London, E14 5HS.
More information about the Xymon
mailing list