[Xymon] raid bbwin monitoring
Gonzalez Peto
jkokino at gmail.com
Fri Jul 19 15:20:30 CEST 2013
OK. This is the right url of 1.1.4
http://communities.quest.com/docs/DOC-9191
As I suspected the 2nd problem was actually a matter of capital vs small
letter. The correct response from the cmd script from windows regarding the
logical disks is "Ok" not "OK". So within this section
"REM Extract the status of each logical volume
REM -----------------------------------------"
I changed these to "Ok"
IF NOT "!_log_result!"=="Ok" SET _status=red
IF NOT "!_log_result!"=="Ok" SET _message="At least one logical volume is
in a failure state."
SET _ministatus=green
IF NOT "!_log_result!"=="Ok" SET _ministatus=red
So, now remains point 1 as it will not load the cmd script. It is supposed
to execute on a 5 min interval (for testing purposes).
I'll dig.
Please, if anyone can help, I would be grateful. Thank you
On Fri, Jul 19, 2013 at 2:58 PM, Gonzalez Peto <jkokino at gmail.com> wrote:
> I forgot to add:
>
> On the server side, I have xymon 4.2.3 and I just added
> "# raid" after the hostname entry I want to monitor in bb-hosts
>
>
>
> On Fri, Jul 19, 2013 at 2:57 PM, Gonzalez Peto <jkokino at gmail.com> wrote:
>
>> Hello
>>
>> I read many posts about raid, hp raid and etc.
>> http://lists.xymon.com/archive/2010-February/027413.html
>>
>> This pages says CheckHpRaid 1.1.4:
>> http://developer.sysco.ch/hobbit/
>> http://developer.sysco.ch/hobbit/CheckHpRaid.cmd
>> When I open it, it is 1.1.3
>>
>> I found 1.1.4 @ http://xymonton.org/ and works well however I dont know
>> how to completely make it automatic
>>
>> Few issues:
>> 1. It seems that the cmd file will not be leaded automatically. If I
>> execute it manually, then all is ok, and the xymon server
>> receives this info. Then it will not receive more automatically.
>> I placed the cmd file in C:\Program Files\BBWin\ext\
>> I also tried by placing the cmd file in the root folder
>> I edited the the BBWIN.cfg file
>> <load value="cmd /c C:\CheckHpRaid_1.1.4.cmd" timer="5m"/>
>> or
>> <load value="cmd /c CheckHpRaid_1.1.4.cmd" timer="5m"/>
>>
>> I took cmd /c from the bbwin manual chm file which comes with 0.12 version
>>
>> 2. Second problem is that the logical disk is reported ok and all
>> individual physical disk are ok, and yet I get color red for the logical
>> disk. :)
>> I am still trying to figure the source code where the if cases and
>> statuses are wrong?
>> And of course it says "At least one logical volume is in a failure
>> state."
>>
>> Is anyone able to help? Specially the first question - point 1. The
>> other one I think I will figure it out sooner or later.
>>
>>
>> Thank you
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130719/a6c816f3/attachment.html>
More information about the Xymon
mailing list