Dependancy question
list Tom Diehl
Hi, I am having a problem getting dependencies working. According to the bb-hosts man page I should be able to do something like the following: depends=(conn:cr-sw-510-01/conn) If I understand the man page correctly the above should say that for the current host the connection service depends on being able to connect to the cr-sw-510-01. IOW we should be able to ping the cr-sw-510-01 device. The problem is that if I do the above, I still get the connections turning red and as a result all of the alerts that go with it. Can someone please tell me what I am missing? Regards, -- Tom Diehl user-6203f2c4f8ec@xymon.invalid Spamtrap address user-0545b31a2bcf@xymon.invalid
list Rich Smrcina
Tom, Unfortunately the depends directive isn't functioning as documented. Take a look at the router directive instead. It isn't quite as flexible, but should work in your case.
▸
Tom Diehl wrote:Hi, I am having a problem getting dependencies working. According to the bb-hosts man page I should be able to do something like the following: depends=(conn:cr-sw-510-01/conn) If I understand the man page correctly the above should say that for the current host the connection service depends on being able to connect to the cr-sw-510-01. IOW we should be able to ping the cr-sw-510-01 device. The problem is that if I do the above, I still get the connections turning red and as a result all of the alerts that go with it. Can someone please tell me what I am missing? Regards,
--
Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
list Tom Diehl
▸
On Mon, 28 May 2007, Rich Smrcina wrote:
Tom, Unfortunately the depends directive isn't functioning as documented. Take a look at the router directive instead. It isn't quite as flexible, but should work in your case.
Thanks for the info. I will have a look at the router statment. Do you have any idea just how broken dependancies are? IOW: are they worth trying to config for other services? I would really like to have working dependancies but I want to avoid wasting time. :-) Regards, -- Tom Diehl user-6203f2c4f8ec@xymon.invalid Spamtrap address user-0545b31a2bcf@xymon.invalid
list Rich Smrcina
Check the archive for this list, a number of people have commented on this issue and have come to the conclusion that it is quite broken. The 'best practice' at this point is to use the router directive.
▸
Tom Diehl wrote:On Mon, 28 May 2007, Rich Smrcina wrote:Tom, Unfortunately the depends directive isn't functioning as documented. Take a look at the router directive instead. It isn't quite as flexible, but should work in your case.Thanks for the info. I will have a look at the router statment. Do you have any idea just how broken dependancies are? IOW: are they worth trying to config for other services? I would really like to have working dependancies but I want to avoid wasting time. :-) Regards,
-- Rich Smrcina VM Assist, Inc. Phone: XXX-XXX-XXXX Ans Service: XXX-XXX-XXXX user-61add9955ef9@xymon.invalid Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008