Externals Issues
list John Tullis
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
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
▸
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
▸
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
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.
▸
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