[hobbit] How do I clone maintenance mode record ?
T.J. Yang
tj_yang at hotmail.com
Fri Jul 10 15:19:22 CEST 2009
----------------------------------------
> From: davidp at electronf.com
> To: hobbit at hswn.dk
> Date: Fri, 10 Jul 2009 18:58:37 +1000
> Subject: RE: [hobbit] How do I clone maintenance mode record ?
>
> I have a script that sync enabled and disabled between a primary and DR
> hobbit server if you are interested.
In Ralph Mitchell (ralphmitchell at gmail.com)
reply email,
There are getblue.sh and putblue.sh to do the collecting on primary and populating on DR/standby hobbit server.
I tired it but I found the putblue.sh is not working. I still can't see the same list of maintenance hosts between the twos, even the get and put blue shell ran sucessfully.
This may caused by lacking of running bbpage alert module on DR/Secondary module. Is your DR hobbit server has alert module disabled and your script still works ?
Would you mind to send to the list or send it to my email account ? I like to learn how you did it.
tj
> -----Original Message-----
> From: Dominique Frise [mailto:dominique.frise at unil.ch]
> Sent: Friday, 10 July 2009 4:30 PM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] How do I clone maintenance mode record ?
>
> Xymon does not use "data/disabled" dir.
>
> From hobbitlaunch.cfg:
>
> # "bbenadis" updates the files used to indicate that a host or test has
> been enabled or disabled.
> # Unless you are running server side scripts that look at these files,
> you do not need this.
>
> All Xymon status are available by querying the hobbitdboard. See the man
> page of bb(1)
>
>
> Dominique
>
> T.J. Yang wrote:
>>
>>
>> I am rsyncing configuration files from hobbit1( primary) to hobbit2
> (standby) server.
>>
>> But without maintenance mode records of hobbit1 copy over, hobbit2 will
> generate alerts for hosts that had been put into maintenance mode already.
>>
>> Currently I tried to rsync "data/disabled" directory and restart hobbit2
> server but the maintenace web page still show less hosts on hobbit2.
>>
>> Anyone know where is the maintenance records store at beside
> "data/disabled" ?
>>
>>
>> T.J. Yang
>>
>>
>> _________________________________________________________________
>> Insert movie times and more without leaving HotmailR.
>>
> http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutori
> al_QuickAdd_062009
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
_________________________________________________________________
Insert movie times and more without leaving HotmailĀ®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009
More information about the Xymon
mailing list