Xymon Mailing List Archive search

Externals Issues

4 messages in this thread

list John Tullis · Thu, 12 Mar 2015 19:56:23 +0000 ·
I've been trying to use bbwin to send a status message to our hobbit server (we haven't upgraded to Xymon yet). BBWin is generating the file and putting it in the tmp folder and it disappears after a few seconds. And that's the last I see of the message. Nothing shows up on the server.

Is there any way to see incoming messages to the server or a log that might tell me why it didn't take the message?

My script checks the diskpart and then reports the status of a Windows raid to hobbit in this format:


status server,group.raid green Thu 03/12/2015 13:05:13.16 RAID is Okay

  Volume 0     C                NTFS   Mirror       931 GB  Healthy    Boot
  Volume 1         System Rese  NTFS   Mirror       100 MB  Healthy    System


Any direction would be very helpful.

John Tullis
Executech
Cell: XXX.XXX.XXXX
Office: XXX.XXX.XXXX
list John Tullis · Thu, 12 Mar 2015 20:17:17 +0000 ·
Figured it out, it has to have the status color on the first line:

green
quoted from John Tullis
status server,group.raid green Thu 03/12/2015 13:05:13.16 RAID is Okay

  Volume 0     C                NTFS   Mirror       931 GB  Healthy    Boot
  Volume 1         System Rese  NTFS   Mirror       100 MB  Healthy    System

As soon as I appended that, it worked just fine.

John Tullis
Executech
quoted from John Tullis


From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Tullis
Sent: Thursday, March 12, 2015 1:56 PM
To: xymon at xymon.com
Subject: [Xymon] Externals Issues

I've been trying to use bbwin to send a status message to our hobbit server (we haven't upgraded to Xymon yet). BBWin is generating the file and putting it in the tmp folder and it disappears after a few seconds. And that's the last I see of the message. Nothing shows up on the server.

Is there any way to see incoming messages to the server or a log that might tell me why it didn't take the message?

My script checks the diskpart and then reports the status of a Windows raid to hobbit in this format:


status server,group.raid green Thu 03/12/2015 13:05:13.16 RAID is Okay

  Volume 0     C                NTFS   Mirror       931 GB  Healthy    Boot
  Volume 1         System Rese  NTFS   Mirror       100 MB  Healthy    System


Any direction would be very helpful.

John Tullis
Executech
list Japheth Cleaver · Thu, 12 Mar 2015 18:35:01 -0700 ·
quoted from John Tullis
On Thu, March 12, 2015 1:17 pm, John Tullis wrote:
Figured it out, it has to have the status color on the first line:

green
status server,group.raid green Thu 03/12/2015 13:05:13.16 RAID is Okay

  Volume 0     C                NTFS   Mirror       931 GB  Healthy
Boot
  Volume 1         System Rese  NTFS   Mirror       100 MB  Healthy
System

As soon as I appended that, it worked just fine.

John Tullis
Executech
Interesting. I wonder if there's a chance of some newline conversion
issues going on...

Which version of hobbit are you using?


Regards,

-jc
list John Tullis · Fri, 13 Mar 2015 15:57:54 +0000 ·
We're running version 4.3.0~beta2.dfsg-9.1ubuntu0.1 

It almost seems like I could send a status by just putting a color in a file with the name of the file being the test and it would report that to Hobbit. 

If that's the case, it will make creating externals much simpler. 
quoted from Japheth Cleaver

John Tullis
Executech
Cell: XXX.XXX.XXXX 
Office: XXX.XXX.XXXX


From: J.C. Cleaver <user-87556346d4af@xymon.invalid>
Sent: Thursday, March 12, 2015 7:35 PM
To: John Tullis
Cc: xymon at xymon.com
Subject: Re: [Xymon] Externals Issues


Interesting. I wonder if there's a chance of some newline conversion
issues going on...

Which version of hobbit are you using?


Regards,

-jc


On Thu, March 12, 2015 1:17 pm, John Tullis wrote:
Figured it out, it has to have the status color on the first line:

green
status server,group.raid green Thu 03/12/2015 13:05:13.16 RAID is Okay

  Volume 0     C                NTFS   Mirror       931 GB  Healthy
Boot
  Volume 1         System Rese  NTFS   Mirror       100 MB  Healthy
System

As soon as I appended that, it worked just fine.

John Tullis
Executech