Dependancy question
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 tdiehl at rogueind.com Spamtrap address mtd123 at rogueind.com
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: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
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 tdiehl at rogueind.com Spamtrap address mtd123 at rogueind.com
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: 414-491-6001 Ans Service: 360-715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2008 - Chattanooga - April 18-22, 2008
participants (2)
-
rsmrcina@wi.rr.com
-
tdiehl@rogueind.com